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

:root {
    --primary-color: #00f2fe;
    --secondary-color: #4facfe;
    --accent-color: #0ef;
    --text-color: #ffffff;
    --light-text: #b3b3b3;
    --background: #0a1120;
    --card-bg: rgba(15, 23, 42, 0.6);
    --section-bg: #0f172a;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-1: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --gradient-2: linear-gradient(135deg, #0ef 0%, #4facfe 100%);
    --gradient-3: linear-gradient(-45deg, #00f2fe 0%, #0ef 100%);
    --neon-shadow: 0 0 20px rgba(0, 239, 255, 0.5);
    --glass-bg: rgba(15, 23, 42, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #202039;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Navigation with glass effect */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 17, 32, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(10, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: large;
}

.logo a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.red-letters {
    color: #ff0000;
}

.logo a::first-letter {
    color: #ff0000;
}

.logo a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 239, 255, 0.5);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 0 10%;
    background: var(--background);
    position: relative;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0%;
    margin-top: -100px; /* Adjust this value as needed to move the text up */
}

.hero h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    margin-top: 250px; /* Adjust this value as needed */
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero p {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom:0rem;
    color: var(--text-color);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.typing {
    color: var(--primary-color);
    border-right: 3px solid var(--primary-color);
    padding-right: 5px;
    animation: blink 0.75s step-end infinite;
    font-size: 1.8rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
    justify-content: flex-start;
    align-items: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 2.5px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--background);
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--primary-color);
    border-color: transparent;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.social-icon:hover::before {
    transform: scale(1.2);
    opacity: 0.5;
}

.social-icon i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-icon:hover i {
    transform: scale(1.1);
    color: var(--background);
}

.download-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--primary-color);
    color: var(--background);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.8s forwards;
}

.download-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 239, 255, 0.4);
}

/* Hero Illustrations */
.hero-illustrations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    animation-delay: 1s;
}

.shape-3 {
    bottom: 20%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
}

.code-window {
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 300px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideIn 1s ease-out 0.8s backwards;
}

.code-header {
    display: flex;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.code-content {
    padding: 1rem;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #a6e22e;
}

/* Sections */
section {
    padding: 5rem 2rem;
    position: relative;
    background: #23233a !important;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    width: 100%;
    display: block;
}

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

/* Add subtle gradient overlays to sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(0, 242, 254, 0.05) 0%,
        rgba(79, 172, 254, 0.05) 50%,
        transparent 100%);
    pointer-events: none;
}

/* About Section */
.about {
    background: #23233a !important;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236366f1' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--light-text);
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.stat:hover::before {
    opacity: 0.1;
}

.stat > * {
    position: relative;
    z-index: 1;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* About Illustration */
.about-illustration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    opacity: 0.8;
}

.developer-illustration {
    width: 100%;
    height: 100%;
}

.head {
    animation: pulse 2s ease-in-out infinite;
}

.body {
    animation: float 6s ease-in-out infinite;
}

.code-symbol {
    animation: rotate 10s linear infinite;
}

.code-path {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: draw 3s ease-in-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Projects Section */
.projects {
    background: #23233a !important;
    padding: 5rem 2rem;
    position: relative;
    text-align: center;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(112, 0, 255, 0.1) 0%,
        rgba(0, 255, 163, 0.1) 50%,
        transparent 100%);
    opacity: 0.5;
    filter: blur(100px);
}

.project-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    min-height: 480px;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-shadow);
    border-color: var(--accent-color);
}

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

