/* =========================
   GLOBAL STYLES & VARIABLES
========================= */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #7c3aed;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #f1f5f9;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, #2563eb, #7c3aed);
    --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--gradient-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        url("img/portfoliobg.jpg") no-repeat center center fixed;
    background-size: cover;
    opacity: 0.4;
    z-index: -1;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* =========================
   HEADER / NAVIGATION - FIXED
========================= */
.header-container {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    
}

.logo a {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: -0.5px;
    padding: 0.5rem 0;
    display: inline-block;
}

.logo a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Desktop Navigation */
nav#nav {
    display: flex;
    align-items: center;
    
}

nav#nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

nav#nav ul li {
    margin: 0;
}

nav#nav ul li a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    display: block;
    white-space: nowrap;
    border: 2px solid transparent;
}

nav#nav ul li a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

nav#nav ul li a:active {
    transform: translateY(0);
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1001;
}

.menu-toggle i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.menu-toggle:hover i {
    transform: rotate(90deg);
}

/* =========================
   HERO SECTION - WITH LARGER PROFILE PICTURE
========================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.7));
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

/* LARGER PROFILE PICTURE */
.hero img {
    width: 280px; /* Increased from 220px */
    height: 280px; /* Increased from 220px */
    border-radius: 50%;
    margin-bottom: 2.5rem;
    border: 6px solid transparent; /* Slightly thicker border */
    background: var(--gradient-primary) border-box;
    padding: 4px; /* Increased padding */
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
    object-fit: cover;
    object-position: center;
}

.hero img:hover {
    transform: scale(1.08); /* Slightly increased scale */
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.5); /* Enhanced shadow */
    border-width: 8px; /* Thicker border on hover */
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-white);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.hero h2::after {
    display: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px; /* Slightly larger */
    height: 55px; /* Slightly larger */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.6rem; /* Slightly larger icon */
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) scale(1.15); /* Slightly more scale */
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4); /* Enhanced shadow */
}

/* =========================
   RESPONSIVE NAVIGATION FIXES
========================= */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    nav#nav {
        position: fixed;
        top: 70px;
        right: 1rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        padding: 1.5rem;
        min-width: 250px;
        transform: translateX(120%);
        transition: transform 0.3s ease-out;
        z-index: 999;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    nav#nav.active {
        transform: translateX(0);
    }

    nav#nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    nav#nav ul li {
        width: 100%;
    }

    nav#nav ul li a {
        padding: 1rem 1.5rem;
        text-align: left;
        border-radius: 10px;
        margin: 0;
        border: none;
        display: block;
        width: 100%;
    }

    nav#nav ul li a:hover {
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary-color);
        transform: translateX(5px);
    }

    /* Mobile Hero Adjustments */
    .hero img {
        width: 240px; /* Still larger but adjusted for mobile */
        height: 240px;
    }

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

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

@media (max-width: 480px) {
    .hero img {
        width: 220px; /* Adjusted for very small screens */
        height: 220px;
    }

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

    nav#nav {
        right: 0.5rem;
        left: 0.5rem;
        min-width: auto;
    }
}

/* =========================
   SECTIONS COMMON STYLES
========================= */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-content h2 {
    margin-bottom: 3rem;
}

.section-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* =========================
   ABOUT SECTION
========================= */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.about-column {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-column:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.about-column h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.personal-info {
    list-style: none;
}

.personal-info li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
}

.personal-info li:last-child {
    border-bottom: none;
}

.personal-info strong {
    color: var(--text-dark);
    min-width: 120px;
}

.personal-info span {
    color: var(--text-light);
    text-align: right;
}

