/* ===== Professional Portfolio with Beauty Design ===== */
:root {
    --primary: #2d3436;
    --primary-light: #636e72;
    --accent: #0984e3;
    --accent-light: #74b9ff;
    --light: #f5f6fa;
    --dark: #2d3436;
    --success: #00b894;
    --warning: #fdcb6e;
    --code-bg: #2d3436;
    --border: #dfe6e9;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #1b0986c2 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.highlight {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.brand-subtitle {
    background: var(--gradient-2);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.btn-admin {
    background: var(--gradient-2);
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section with Background */
.hero {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-role {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
}

.btn-link {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.875rem;
}

/* Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* ===== Profile Section Styles ===== */

/* Profile Card Container */
.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Profile Image Container */
.profile-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    background: var(--gradient-3);
}

/* Actual Profile Image */
.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-image-container:hover .profile-image {
    transform: scale(1.1);
}

/* Fallback for missing image */
.profile-image-container::after {
    content: '\f007'; /* Font Awesome user icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    background: var(--gradient-3);
    opacity: 0;
    transition: opacity 0.3s;
}

.profile-image-container:has(.profile-image[src=""])::after,
.profile-image-container:has(.profile-image:not([src]))::after,
.profile-image-container:not(:has(.profile-image))::after {
    opacity: 1;
}

/* Profile Information */
.profile-info h3 {
    margin-bottom: 25px;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    text-align: left;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-detail:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-detail i {
    color: var(--accent-light);
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

.profile-detail span {
    font-size: 1rem;
    line-height: 1.5;
    flex: 1;
    font-weight: 500;
}

/* Profile Statistics */
.profile-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    gap: 10px;
}

.stat {
    text-align: center;
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--accent-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .profile-card {
        max-width: 350px;
        padding: 25px;
    }
    
    .profile-image-container {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .profile-card {
        max-width: 320px;
        padding: 20px;
    }
    
    .profile-image-container {
        width: 130px;
        height: 130px;
        border-width: 3px;
    }
    
    .profile-info h3 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .profile-detail {
        padding: 12px;
        margin-bottom: 12px;
        gap: 12px;
    }
    
    .profile-detail i {
        font-size: 1.1rem;
    }
    
    .profile-detail span {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .profile-card {
        max-width: 300px;
        padding: 18px;
    }
    
    .profile-image-container {
        width: 120px;
        height: 120px;
    }
    
    .profile-info h3 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .profile-detail {
        padding: 10px;
        margin-bottom: 10px;
        gap: 10px;
    }
    
    .profile-detail span {
        font-size: 0.9rem;
    }
    
    .profile-stats {
        margin-top: 25px;
        padding-top: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .profile-card {
        max-width: 280px;
        padding: 15px;
    }
    
    .profile-image-container {
        width: 110px;
        height: 110px;
        border-width: 2px;
    }
    
    .profile-info h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .profile-detail {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .profile-detail i {
        font-size: 1rem;
    }
    
    .profile-detail span {
        font-size: 0.85rem;
    }
    
    .profile-stats {
        margin-top: 20px;
        padding-top: 15px;
    }
    
    .stat {
        padding: 8px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

/* Animation for profile card entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Hover effects for better interactivity */
.profile-image-container {
    transition: all 0.3s ease;
}

.profile-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Gradient border effect */
.profile-image-container::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.3), 
        rgba(118, 75, 162, 0.3), 
        rgba(240, 147, 251, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-image-container:hover::before {
    opacity: 1;
}
/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.bg-light {
    background: var(--light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--primary-light);
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 4px solid;
    transition: transform 0.3s;
}

.skill-category:hover {
    transform: translateY(-10px);
}

.skill-category:nth-child(1) { border-color: #667eea; }
.skill-category:nth-child(2) { border-color: #764ba2; }
.skill-category:nth-child(3) { border-color: #f093fb; }
.skill-category:nth-child(4) { border-color: #f5576c; }
.skill-category:nth-child(5) { border-color: #4facfe; }
.skill-category:nth-child(6) { border-color: #00f2fe; }

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.skill-category i {
    font-size: 1.5rem;
}

.skill-list {
    list-style: none;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.skill-item:last-child {
    border-bottom: none;
}

.skill-name {
    font-weight: 500;
}

.skill-level {
    color: var(--accent);
    font-weight: 600;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-header {
    background: var(--gradient-1);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 120px;
}

.project-header i {
    font-size: 2rem;
}

.project-body {
    padding: 1.5rem;
}

.project-body h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.project-body p {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--light);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.project-links a:hover {
    color: var(--primary);
}

/* Certificates Tabs */
.certificates-tabs {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tabs-header {
    display: flex;
    background: var(--gradient-1);
    padding: 0;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    position: relative;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
}

.tabs-content {
    padding: 2rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.certificate-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-left: 4px solid var(--accent);
    transition: transform 0.3s;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
}

.cert-info h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 1rem;
}

.cert-issuer {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cert-date {
    color: var(--primary-light);
    font-size: 0.75rem;
}

/* Slideshow */
.slideshow {
    padding: 100px 0;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
}

.swiper-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.swiper-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.swiper-slide h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.swiper-slide p {
    opacity: 0.9;
}

.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.5rem;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 4px;
    min-width: 24px;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.contact-item p {
    color: var(--primary-light);
}

.cv-preview {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.cv-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cv-card i {
    font-size: 2rem;
    color: var(--accent);
}

.cv-card h5 {
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.cv-card p {
    color: var(--primary-light);
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-brand .brand {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.admin-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-note {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-detail {
        justify-content: center;
    }
    
    .swiper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .swiper {
        height: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Add these styles to your existing style.css */

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    transform: translateY(-50px);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background: var(--gradient-1);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: white;
    font-size: 1.5rem;
    -webkit-text-fill-color: white;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: 60vh;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: var(--light);
}

.modal-close-btn {
    background: transparent;
    border: 1px solid var(--primary-light);
    color: var(--primary-light);
}

.modal-close-btn:hover {
    background: var(--primary-light);
    color: white;
}

/* CV Preview Content */
.cv-preview-content {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
}

.cv-preview-content .cv-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border);
}

.cv-preview-content h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cv-preview-content .cv-title {
    color: var(--primary-light);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.cv-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.cv-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
}

.cv-contact-item i {
    color: var(--accent);
}

.cv-section {
    margin-bottom: 2rem;
}

.cv-section h2 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cv-section p {
    line-height: 1.6;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.cv-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.cv-skill-category {
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.cv-skill-category h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cv-skill-list {
    list-style: none;
    padding: 0;
}

.cv-skill-list li {
    padding: 0.25rem 0;
    color: var(--primary-light);
    border-bottom: 1px dashed var(--border);
}

.cv-skill-list li:last-child {
    border-bottom: none;
}

.cv-project {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.cv-project h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cv-project p {
    margin-bottom: 0.5rem;
}

.cv-certificate-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.cv-certificate {
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
}

.cv-certificate h3 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.cv-certificate p {
    color: var(--primary-light);
    font-size: 0.875rem;
    margin: 0;
}

/* CV Action Buttons */
.cv-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.cv-actions h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 95vh;
    }
    
    .modal-body {
        max-height: 70vh;
    }
    
    .cv-skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-certificate-list {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

/* Add to existing styles */
.btn-link {
    background: none;
    border: none;
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 0;
}

.btn-link:hover {
    text-decoration: underline;
}

#view-cv-btn, #view-cv-btn-2, #download-cv-btn, #download-cv-btn-2 {
    cursor: pointer;
}