.project-image {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  margin-bottom: 18px;
  background: #23233a;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}

.project-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: var(--glass-bg);
    color: var(--accent-color);
    border: 1px solid rgba(0, 239, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.project-card:hover .tech-tag {
    background: var(--accent-color);
    color: var(--background);
}

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

.project-description {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid rgba(0, 239, 255, 0.2);
}

.project-link:hover {
    background: var(--gradient-1);
    color: var(--background);
    box-shadow: 0 0 15px rgba(0, 239, 255, 0.3);
}

/* Skills Section */
.skills {
    background: #23233a !important;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
        rgba(99, 102, 241, 0.1) 0%,
        rgba(0, 242, 254, 0.1) 50%,
        transparent 100%);
    filter: blur(100px);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Tables Section */
.skills-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-table {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
    border-color: rgba(0, 242, 254, 0.3);
}

.skill-table h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.skill-table h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.skill-table:hover h3::after {
    width: 60px;
}

.skill-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.skill-table th {
    text-align: left;
    padding: 1rem;
    color: var(--text-color);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.skill-table td {
    padding: 1rem;
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}

.skill-table tr:hover td {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.skill-table tr td:first-child {
    border-radius: 8px 0 0 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.skill-table tr td:last-child {
    border-radius: 0 8px 8px 0;
    width: 150px;
}

.table-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.table-progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress);
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    border-radius: 3px;
    animation: slideIn 1.5s ease forwards;
    transform-origin: left;
}

.table-progress[data-level="90"]::before { --progress: 90%; }
.table-progress[data-level="85"]::before { --progress: 85%; }
.table-progress[data-level="80"]::before { --progress: 80%; }

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-tables {
        grid-template-columns: 1fr;
    }
    
    .skill-table {
        overflow-x: auto;
    }
    
    .skill-table table {
        min-width: 500px;
    }
}

/* Animation for table rows */
.skill-table tr {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease forwards;
}

.skill-table tr:nth-child(1) { animation-delay: 0.1s; }
.skill-table tr:nth-child(2) { animation-delay: 0.2s; }
.skill-table tr:nth-child(3) { animation-delay: 0.3s; }
.skill-table tr:nth-child(4) { animation-delay: 0.4s; }

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

/* Skills Illustration */
.skills-illustration {
    width: 100%;
    height: 400px;
}

.skills-svg {
    width: 100%;
    height: 100%;
}

.orbit {
    animation: rotate 20s linear infinite;
}

.orbit-2 {
    animation-duration: 15s;
    animation-direction: reverse;
}

.orbit-3 {
    animation-duration: 10s;
}

.planet {
    animation: pulse 3s ease-in-out infinite;
}

.planet-2 {
    animation-delay: 1s;
}

.planet-3 {
    animation-delay: 2s;
}

/* Contact Section */
.contact {
    background: #23233a !important;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: var(--gradient-3);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Contact Illustration */
.contact-illustration {
    margin-top: 2rem;
}

.contact-svg {
    width: 100%;
    height: 200px;
}

.mail-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: draw 3s ease-in-out forwards;
}

.mail-body {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw 3s ease-in-out 0.5s forwards;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    color: var(--text-color);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--light-text);
}

/* Footer */
footer {
    background: var(--section-bg);
    border-top: var(--glass-border);
    color: white;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(10deg);
    color: var(--accent-color);
}

footer p {
    position: relative;
    z-index: 1;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

/* Selection Color */
::selection {
    background: var(--accent-color);
    color: var(--background);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .hero h2 {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .code-window {
        display: none;
    }
    
    .about-illustration,
    .skills-illustration {
        display: none;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        margin: 0 1rem;
    }
}

/* Update form button */
.contact-form button {
    background: var(--gradient-1);
    color: var(--background);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background: var(--gradient-2);
    transform: translateY(-3px);
    box-shadow: var(--neon-shadow);
}

/* Add glow effect to form inputs on focus */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

/* Projects Section */
.projects .section-title {
    margin: 0 auto 3rem auto;
    position: relative;
    display: inline-block;
    transform: none;
    left: auto;
}

.typing {
    color: var(--primary-color);
    border-right: 2px solid var(--primary-color);
    padding-right: 5px;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent }
    50% { border-color: var(--primary-color); }
} 

.profile-image-hero-wrapper {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.profile-image-glow {
  position: absolute;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.25) 60%, transparent 100%);
  box-shadow: 0 0 100px 20px #00cfff, 0 0 200px 80px rgba(0, 207, 255, 0.15);
  z-index: 1;
}

.profile-image-hero {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 8px solid #23233a;
  background: transparent;
  box-shadow: 0 0 60px 0 rgba(0, 207, 255, 0.15);
}

@media (max-width: 900px) {
  .profile-image-hero-wrapper {
    position: static;
    transform: none;
    margin: 2rem auto 0 auto;
    width: 220px;
    height: 220px;
  }
  .profile-image-glow {
    width: 200px;
    height: 200px;
  }
  .profile-image-hero {
    width: 150px;
    height: 150px;
  }
}

.hero-image-wrapper {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.hero-image-bg {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  z-index: 1;
}
.hero-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00f2fe;
  z-index: 2;
  box-shadow: 0 0 30px rgba(0,242,254,0.2);
} 

.hero-image-rect-wrapper {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 8px 40px 0 rgba(0,0,0,0.6);
}

.hero-image-rect {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  filter: brightness(0.85) contrast(1.1) saturate(1.1);
  transition: filter 0.3s;
  z-index: 1;
}

.hero-image-rect-overlay {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  border-radius: 32px;
  background: linear-gradient(90deg, rgba(10,17,32,0.85) 0%, rgba(10,17,32,0.2) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
} 

.hero-image-organic-wrapper {
  position: absolute;
  right: 3%; /* Move closer to the edge if needed */
  top: 50%;
  transform: translateY(-50%);
  width: 540px;   /* Increased from 420px */
  height: 540px;  /* Increased from 420px */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.25));
  overflow: visible;
}

.hero-image-organic {
  width: 540px;
  height: 540px;
  object-fit: cover;
  clip-path: ellipse(48% 44% at 52% 50%);
  transition: filter 0.3s;
  background: none;
  border: none;
  box-shadow: 0 0 60px 0 rgba(0,242,254,0.10);
  object-position: center 20%; /* Lower the percentage to move your face further down */
} 

.project-vertical-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin: 0 auto;
  max-width: 400px;
}

.project-card {
  width: 100%;
  background: var(--card-bg, rgba(15, 23, 42, 0.6));
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
}

.project-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.project-card h3 {
  margin: 0.5rem 0;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
} 

