/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    font-display: swap;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
    margin: 5px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00d4ff, #0099cc, #00d4ff);
    background-size: 200% 200%;
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 46, 0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
    animation: scrollbarGlow 3s ease-in-out infinite;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00e6ff, #00b3ff, #00e6ff);
    background-size: 200% 200%;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5);
    animation: scrollbarGlowHover 1.5s ease-in-out infinite;
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #00ccff, #0088cc, #00ccff);
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.7);
}

::-webkit-scrollbar-corner {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 10px;
}

@keyframes scrollbarGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes scrollbarGlowHover {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 6px 25px rgba(0, 212, 255, 0.7);
    }
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #00d4ff rgba(26, 26, 46, 0.8);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    will-change: transform;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d4ff;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #00d4ff;
}

.nav-link.active::after {
    width: 100%;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu:hover .burger-line {
    background: #00d4ff;
}

/* Burger menu animation states */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #00d4ff;
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #00d4ff;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-nav-list li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for mobile menu items */
.mobile-menu.active .mobile-nav-list li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-list li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-list li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-list li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-nav-list li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-list li:nth-child(6) { transition-delay: 0.35s; }

.mobile-nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    display: block;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
    transform: scale(1.05);
}

.mobile-nav-link.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
}

/* Show burger menu on mobile devices */
@media (max-width: 991px) {
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #0066cc);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -20px, 0) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
}

.highlight {
    background: linear-gradient(45deg, #00d4ff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-quote {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(30px);
}

.quote-latin {
    font-size: 1.1rem;
    font-style: italic;
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.quote-translation {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.quote-attribution {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0066cc);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border-color: #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: #00d4ff;
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #00d4ff;
    border-bottom: 2px solid #00d4ff;
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00d4ff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    background: #111111;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #c0c0c0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Timeline Section */
.journey {
    background: #0a0a0a;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #00d4ff 10%, 
        #0066cc 50%, 
        #00d4ff 90%, 
        transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50.2%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50.2%;
    padding-left: 2rem;
}

.timeline-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #c0c0c0;
    margin-bottom: 1rem;
}

.timeline-duration {
    display: inline-block;
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Hobbies Section */
.hobbies {
    background: #111111;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hobby-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    will-change: transform;
}

.hobby-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.hobby-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hobby-icon i {
    font-size: 2.5rem;
    color: #00d4ff;
}

.hobby-card h3 {
    font-size: 1.3rem;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.hobby-card p {
    color: #c0c0c0;
}

/* Contact Section */
.contact {
    background: #0a0a0a;
    text-align: center;
}

.contact-content p {
    font-size: 1.2rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #111111;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer p {
    color: #808080;
}

/* Projects Section */
.projects {
    background: #0a0a0a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-header h3 {
    font-size: 1.4rem;
    color: #00d4ff;
    margin: 0;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.project-card p {
    color: #c0c0c0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.feature::before {
    content: '';
    margin-right: 0;
}

/* Responsive Design - Comprehensive Device Optimization */

/* TV/Large Desktop (1920px+) */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
        padding: 0 4rem;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
    
    .about-content {
        gap: 4rem;
    }
    
    .timeline {
        max-width: 1000px;
    }
    
    section {
        padding: 8rem 0;
    }
}

/* Desktop (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    section {
        padding: 6rem 0;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .timeline {
        max-width: 700px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 50%;
        padding-right: 1.5rem;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50%;
        padding-left: 1.5rem;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 30px;
        width: 2px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            #00d4ff 10%, 
            #0066cc 50%, 
            #00d4ff 90%, 
            transparent 100%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        margin-left: 70px;
        padding: 1.8rem;
        text-align: left;
    }
    

    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .contact-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
}

/* Mobile Large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .nav-menu {
        display: none;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .timeline::before {
        left: 25px;
        width: 2px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            #00d4ff 10%, 
            #0066cc 50%, 
            #00d4ff 90%, 
            transparent 100%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        margin-left: 65px;
        padding: 1.5rem;
        text-align: left;
    }
    

    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 480px) {
    .nav-menu {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-quote {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .timeline::before {
        left: 20px;
        width: 2px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            #00d4ff 10%, 
            #0066cc 50%, 
            #00d4ff 90%, 
            transparent 100%);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        margin-left: 56px;
        padding: 1.2rem;
        text-align: left;
    }
    

    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .hobby-card {
        padding: 1.5rem;
    }
    
    .hobby-icon {
        width: 60px;
        height: 60px;
    }
    
    .hobby-icon i {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .floating-shapes {
        display: none; /* Hide decorative elements on very small screens */
    }
}