@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    /* Colors - Deep Blue/Black Corporate Tone */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #06b6d4;
    --accent: #f472b6;
    --background: #0b1120;
    /* Darker, richer background */
    --surface: rgba(30, 41, 59, 0.7);
    --surface-light: rgba(51, 65, 85, 0.5);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --success: #22c55e;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-text: linear-gradient(to right, #6366f1, #06b6d4);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    /* More subtle */

    /* Effects */
    --box-shadow-premium: 0 20px 40px -5px rgba(0, 0, 0, 0.3);

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;
    --section-spacing: 6rem;
    /* Breathing room */

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.7;
    /* Better readability */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    line-height: 1.1;
    /* Tighter headings */
    letter-spacing: -0.02em;
    /* Modern tight look */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(-50%, -50%) translate(0, 0);
    }

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

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

/* Base Components */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    /* Subtle light source */
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-premium);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text .accent {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-text);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.wave {
    animation: wave 2.5s infinite;
    display: inline-block;
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(20deg);
    }

    75% {
        transform: rotate(-15deg);
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    min-height: 2.4rem;
}

.cursor {
    display: inline-block;
    width: 2px;
    background-color: var(--text-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Hero Image & Floating Cards */
.image-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    position: relative;
    padding: 5px;
    /* Border width */
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.3);
}



.profile-inner {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.profile-img {
    width: 100.5%;
    height: 100.5%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.9);
    /* Increased opacity for better legibility */
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    /* Smaller padding */
    border-radius: 50px;
    /* More pill-shaped */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.floating-card i {
    font-size: 1rem;
    /* Smaller icon */
    color: var(--secondary);
}

.floating-card span {
    font-size: 0.85rem;
    /* Smaller text */
    font-weight: 500;
}

.card-1 {
    top: 5%;
    right: 0%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

.card-3 {
    top: 45%;
    right: -10%;
    animation-delay: 4s;
}

@keyframes float {

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

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.stat-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary);
}

.education-timeline {
    margin-top: 2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

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

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

.timeline-dot {
    position: absolute;
    left: -1.95rem;
    /* Adjust based on padding + border */
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.experience-card {
    border-left: 4px solid var(--primary);
}

.experience-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.experience-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.experience-title-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.experience-title-section h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.experience-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.experience-description {
    color: var(--text-secondary);
}

.experience-highlights {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.experience-highlights li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.experience-highlights i {
    color: var(--success);
    margin-top: 0.25rem;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Projects Section */
.projects {
    padding: 5rem 0;
}

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

.project-card {
    padding: 0;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Replaced project-logo-img with premiums icon placeholders */
.project-icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.5s ease;
}

.project-icon-placeholder i {
    font-size: 8rem !important;
    background: linear-gradient(to bottom, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.3));
    /* Soft glow */
    transition: var(--transition);
}

.qr-style {
    background: transparent;
}

.weather-style {
    background: transparent;
}

.project-card:hover .project-icon-placeholder {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Slightly less opaque to show partial color */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
    /* Ensure overlay is on top */
}

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

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

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.project-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.tech-tag {
    font-size: 0.8rem;
    color: var(--accent);
    background: rgba(244, 114, 182, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 4px;
}

.btn-small:hover {
    background: var(--primary);
    color: white;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
}

.skill-category {
    margin-bottom: 2rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.skill-icon {
    font-size: 2.5rem;
}

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

/* Certifications Section */
.certifications {
    padding: 5rem 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cert-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.cert-icon {
    min-width: 50px;
    height: 50px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cert-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.cert-issuer {
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cert-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.cert-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

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

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-card a:hover {
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b1120;
}

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

.footer-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-text i {
    color: var(--accent);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* --- Imported Responsive Styles & Fixes --- */

/* Tablet and below */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }

    .greeting,
    .hero-buttons,
    .social-links,
    .section-header {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem;
        transition: 0.3s ease;
        text-align: center;
    }

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

    .hamburger {
        display: flex;
    }

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

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

    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .contact-info {
        flex-direction: column;
    }

    .profile-circle {
        width: 280px;
        height: 280px;
    }

    .profile-inner {
        font-size: 6rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .floating-card {
        display: none;
    }

    /* Hide floating items on small screens */
}

/* --- Project Logos & Specific Overrides --- */
.skill-icon.react i {
    color: #61DAFB !important;
}

.skill-icon.flutter i {
    color: #42A5F5 !important;
}

.stat-item .stat-icon i.fa-linkedin-in {
    color: #0077b5;
}

.skill-icon.css i {
    color: #1572B6 !important;
}

.skill-icon.js i {
    color: #F7DF1E !important;
}

.skill-icon.vscode i {
    color: #007ACC !important;
}

.skill-icon.git i {
    color: #F05032 !important;
}

.skill-icon.github i {
    color: #ffffff !important;
}

.skill-icon.react i {
    color: #61DAFB !important;
}

.skill-icon.flutter i {
    color: #54C5F8 !important;
}

.skill-icon.numpy i {
    color: #4DABCF !important;
}

.skill-icon.pandas i {
    color: #130654 !important;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
}

.skill-icon.sklearn i {
    color: #F7931E !important;
}

/* Restored & Perfected Python/Java Gradients */
.skill-icon.python i {
    background: linear-gradient(135deg, #306998 0%, #306998 50%, #FFD43B 50%, #FFD43B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-icon.java i {
    background: linear-gradient(to bottom, #E76F00 50%, #5382a1 50%);
    /* Adjusted keyframes for better Steam/Cup split */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}