.project-horizontal-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.project-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--card-bg, rgba(15, 23, 42, 0.6));
  border-radius: 20px;
  padding: 2rem 2rem 1.5rem 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-card:not(:last-child) {
  /* Optional: add a border or margin between cards */
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0,239,255,0.15);
  z-index: 2;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-color, #fff);
  font-weight: 700;
}

.project-card .tech-stack {
  font-size: 1rem;
  color: var(--accent-color, #0ef);
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 1rem;
  color: var(--light-text, #b3b3b3);
  margin-bottom: 0.5rem;
}

.project-card .ongoing {
  color: #ff9800;
  font-weight: bold;
  font-size: 1rem;
  margin-left: 0.5rem;
}

.project-links {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.btn.small {
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  background: var(--primary-color, #00f2fe);
  color: var(--background, #0a1120);
  border: none;
  font-weight: 600;
}

.btn.small:hover {
  opacity: 0.9;
  transform: translateY(-2px);
} 

.project-img-random {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18% 82% 70% 30% / 30% 40% 60% 70%; /* Random organic shape */
  margin-bottom: 1rem;
  transition: box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(0,242,254,0.10);
} 

@media (max-width: 900px) {
  .project-horizontal-list {
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
  }
  .project-card {
    padding: 1.5rem 1rem;
    text-align: left;
  }
} 

.project-links {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.btn.small {
  pointer-events: auto;
  z-index: 11;
} 

.project-card:hover {
  pointer-events: none;
} 

.skills-modern-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin: 2rem auto 0 auto;
  max-width: 1100px;
  width: 100%;
}

.skill-category-modern {
  background: rgba(15, 23, 42, 0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,242,254,0.07);
  padding: 1.7rem 1.5rem 1.3rem 1.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 200, 0, 0.13);
}

.skill-category-modern:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(255,200,0,0.15);
}

.skill-category-modern h3 {
  font-size: 1.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.skill-category-modern h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  border-radius: 2px;
  margin-top: 6px;
  position: absolute;
  left: 0;
  bottom: -8px;
}

.skill-category-modern ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-category-modern li {
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  color: #181820;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.4em 1.2em;
  margin-bottom: 0.3em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
  cursor: default;
}

.skill-category-modern li:hover {
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  color: #23233a;
  transform: scale(1.07);
}

@media (max-width: 900px) {
  .skills-modern-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 95vw;
  }
  .skill-category-modern {
    width: 100%;
    max-width: 100%;
  }
} 

.skills-glass-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2.5rem auto 0 auto;
  max-width: 1200px;
  width: 100%;
  padding-bottom: 2rem;
}

.skill-glass-card {
  background: rgba(30, 41, 59, 0.55);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 rgba(0,242,254,0.10);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0,242,254,0.13);
  padding: 1.7rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
  position: relative;
  min-height: 210px;
}

.skill-glass-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 40px 0 rgba(0,239,255,0.18);
  border: 1.5px solid var(--accent-color, #0ef);
}