.tech-interests {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tech {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    transition: var(--transition);
    gap: 0.75rem;
    text-align: center;
    aspect-ratio: 1;
}

.tech i {
    font-size: 2rem;
}

.tech:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

/* =========================
   SKILLS SECTION - UPDATED
========================= */
.skills-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill {
    position: relative;
}

.skill span {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Percentage will be added by JavaScript */
.skill span::after {
    content: attr(data-percent) '%';
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

.progress-bar {
    height: 12px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    position: relative;
    width: 0; /* Start at 0, will be animated */
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

/* Progress bar colors based on percentage */
.progress[data-percent="78"] { width: 78%; }
.progress[data-percent="75"] { width: 75%; }
.progress[data-percent="76"] { width: 76%; }
.progress[data-percent="74"] { width: 74%; }
.progress[data-percent="73"] { width: 73%; }
.progress[data-percent="72"] { width: 72%; }
.progress[data-percent="70"] { width: 70%; }
.progress[data-percent="68"] { width: 68%; }
.progress[data-percent="65"] { width: 65%; }
.progress[data-percent="62"] { width: 62%; }

/* Additional percentages for consistency */
.progress[data-percent="80"] { width: 80%; }
.progress[data-percent="77"] { width: 77%; }
.progress[data-percent="71"] { width: 71%; }
.progress[data-percent="69"] { width: 69%; }
.progress[data-percent="67"] { width: 67%; }
.progress[data-percent="66"] { width: 66%; }
.progress[data-percent="64"] { width: 64%; }
.progress[data-percent="63"] { width: 63%; }
.progress[data-percent="61"] { width: 61%; }
.progress[data-percent="60"] { width: 60%; }

/* Skill level indicators */
.progress[data-percent]::before {
    content: attr(data-percent) '%';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress:hover::before {
    opacity: 1;
}

/* Skill category colors */
.skill:nth-child(1) .progress { background: linear-gradient(135deg, #e34c26, #f06529); } /* HTML */
.skill:nth-child(2) .progress { background: linear-gradient(135deg, #f0db4f, #f7df1e); } /* JavaScript */
.skill:nth-child(3) .progress { background: linear-gradient(135deg, #777bb4, #8993be); } /* PHP */
.skill:nth-child(4) .progress { background: linear-gradient(135deg, #21759b, #2ea2cc); } /* WordPress */
.skill:nth-child(5) .progress { background: linear-gradient(135deg, #217346, #2e8b57); } /* Excel */
.skill:nth-child(6) .progress { background: linear-gradient(135deg, #004880, #005a9e); } /* Visual Basic */
.skill:nth-child(7) .progress { background: linear-gradient(135deg, #3776ab, #4b8bbe); } /* Python */
.skill:nth-child(8) .progress { background: linear-gradient(135deg, #336791, #4479a1); } /* Database */
.skill:nth-child(9) .progress { background: linear-gradient(135deg, #f1502f, #f03c2e); } /* Git */
.skill:nth-child(10) .progress { background: linear-gradient(135deg, #61dafb, #00bcd4); } /* Responsive Design */
/* =========================
   EDUCATION SECTION
========================= */
.timeline-item {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05), transparent);
    transition: var(--transition);
}

.timeline-item:hover::before {
    left: 100%;
}

.timeline-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-item span {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin: 1rem 0;
    font-weight: 500;
}

.badge {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    border: 3px solid transparent;
    background: white;
    padding: 5px;
}

.badge:hover {
    transform: translateY(-10px) rotate(5deg);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border-color: var(--primary-color);
}

/* =========================
   PROJECTS SECTION
========================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

.project-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.project-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-card p {
    position: relative;
    z-index: 1;
    color: var(--text-light);
}

/* =========================
   CONTACT SECTION
========================= */
#contact .section-content {
    text-align: center;
}

#contact p {
    font-size: 1.2rem;
    margin: 2rem 0;
    line-height: 2;
    color: var(--text-dark);
}

.contact-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    gap: 1rem;
}

.contact-button i {
    transition: var(--transition);
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gradient-dark);
    color: var(--text-white);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.back-to-top {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

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

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================
   RESPONSIVE DESIGN
========================= */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Personal Info - Adjust layout */
    .personal-info li {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .personal-info strong {
        min-width: auto;
        font-size: 0.95rem;
    }
    
    .personal-info span {
        text-align: left;
        font-size: 0.9rem;
    }
    
    /* Tech Interests - Adjust grid */
    .tech-interests {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .tech {
        padding: 1rem;
        aspect-ratio: 1;
    }
    
    .tech i {
        font-size: 1.5rem;
    }
    
    .tech span {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* About Section Padding */
    .section-content {
        padding: 2rem;
    }
    
    /* Personal Info - Stack items */
    .personal-info li {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }
    
    .personal-info strong {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .personal-info span {
        text-align: left;
        font-size: 0.85rem;
    }
    
    /* Tech Interests - 2 columns */
    .tech-interests {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .tech {
        padding: 1.25rem;
        aspect-ratio: 1;
    }
    
    .tech i {
        font-size: 1.75rem;
    }
    
    .tech span {
        font-size: 0.9rem;
    }
    
    /* About Columns */
    .about-column {
        padding: 1.5rem;
    }
    
    .about-column h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero img {
        width: 220px;
        height: 220px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-content {
        padding: 1.5rem;
    }
    
    .tech {
        padding: 1rem;
    }
    
    /* Personal Info - Mobile Optimized */
    .personal-info li {
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.4rem 0;
    }
    
    .personal-info strong {
        font-size: 0.85rem;
    }
    
    .personal-info span {
        font-size: 0.8rem;
    }
    
    /* Tech Interests - Smaller items */
    .tech-interests {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .tech {
        padding: 0.75rem;
    }
    
    .tech i {
        font-size: 1.25rem;
    }
    
    .tech span {
        font-size: 0.75rem;
    }
    
    /* Reduce gap in about row */
    .about-row {
        gap: 1.5rem;
    }
    
    .about-column {
        padding: 1.25rem;
    }
    
    .about-column h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .tech-interests {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .tech {
        padding: 0.5rem;
        aspect-ratio: 1;
    }
    
    .tech i {
        font-size: 1rem;
    }
    
    .tech span {
        font-size: 0.7rem;
    }
    
    .personal-info li {
        padding: 0.3rem 0;
    }
    
    .personal-info strong {
        font-size: 0.8rem;
    }
    
    .personal-info span {
        font-size: 0.75rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .tech-interests {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tech {
        padding: 0.75rem;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .tech-interests {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================
   SCROLLBAR STYLING
========================= */
::-webkit-scrollbar {
    width: 10px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =========================
   SELECTION STYLING
========================= */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}
