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

:root {
    /* Modern Design System */
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --bg-color: #f8f9fa;
    --text-color: #2d3748;
    --text-light: #718096;
    --card-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(226, 232, 240, 0.8);
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 20px 60px rgba(102, 126, 234, 0.3);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    transition: var(--transition);
    overflow-x: hidden;
}

/* Font Awesome Icon Fix - CRITICAL FOR ICON DISPLAY! */
/* Override any font-family inheritance */
i[class*="fa-"],
i[class^="fa-"],
.fa,
.fas,
.far,
.fal,
.fad,
.fab,
[class^="fa-"],
[class*=" fa-"],
.skill-icon,
.project-link i,
.social-link i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.fa-brands,
.fab,
i.fa-brands,
i.fab,
[class*="fa-brands"] {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.fa-regular,
.far,
i.fa-regular,
i.far {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}

.fa-solid,
.fas,
i.fa-solid,
i.fas,
[class*="fa-solid"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="theme-1"] {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="theme-2"] {
    --primary-color: #f093fb;
    --secondary-color: #f5576c;
    --accent-color: #ff6b9d;
    --gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

[data-theme="theme-3"] {
    --primary-color: #4facfe;
    --secondary-color: #00f2fe;
    --accent-color: #43e97b;
    --gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

[data-theme="theme-4"] {
    --primary-color: #43e97b;
    --secondary-color: #38f9d7;
    --accent-color: #4facfe;
    --gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

[data-theme="theme-5"] {
    --primary-color: #fa709a;
    --secondary-color: #fee140;
    --accent-color: #ff9a9e;
    --gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

[data-theme="theme-6"] {
    --primary-color: #a8edea;
    --secondary-color: #fed6e3;
    --accent-color: #fbc2eb;
    --gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

[data-theme="theme-7"] {
    --primary-color: #ff9a9e;
    --secondary-color: #fecfef;
    --accent-color: #fbc2eb;
    --gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

[data-theme="theme-8"] {
    --primary-color: #a18cd1;
    --secondary-color: #fbc2eb;
    --accent-color: #ff9a9e;
    --gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}

[data-theme="theme-9"] {
    --primary-color: #ffecd2;
    --secondary-color: #fcb69f;
    --accent-color: #ff8a80;
    --gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

[data-theme="theme-10"] {
    --primary-color: #89f7fe;
    --secondary-color: #66a6ff;
    --accent-color: #667eea;
    --gradient: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
}

/* Theme selector removed - theme is managed via admin panel only */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Navigation - Modern Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transition: var(--transition);
}

.logo-img:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.nav-logo h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.08);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Modern & Stunning */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: transparent;
    padding-top: 80px;
    padding-bottom: 60px;
    /* match section gap */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.05;
    filter: blur(100px);
    animation: floatShape 20s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 50px) scale(1.1);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-top: 30px;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--gradient);
    opacity: 0.2;
    z-index: -1;
    animation: highlightExpand 1s ease-out 0.5s both;
}

@keyframes highlightExpand {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 130px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 2px solid rgba(102, 126, 234, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px 40px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 100px rgba(102, 126, 234, 0.1);
    border: 2px solid transparent;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)),
        var(--gradient);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out 0.8s both, floatCard 6s ease-in-out infinite;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(102, 126, 234, 0.1),
            transparent);
    transform: rotate(45deg);
    animation: shimmer 3s linear infinite;
}

.profile-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotateBorder 4s linear infinite;
}

.profile-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 1) inset,
        0 0 150px rgba(240, 147, 251, 0.3);
}

.profile-card:hover::after {
    opacity: 1;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes rotateBorder {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.profile-img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    margin: 0 auto 30px;
    border: 6px solid transparent;
    background: linear-gradient(white, white) padding-box,
        var(--gradient) border-box;
    box-shadow: 0 20px 60px rgba(var(--primary-rgb, 102, 126, 234), 0.4),
        0 0 0 10px rgba(var(--primary-rgb, 102, 126, 234), 0.1),
        0 0 0 20px rgba(var(--primary-rgb, 102, 126, 234), 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}

.profile-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 30px 80px rgba(var(--primary-rgb, 102, 126, 234), 0.5),
        0 0 0 15px rgba(var(--primary-rgb, 102, 126, 234), 0.2),
        0 0 0 30px rgba(var(--primary-rgb, 102, 126, 234), 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.8);
    background: linear-gradient(white, white) padding-box,
        var(--gradient) border-box;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
    }

    50% {
        filter: brightness(1.1) drop-shadow(0 0 40px rgba(240, 147, 251, 0.5));
    }
}

.profile-info h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    animation: gradientText 3s ease infinite;
}

.profile-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

@keyframes gradientText {

    0%,
    100% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(20deg);
    }
}

/* Section Styles - Ultra Modern */
section {
    padding: 60px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 10px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 20px;
}

/* Projects Section */
.projects {
    background: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Responsive grid for tablets */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive grid for mobile */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--card-shadow-hover);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.project-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-type {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-type.freelance {
    background: #e3f2fd;
    color: #1976d2;
}

.job-type.fulltime {
    background: #e8f5e8;
    color: #388e3c;
}

.job-type.internship {
    background: #fff3e0;
    color: #f57c00;
}

/* Experience Section */
.experience {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--gradient);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    padding: 0 20px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
    text-align: right;
}

.experience-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

.role-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.duration {
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 500;
}

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

.responsibilities li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.6;
}

.responsibilities li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Education Section */
.education {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 100px 0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.education-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.education-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.education-content {
    flex: 1;
}

.degree-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.institution-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.education-duration {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.education-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.highlight-tag {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Skills Section */
.skills {
    background: transparent;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: start;
}

.skill-category {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.category-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.category-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.skill-item:hover i {
    color: white;
}

.skill-item span {
    font-weight: 500;
    font-size: 0.9rem;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--section-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.contact-info-card,
.contact-form-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-card h3,
.contact-form-card h3 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-card h3::before {
    content: "📞";
    font-size: 1.2rem;
}

.contact-form-card h3::before {
    content: "✉️";
    font-size: 1.2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    align-items: center;
}

.contact-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item i::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-item strong {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
    line-height: 1.2;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

@media (max-width: 768px) {
    .social-links {
        margin-top: 30px;
        padding-top: 20px;
        gap: 6px;
        flex-wrap: wrap;
        padding-left: 10px;
        padding-right: 10px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        font-size: 0.9rem;
    }
}

.social-link {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: var(--text-color);
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }

    .btn {
        min-width: 120px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    /* Theme selector removed */

    .hamburger {
        display: flex;
    }

    /* Hide name text on mobile - v2 */
    .nav-logo .logo-text {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        text-align: left !important;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skills-list {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 20px;
    }

    .contact-item {
        grid-template-columns: 45px 1fr;
        gap: 15px;
        padding: 15px;
    }

    .contact-item i {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .contact-item strong {
        font-size: 0.9rem;
    }

    .contact-item p {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-card h3,
    .contact-info-card h3 {
        font-size: 1.1rem;
    }

    /* Reverted hero/projects mobile spacing to defaults */

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        min-width: unset;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Reverted hero/projects small-mobile spacing to defaults */

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .contact-form {
        padding: 25px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn {
        max-width: 260px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .education-card {
        padding: 25px 20px;
    }

    .education-card {
        text-align: center;
    }

    .education-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Theme selector removed - theme is managed via admin panel only */