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

/* ===== CSS Variables ===== */
:root {
    --primary-color: #b74b4b;
    --primary-light: #d66b6b;
    --primary-dark: #8a3939;
    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --shadow: 0 10px 40px rgba(183, 75, 75, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* ===== Custom Cursor (Disabled) ===== */
.cursor,
.cursor-follower {
    display: none;
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s;
}

/* ===== Selection ===== */
::selection {
    background: var(--primary-color);
    color: var(--text-color);
}

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

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

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

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

/* ===== Header ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
}

header.scrolled {
    padding: 1.5rem 9%;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.logo span {
    color: var(--primary-color);
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(183, 75, 75, 0.5);
}

.menu-btn {
    display: none;
    font-size: 2.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.menu-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

nav a {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-left: 4rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient);
    border-radius: 5px;
    transition: width 0.3s ease;
}

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

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

/* ===== Section Common Styles ===== */
section {
    min-height: 100vh;
    padding: 10rem 9% 5rem;
}

.heading {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.heading span {
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 5rem;
}

/* ===== Home Section ===== */
.home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8rem;
    background: var(--bg-color);
    padding-top: 12rem;
}

.home-content {
    max-width: 60rem;
}

.home-content h1 {
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.home-content h3 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.home-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-muted);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

/* Typing Animation */
.typing-text span {
    position: relative;
    color: var(--primary-color);
}

.typing-text span::after {
    content: "|";
    position: absolute;
    right: -8px;
    color: var(--primary-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

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

/* Home Image */
.home-img {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.img-box {
    position: relative;
    width: 35rem;
    height: 35rem;
}

.img-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    border-top-color: transparent;
    border-left-color: transparent;
}

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

.home-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 40px rgba(183, 75, 75, 0.3);
    transition: var(--transition);
}

.home-img img:hover {
    box-shadow: 0 0 60px rgba(183, 75, 75, 0.5);
    transform: scale(1.02);
}

/* Social Icons */
.social-icons {
    margin: 3rem 0;
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    font-size: 2rem;
    border-radius: 50%;
    margin-right: 1.5rem;
    transition: var(--transition);
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
    border-radius: 50%;
}

.social-icons a:hover::before {
    transform: scale(1);
}

.social-icons a:hover {
    color: var(--text-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(183, 75, 75, 0.4);
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: var(--gradient);
    border-radius: 5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(183, 75, 75, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--gradient);
    color: var(--text-color);
    border-color: transparent;
}

/* ===== Skills Section ===== */
.skills {
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0rem;
    padding-bottom: 2rem;
}

.skills .heading {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.skills .section-subtitle {
    margin-bottom: 2rem;
}

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

.skill-category {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 1.5rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.skill-category:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.skill-category h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-category h3 i {
    margin-right: 1rem;
}

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

.skill-item {
    text-align: center;
    padding: 1.2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.skill-item:hover::before {
    opacity: 0.1;
}

.skill-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(183, 75, 75, 0.2);
}

.skill-icon {
    width: 5rem;
    height: 5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.2rem;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.skill-item:hover .skill-icon {
    transform: rotateY(360deg);
}

.skill-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 5rem;
    width: 0;
    transition: width 1.5s ease;
}

.skill-item.animate .skill-progress {
    width: var(--progress);
}

/* ===== Education Section ===== */
.education {
    background: var(--bg-color);
}

.timeline {
    position: relative;
    max-width: 120rem;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 5px;
}

.timeline-item {
    width: 50%;
    padding: 2rem 4rem;
    position: relative;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid transparent;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.timeline-icon {
    position: absolute;
    width: 5rem;
    height: 5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-color);
    top: 3rem;
    z-index: 2;
}

.timeline-item.left .timeline-icon {
    right: -6.5rem;
}

.timeline-item.right .timeline-icon {
    left: -6.5rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient);
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.timeline-content h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.timeline-content p {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.timeline-item.right .timeline-tags {
    justify-content: flex-start;
}

.timeline-tags span {
    padding: 0.5rem 1.2rem;
    background: var(--bg-tertiary);
    border-radius: 2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* ===== Projects Section ===== */
.projects {
    background: var(--bg-secondary);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: var(--text-color);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(183, 75, 75, 0.3);
}

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

.project-card {
    background: var(--bg-tertiary);
    border-radius: 2rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

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

.project-img {
    position: relative;
    overflow: hidden;
    height: 25rem;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(183, 75, 75, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.project-link {
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

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

.project-card:hover .project-link:nth-child(1) {
    transition-delay: 0.1s;
}

.project-card:hover .project-link:nth-child(2) {
    transition-delay: 0.2s;
}

.project-link:hover {
    background: var(--bg-color);
    color: var(--text-color);
    transform: scale(1.1);
}

.project-info {
    padding: 2.5rem;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.project-card:hover .project-info h3 {
    color: var(--primary-color);
}

.project-info p {
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.project-tech span {
    padding: 0.5rem 1.2rem;
    background: var(--bg-secondary);
    border-radius: 2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.project-tech span:hover {
    background: var(--gradient);
    color: var(--text-color);
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    min-height: auto;
    padding: 8rem 9% 2rem;
}

.contact .heading {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.contact .section-subtitle {
    margin-bottom: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

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

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--text-color);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.contact-details p {
    font-size: 1.3rem;
    color: var(--text-muted);
}

.contact-social {
    padding: 1.2rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    text-align: center;
}

.contact-social h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 4.5rem;
    height: 4.5rem;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    color: var(--text-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(183, 75, 75, 0.3);
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid transparent;
    transition: var(--transition);
}

.contact-form:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.input-box {
    position: relative;
    margin-bottom: 1rem;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    color: var(--text-color);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.input-box textarea {
    resize: none;
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(183, 75, 75, 0.2);
}

.input-box input::placeholder,
.input-box textarea::placeholder {
    color: var(--text-muted);
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.input-box input:focus ~ .focus-border,
.input-box textarea:focus ~ .focus-border {
    width: 100%;
    left: 0;
}

.submit-btn {
    width: 100%;
    justify-content: center;
}

.submit-btn i {
    transition: var(--transition);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* ===== Footer ===== */
footer {
    background: var(--bg-secondary);
    padding: 5rem 9% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo a {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-links h3,
.footer-services h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.footer-links a,
.footer-services a {
    display: block;
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-tertiary);
}

.footer-bottom p {
    font-size: 1.4rem;
    color: var(--text-muted);
}

.scroll-top {
    width: 4.5rem;
    height: 4.5rem;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-color);
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(183, 75, 75, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
    
    .home {
        gap: 5rem;
    }
}

@media (max-width: 991px) {
    header {
        padding: 2rem 5%;
    }
    
    section {
        padding: 8rem 5% 5rem;
    }
    
    .menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 30rem;
        height: 100vh;
        background: var(--bg-secondary);
        padding: 8rem 3rem;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    nav.active {
        right: 0;
    }
    
    nav a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        margin-left: 0;
    }
    
    .home {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 10rem;
        gap: 3rem;
    }
    
    .home-content h1 {
        font-size: 4.5rem;
    }
    
    .home-content h3 {
        font-size: 2.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .btn-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .img-box {
        width: 28rem;
        height: 28rem;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 7rem;
        padding-right: 2rem;
        text-align: left;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        left: 0;
    }
    
    .timeline-item.left .timeline-tags {
        justify-content: flex-start;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .heading {
        font-size: 4rem;
    }
    
    .home-content h1 {
        font-size: 3.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .skills {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    .img-box {
        width: 22rem;
        height: 22rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .project-filters {
        gap: 1rem;
    }
    
    .filter-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1.3rem;
    }
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}