.skill-icon {
  font-size: 1.6rem;
  color: var(--accent-color, #0ef);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.skill-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color, #0ef);
  margin-bottom: 0.7rem;
  display: block;
}

.skill-glass-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-glass-card li {
  color: var(--text-color, #fff);
  font-size: 1rem;
  margin-bottom: 0.3rem;
  line-height: 1.6;
  word-break: break-word;
}

@media (max-width: 900px) {
  .skills-glass-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 95vw;
  }
  .skill-glass-card {
    width: 100%;
    max-width: 100%;
  }
} 

.skills {
  position: relative;
  overflow: hidden;
}
.skills::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 140%;
  background: radial-gradient(circle at 60% 40%, #00f2fe33 0%, #0a1120 100%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}
.skills > * {
  position: relative;
  z-index: 1;
} 

.skills-badge-list {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  margin: 2.5rem auto 0 auto;
  max-width: 900px;
  width: 100%;
}

.skill-badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 0.7rem;
  margin-bottom: 0.2rem;
}

.skill-badge-title {
  font-weight: 600;
  color: var(--accent-color, #0ef);
  margin-right: 1.2rem;
  font-size: 1.08rem;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skill-badge {
  display: inline-block;
  padding: 0.32em 1.1em;
  border-radius: 1.2em;
  font-size: 0.98rem;
  font-weight: 500;
  background: #222b3a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
  letter-spacing: 0.02em;
  border: none;
  margin-right: 0.1em;
  margin-bottom: 0.1em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  user-select: none;
}

.skill-badge:hover {
  background: var(--accent-color, #0ef);
  color: #0a1120;
  transform: scale(1.07);
}

/* Custom colors for each skill */
.skill-badge.java { background: #3572A5; }
.skill-badge.python { background: #3776AB; }
.skill-badge.js { background: #f7df1e; color: #222; }
.skill-badge.c { background: #00599C; }
.skill-badge.php { background: #777bb4; }

.skill-badge.html { background: #e44d26; }
.skill-badge.css { background: #264de4; }
.skill-badge.react { background: #61dafb; color: #222; }
.skill-badge.bootstrap { background: #563d7c; }
.skill-badge.node { background: #3c873a; }
.skill-badge.flask { background: #000; }
.skill-badge.dotnet { background: #6c63ff; }

.skill-badge.mysql { background: #00758f; }
.skill-badge.mongo { background: #4db33d; }
.skill-badge.sqlserver { background: #b52e31; }

.skill-badge.git { background: #f34f29; }
.skill-badge.github { background: #24292e; }
.skill-badge.postman { background: #ff6c37; }
.skill-badge.vscode { background: #007acc; }

.skill-badge.aws { background: #232f3e; }
.skill-badge.azure { background: #007fff; }

.skill-badge.servicenow { background: #1abc9c; }
.skill-badge.itsm { background: #16a085; }
.skill-badge.restapi { background: #34495e; }
.skill-badge.glidescript { background: #444; }

@media (max-width: 700px) {
  .skills-badge-list {
    max-width: 98vw;
    padding: 0 0.5rem;
  }
  .skill-badge-title {
    min-width: 100px;
    font-size: 1rem;
  }
  .skill-badge {
    font-size: 0.93rem;
    padding: 0.28em 0.9em;
  }
} 

.skills-badge-table-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.skills-badge-table {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 850px;   /* Set a max width for the whole section */
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.skill-badge-row {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.skill-badge-label {
  min-width: 170px;
  font-weight: 600;
  color: var(--accent-color, #0ef);
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.skill-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
}

.skill-badge {
  display: inline-block;
  padding: 0.32em 1.1em;
  border-radius: 1.2em;
  font-size: 0.98rem;
  font-weight: 500;
  background: #222b3a;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
  letter-spacing: 0.02em;
  border: none;
  margin-bottom: 0.1em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  user-select: none;
}

.skill-badge:hover {
  background: var(--accent-color, #0ef);
  color: #0a1120;
  transform: scale(1.07);
}

@media (max-width: 900px) {
  .skills-badge-table {
    max-width: 98vw;
    padding: 0 0.5rem;
  }
  .skill-badge-label {
    min-width: 110px;
    font-size: 1rem;
  }
  .skill-badge {
    font-size: 0.93rem;
    padding: 0.28em 0.9em;
  }
} 

.skills-circles-category {
  margin: 2.5rem auto 2rem auto;
  max-width: 900px;
  text-align: center;
}

.skills-circles-heading {
  font-size: 1.4rem;
  color: var(--accent-color, #0ef);
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.skills-circles-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.skill-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #232b3a 60%, #0ef 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(0,242,254,0.10);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  cursor: default;
  position: relative;
  letter-spacing: 0.5px;
  border: 2.5px solid rgba(0,242,254,0.18);
  user-select: none;
}

.skill-circle:hover {
  transform: scale(1.12) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(0,239,255,0.18);
  background: linear-gradient(135deg, #0ef 60%, #232b3a 100%);
  color: #232b3a;
}

/* Custom colors for each language (optional) */
.skill-circle.java { background: linear-gradient(135deg, #3572A5 60%, #232b3a 100%); }
.skill-circle.python { background: linear-gradient(135deg, #3776AB 60%, #232b3a 100%); }
.skill-circle.js { background: linear-gradient(135deg, #f7df1e 60%, #232b3a 100%); color: #222; }
.skill-circle.c { background: linear-gradient(135deg, #00599C 60%, #232b3a 100%); }
.skill-circle.php { background: linear-gradient(135deg, #777bb4 60%, #232b3a 100%); }

@media (max-width: 900px) {
  .skills-circles-list {
    max-width: 98vw;
    gap: 0.7rem;
  }
  .skill-circle {
    width: 70px;
    height: 70px;
    font-size: 0.95rem;
  }
} 

.skills-bubble-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 2.5rem;
  margin: 2.5rem auto 0 auto;
  max-width: 1200px;
}

.skills-bubble-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
}

.skills-bubble-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-color, #0ef);
  margin-bottom: 1.1rem;
  letter-spacing: 1px;
}

.skills-bubble-circle {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #232b3a 60%, #0ef 100%);
  border-radius: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 24px rgba(0,242,254,0.10);
  position: relative;
  padding: 1.2rem;
}

.bubble-pill {
  display: inline-block;
  padding: 0.32em 1.1em;
  border-radius: 1.2em;
  font-size: 0.98rem;
  font-weight: 500;
  background: #fff;
  color: #232b3a;
  margin: 0.2em;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
  border: none;
  user-select: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.bubble-pill:hover {
  background: var(--accent-color, #0ef);
  color: #fff;
  transform: scale(1.07);
}

/* Custom colors for each skill (optional) */
.bubble-pill.java { background: #3572A5; color: #fff; }
.bubble-pill.python { background: #3776AB; color: #fff; }
.bubble-pill.js { background: #f7df1e; color: #222; }
.bubble-pill.c { background: #00599C; color: #fff; }
.bubble-pill.html { background: #e44d26; color: #fff; }
.bubble-pill.css { background: #264de4; color: #fff; }
.bubble-pill.react { background: #61dafb; color: #222; }
.bubble-pill.flask { background: #000; color: #fff; }
.bubble-pill.git { background: #f34f29; color: #fff; }
.bubble-pill.vscode { background: #007acc; color: #fff; }
.bubble-pill.postman { background: #ff6c37; color: #fff; }
.bubble-pill.mysql { background: #00758f; color: #fff; }
.bubble-pill.mongo { background: #4db33d; color: #fff; }
.bubble-pill.sql { background: #b52e31; color: #fff; }
.bubble-pill.aws { background: #232f3e; color: #fff; }
.bubble-pill.azure { background: #007fff; color: #fff; }
.bubble-pill.servicenow { background: #1abc9c; color: #fff; }
.bubble-pill.itsm { background: #16a085; color: #fff; }
.bubble-pill.restapi { background: #34495e; color: #fff; }
.bubble-pill.glidescript { background: #444; color: #fff; }

@media (max-width: 900px) {
  .skills-bubble-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .skills-bubble-circle {
    width: 170px;
    height: 170px;
    padding: 0.7rem;
  }
  .bubble-pill {
    font-size: 0.92rem;
    padding: 0.22em 0.8em;
  }
} 

.skills-bubble-animation-area {
  position: relative;
  width: 100%;
  min-height: 500px;
  height: 60vh;
  overflow: hidden;
  margin: 0 auto 2rem auto;
  max-width: 1200px;
}

.skill-bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,242,254,0.10);
  user-select: none;
  pointer-events: none;
  animation: float-bubble 12s linear infinite alternate;
  /* Each bubble gets a different animation delay and path */
  animation-delay: calc(var(--i) * -1.5s);
}

.skill-bubble.big {
  width: 140px;
  height: 140px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #232b3a 60%, #0ef 100%);
  z-index: 2;
}

.skill-bubble.small {
  width: 80px;
  height: 80px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #0ef 60%, #232b3a 100%);
  z-index: 1;
}

/* Randomize initial positions for each bubble */
.skill-bubble:nth-child(1) { top: 10%; left: 15%; }
.skill-bubble:nth-child(2) { top: 30%; left: 60%; }
.skill-bubble:nth-child(3) { top: 60%; left: 25%; }
.skill-bubble:nth-child(4) { top: 50%; left: 70%; }
.skill-bubble:nth-child(5) { top: 20%; left: 40%; }
.skill-bubble:nth-child(6) { top: 70%; left: 50%; }
.skill-bubble:nth-child(7) { top: 40%; left: 80%; }
.skill-bubble:nth-child(8) { top: 60%; left: 60%; }
.skill-bubble:nth-child(9) { top: 80%; left: 30%; }
.skill-bubble:nth-child(10) { top: 35%; left: 35%; }
.skill-bubble:nth-child(11) { top: 75%; left: 75%; }
.skill-bubble:nth-child(12) { top: 15%; left: 70%; }
.skill-bubble:nth-child(13) { top: 55%; left: 10%; }
.skill-bubble:nth-child(14) { top: 80%; left: 60%; }
.skill-bubble:nth-child(15) { top: 25%; left: 80%; }
.skill-bubble:nth-child(16) { top: 60%; left: 10%; }
.skill-bubble:nth-child(17) { top: 10%; left: 50%; }

/* Animation for floating effect */
@keyframes float-bubble {
  0%   { transform: translateY(0) scale(1); }
  20%  { transform: translateY(-20px) scale(1.05); }
  40%  { transform: translateY(10px) scale(0.98); }
  60%  { transform: translateY(-15px) scale(1.03); }
  80%  { transform: translateY(15px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
  .skills-bubble-animation-area {
    min-height: 350px;
    height: 45vh;
  }
  .skill-bubble.big { width: 90px; height: 90px; font-size: 1rem; }
  .skill-bubble.small { width: 55px; height: 55px; font-size: 0.8rem; }
} 

.skills-bubble-group-area {
  position: relative;
  width: 100%;
  height: 650px; /* Adjust as needed */
  max-width: 1200px;
  margin: 2.5rem auto 0 auto;
  overflow: hidden;
}

/* Place and size each group based on your red circles */
.skills-bubble-group {
  position: absolute;
  animation: float-bounce 7s ease-in-out infinite alternate;
}

/* Languages - top left, big */
.skills-bubble-group:nth-child(1) {
  left: 2%; top: 1.95%;
  width: 220px; height: 220px;
  animation-delay: 0s;
}

/* web - bottom left, medium */
.skills-bubble-group:nth-child(2) {
  left: 13.5%; top: 42%;
  width: 200px; height: 200px;
  animation-delay: 1.5s;
}

/* devops - center, largest */
.skills-bubble-group:nth-child(3) {
  left: 32%;   /* You may want to adjust left to keep it centered */
  top: 13%;     /* Move up if needed */
  width: 280px;  /* Increase width */
  height: 280px; /* Increase height */
  animation-delay: 3s;
}

/* Databases - top right, medium */
.skills-bubble-group:nth-child(4) {
  left: 62%; top: 3%;
  width: 220px; height: 220px;
  animation-delay: 4.5s;
}

/* cloud - bottom right, medium */
.skills-bubble-group:nth-child(5) {
  left: 81.5%; top: 32%;
  width: 220px; height: 220px;
  animation-delay: 6s;
}

/* platform - bottom center, medium */
.skills-bubble-group:nth-child(6) {
  left: 57%; top: 45%;
  width: 200px; height: 200px;
  animation-delay: 7.5s;
}

/* Main circle fills the group */
.skills-bubble-main {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, #232b3a 60%, #0ef 100%);
  border-radius: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 24px rgba(0,242,254,0.10);
  position: relative;
  padding: 1.2rem;
}

/* Pills: colored, rounded, and animated */
.bubble-skill {
  position: absolute;
  font-size: 0.85rem;        /* Smaller than before */
  font-weight: 600;
  color: #fff;
  border-radius: 1.2em;
  padding: 0.32em 1.1em;
  pointer-events: none;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
  animation: float-skill 7s linear infinite alternate;
  animation-delay: calc(var(--i) * -1.2s);
  z-index: 2;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

/* Custom colors for each skill */
.bubble-skill.java { background: #3572A5; }
.bubble-skill.python { background: #3776AB; }
.bubble-skill.js { background: #f7df1e; color: #222; }
.bubble-skill.c { background: #00599C; }
.bubble-skill.html { background: #e44d26; }
.bubble-skill.css { background: #264de4; }
.bubble-skill.react { background: #61dafb; color: #222; }
.bubble-skill.flask { background: #000; }
.bubble-skill.git { background: #f34f29; }
.bubble-skill.vscode { background: #007acc; }
.bubble-skill.postman { background: #ff6c37; }
.bubble-skill.mysql { background: #00758f; }
.bubble-skill.mongo { background: #4db33d; }
.bubble-skill.sql { background: #b52e31; }
.bubble-skill.aws { background: #232f3e; }
.bubble-skill.azure { background: #007fff; }
.bubble-skill.servicenow { background: #1abc9c; }
.bubble-skill.itsm { background: #16a085; }
.bubble-skill.restapi { background: #34495e; }
.bubble-skill.glidescript { background: #444; }

/* Initial positions for each skill in the circle (tweak as needed) */
.skills-bubble-main .bubble-skill:nth-child(1) { top: 20%; left: 25%; }
.skills-bubble-main .bubble-skill:nth-child(2) { top: 50%; left: 60%; }
.skills-bubble-main .bubble-skill:nth-child(3) { top: 70%; left: 35%; }
.skills-bubble-main .bubble-skill:nth-child(4) { top: 35%; left: 65%; }
.skills-bubble-main .bubble-skill:nth-child(5) { top: 60%; left: 15%; }
/* Add more as needed for each circle */

/* Floating animation (gentle, small range) */
@keyframes float-skill {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-10px, 8px); }
  50%  { transform: translate(8px, -10px); }
  75%  { transform: translate(-8px, 10px); }
  100% { transform: translate(0, 0); }
}

/* Gentle float animation */
@keyframes float-bounce {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(0, -18px) scale(1.04); }
  100% { transform: translate(0, 0) scale(1); }
}

.skills-bubble-group-heading {
  font-size: 1.2rem;         /* Bigger text */
  font-weight: 1000;          /* Extra bold */
  color: #ff2222;            /* Bright red */
  margin-bottom: 0.1rem;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-transform: uppercase;  /* Optional: all caps for more impact */
}

.certificates-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.cert-header {
  background: #09aeea;
  border-radius: 20px;
  padding: 32px 24px;
  margin-bottom: 32px;
  text-align: left;
}

.cert-header h2 {
  margin: 0 0 12px 0;
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
}

.cert-header p {
  margin: 0;
  color: #e0f7fa;
  font-size: 1.1rem;
}

.cert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;              /* Small, even gap between cards */
  max-width: 1100px;      /* Or whatever fits your design */
  margin: 0 auto;         /* Center the grid on the page */
  justify-items: stretch; /* Cards fill their grid cell */
}

.cert-card {
  /* width: 340px; */
  min-width: 0;
  min-height: 570px;
  width: 100%;
  background: #23233a;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  padding: 20px; /* Reduced padding from 24px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s;
}

.cert-card:hover {
  transform: translateY(-8px) scale(1.03);
}

.cert-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #fff;
}

.cert-card h3 {
  color: #09aeea;
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.cert-org {
  color: #b0bec5;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cert-date {
  color: #90caf9;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-tags span {
  background: #09aeea;
  color: #181820;
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.95rem;
  margin-bottom: 4px;
  font-weight: 500;
}

.cert-desc {
  color: #b0bec5;
  font-size: 1rem;
  margin-bottom: 12px;
}

.cert-link {
  display: inline-block;
  margin-top: 10px;
  background: #09aeea;
  color: #181820;
  text-decoration: none;
  font-weight: 700;
  border-radius: 20px;
  padding: 8px 22px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
}
.cert-link:hover {
  background: #00c3d4;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.cert-card.hidden {
  display: none;
}

.show-more-btn {
  display: block;
  margin: 32px auto 0 auto;
  background: #09aeea;
  color: #181820;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 12px 36px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
}
.show-more-btn:hover {
  background: #00c3d4;
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.view-cert-btn {
  display: inline-block;
  position: absolute;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  color: #181820;
  text-decoration: none;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
  margin-top: 0;
}
.view-cert-btn:hover {
  background: linear-gradient(135deg, #ffd200 0%, #ff8800 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.achievements-tree-section {
  position: relative;
  padding: 4rem 0 6rem 0;
  background: #23233a !important;
}

.tree-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  min-height: 700px;
}

.tree-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ffe259 0%, #ffa751 100%);
  transform: translateX(-50%);
  z-index: 0;
}

.tree-node {
  position: relative;
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 140px;
  z-index: 1;
}

.tree-node.right {
  left: 50%;
  justify-content: flex-start;
}

.tree-node.left {
  left: 0;
  justify-content: flex-end;
}

.circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeInUp 0.8s;
}

.circle img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.visit-btn {
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  color: #181820;
  border: none;
  border-radius: 20px;
  padding: 6px 18px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.visit-btn:hover {
  background: linear-gradient(135deg, #ffd200 0%, #ff8800 100%);
  color: #fff;
  transform: scale(1.08);
}

.tree-node.left {
  justify-content: flex-end;
  text-align: right;
}
.tree-node.right {
  justify-content: flex-start;
  text-align: left;
}

.tree-node:not(:last-child) {
  margin-bottom: 60px;
}

@media (max-width: 700px) {
  .tree-container {
    max-width: 98vw;
    min-height: 500px;
  }
  .tree-node, .tree-node.left, .tree-node.right {
    width: 100%;
    justify-content: center;
    left: 0;
    text-align: center;
  }
  .tree-line {
    left: 20px;
  }
}

.tree-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  position: relative;
}

.tree-content {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tree-content.right-content {
  justify-content: flex-start;
}

.tree-box {
  background: #fffbe7;
  border: 2px solid #ffd200;
  color: #b36b00;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 12px;
  min-width: 320px;
  max-width: 500px;
  min-height: 80px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(255, 200, 0, 0.08);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tree-box h3, .tree-box h4, .tree-box p, .tree-box strong {
  text-align: center;
  width: 100%;
}

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

.tree-row {
  display: flex;
  align-items: center;
  min-height: 180px;
  position: relative;
}

.tree-content {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tree-content.right-content {
  justify-content: flex-start;
}

.tree-center {
  position: relative;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tree-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ffe259 0%, #ffa751 100%);
  transform: translateX(-50%);
  z-index: 0;
}

.tree-center.left {
  align-items: flex-end;
}

.tree-center.right {
  align-items: flex-start;
}

.tree-center.left .circle {
  position: relative;
  left: -60px; /* move circle left from center line */
  z-index: 1;
}

.tree-center.right .circle {
  position: relative;
  left: 60px; /* move circle right from center line */
  z-index: 1;
}

.circle.large {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tree-box {
  background: #fffbe7;
  border: 2px solid #ffd200;
  color: #b36b00;
  font-weight: 500;
  font-size: 1.1rem;
  border-radius: 12px;
  min-width: 220px;
  max-width: 340px;
  min-height: 80px;
  padding: 49px 55px;
  box-shadow: 0 2px 8px rgba(255, 200, 0, 0.08);
  margin: 0 24px;
  display:flex;
  flex-direction: column;
  justify-content: center;
}

.tree-vertical-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ffe259 0%, #ffa751 100%);
  transform: translateX(-50%);
  z-index: 0;
}
.tree-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.circle.large {
  width: 180px;
  height: 180px;
  /* ...rest of your styles... */
}

.tree-center.left .circle {
  position: relative;
  left: -125px; /* half of 180px */
  z-index: 1;
}

.tree-center.right .circle {
  position: relative;
  left: 125px; /* half of 180px */
  z-index: 1;
}

.tree-row .left-content .tree-box {
  margin-right: 130px;
  width: 300px;
}

.tree-row .right-content .tree-box {
  margin-left: 130px;
  width: 300px;
}

.circle.large {
  position: relative;
}

.circle.large .visit-btn {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  
}

.tree-box h3 {
  color: #00cfff; /* Bright accent blue */
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.tree-box h4 {
  color: #ff9800; /* Warm orange accent */
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.tree-box strong {
  color: #009688; /* Teal accent for all strong by default */
  font-weight: 700;
}

.tree-box strong:contains('Year'),
.tree-box strong:contains('Duration'),
.tree-box strong:contains('Highlights') {
  color: #00bcd4; /* Blue accent for year/duration/highlights */
}

.tree-box strong:contains('Skills Gained') {
  color: #43a047; /* Green accent for skills gained */
}

.vertical-social-bar {
  position: fixed;
  left: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.vertical-social-bar .social-icon {
  width: 34px;
  height: 34px;
  font-size: 1.0rem;
  margin-bottom: -06px;
}

.vertical-social-bar .vertical-line {
  display: block;
  width: 2px;
  height: 20px;
  background: rgba(0,242,254,0.18); /* semi-transparent blue */
  margin-bottom: 10px;
  border-radius: 1px;
}

.hero .vertical-social-bar {
  /* ...your existing styles... */
}

.hero .vertical-social-bar {
  position: absolute;
  left: 32px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}

.about-btn-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top:40px;
  margin-left: 0;
}

.about-btn {
  padding: 13px 19px;
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  color: #181820;
  font-size: 1.1rem;
  font-weight: 900;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(0,242,254,0.10);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.about-btn:hover {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

.about-info {
  text-align: left;
  color: #b3b3b3;
  font-size: 1.08rem;
  max-width: 900px;
  margin: 12px 0 0 0;
  line-height: 1.6;
  
}

.about-btn-container,
.about-info {
  width: 100%;
  max-width: 1000px; /* or the same as your hero text */
  margin-left: 0;
}

.project-card {
  padding: 12px 12px 18px 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 540px;
}

.project-card h3,
.project-card p,
.project-card .tech-stack {
  text-align: left;
}

.project-card {
  position: relative;
}

.project-links.project-links-bottom {
  position: absolute;
  left: 24px;
  bottom: 18px;
  display: flex;
  justify-content: flex-start;
  width: calc(100% - 24px);
}

.btn.small.visit-btn,
.btn.small.ongoing-btn {
  background: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  color: #181820;
  font-weight: 700;
  border: none;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,242,254,0.07);
  margin-top: 0;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-left: 240px;
}
.btn.small.visit-btn:hover,
.btn.small.ongoing-btn:hover {
  background: linear-gradient(135deg, #ffd200 0%, #ff8800 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.bubble-skill {
  background: #2196f3 !important;
  color: #fff !important;
}

.skills-modern {
  background: linear-gradient(135deg, #23233a 60%, #2b3a5a 100%);
  padding: 5rem 2rem 6rem 2rem;
}

.skills-modern-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem auto 0 auto;
  max-width: 1200px;
  width: 100%;
  justify-items: center;
}

.skill-category-modern {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(0,242,254,0.10);
  padding: 2.2rem 2rem 1.7rem 2rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 200, 0, 0.13);
}

.skill-category-modern:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 12px 40px rgba(255,200,0,0.18);
}

.skill-category-modern h3 {
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 1.1rem;
  display: block;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

.skill-category-modern h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  border-radius: 2px;
  margin: 10px auto 0 auto;
  position: static;
}

.skill-category-modern ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.skill-category-modern li {
  background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
  color: #181820;
  font-size: 1.08rem;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.5em 1.5em;
  margin-bottom: 0.3em;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  box-shadow: 0 2px 12px rgba(0,242,254,0.10);
  cursor: default;
  text-align: center;
}

.skill-category-modern li:hover {
  background: linear-gradient(90deg, #ffe259 0%, #ffa751 100%);
  color: #23233a;
  transform: scale(1.09);
}

@media (max-width: 900px) {
  .skills-modern-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 98vw;
  }
  .skill-category-modern {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
}

.circle.large {
  position: relative;
  overflow: hidden;
}

.achievement-circle-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}

.circle.large span {
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 1.5rem;
  font-weight: bold;
}

.circle.large .visit-btn {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 4px 10px;
  font-size: 1rem;
}

.achievement-image-circle {
  background: url('images/1.png') center 20%/cover no-repeat !important;
}
.achievement-image-circle-2 {
  background: url('images/2.png') center 60%/cover no-repeat !important;
  
}

.achievement-image-circle-3 {
  background: url('images/3.png') center 10%/cover no-repeat !important;
}

.achievement-image-circle-4 {
  background: url('images/4.png') center 45%/cover no-repeat !important;
}
.achievement-image-circle-5 {
  background: url('images/5.png') center 60%/cover no-repeat !important;
}

.footer-info {
  text-align: center;
  color: #b3b3b3;
  font-size: 1rem;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.hero-content {
  opacity: 1;
  transform: translateY(100vh);
  transition: transform 1.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.profile-image-hero-wrapper {
  opacity: 1;
  transform: translateX(100vw);
  transition: transform 1.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  top: 30%;
  right: 12%;
}

body.home-animated .hero-content {
  transform: none;
}
body.home-animated .profile-image-hero-wrapper {
  transform: none;
}

.card-left, .card-right, .card-middle {
  opacity: 0;
}

@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    padding: 0 1rem;
    min-height: 100vh;
  }
  .hero-content {
    margin-top: 40px;
    max-width: 100vw;
    align-items: flex-start;
  }
  .profile-image-hero-wrapper {
    position: static;
    width: 140px;
    height: 140px;
    margin: 1.5rem auto 0 auto;
    right: auto;
    top: auto;
    transform: none;
  }
  .profile-image-glow {
    width: 120px;
    height: 120px;
  }
  .profile-image-hero {
    width: 100px;
    height: 100px;
  }
  .vertical-social-bar {
    left: 10px;
    bottom: 10px;
  }
  .project-horizontal-list {
    flex-direction: column;
    gap: 1rem;
    max-width: 100vw;
  }
  .project-card {
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    padding: 1rem 0.5rem;
    min-height: 350px;
  }
  .tree-box {
    min-width: 0;
    max-width: 95vw;
    width: 100%;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
  }
  .tree-row .left-content .tree-box,
  .tree-row .right-content .tree-box {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .circle.large {
    width: 70px;
    height: 70px;
  }
}