:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
    --accent-color: #fd79a8;
    --text-color: #2d3436;
    --light-color: #f5f6fa;
    --dark-color: #2d3436;
    --background-color: #ffffff;
    --card-bg-color: #f5f6fa;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --section-padding: 100px 0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    position: relative;
    min-height: 100%;
}

/* Prevent scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--section-padding);
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: transform 0.1s;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s, width 0.3s, height 0.3s;
    z-index: 9998;
}

/* Header - Improved mobile priority loading */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95); /* Default to visible background */
    transition: var(--transition);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Default shadow for visibility */
}

/* Only make header transparent when JS loads and at top of page */
.js-loaded header:not(.scrolled) {
    background-color: transparent;
    box-shadow: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    padding: 8px 15px;
    border-radius: 5px;
    color: white;
}

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

.nav-link {
    position: relative;
    font-weight: 500;
    transition: var(--transition);
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.1), rgba(253, 121, 168, 0.1));
    margin-top: 0;
    padding-top: 0;
}

.hero-content {
    max-width: 700px;
    margin-top: 40px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
}

.glitch {
    position: relative;
    color: var(--dark-color);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--primary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(66px, 9999px, 39px, 0);
    }
    5% {
        clip: rect(59px, 9999px, 75px, 0);
    }
    10% {
        clip: rect(94px, 9999px, 61px, 0);
    }
    15% {
        clip: rect(91px, 9999px, 6px, 0);
    }
    20% {
        clip: rect(81px, 9999px, 77px, 0);
    }
    25% {
        clip: rect(5px, 9999px, 88px, 0);
    }
    30% {
        clip: rect(99px, 9999px, 63px, 0);
    }
    35% {
        clip: rect(12px, 9999px, 7px, 0);
    }
    40% {
        clip: rect(33px, 9999px, 99px, 0);
    }
    45% {
        clip: rect(50px, 9999px, 82px, 0);
    }
    50% {
        clip: rect(59px, 9999px, 75px, 0);
    }
    55% {
        clip: rect(3px, 9999px, 25px, 0);
    }
    60% {
        clip: rect(41px, 9999px, 46px, 0);
    }
    65% {
        clip: rect(72px, 9999px, 2px, 0);
    }
    70% {
        clip: rect(34px, 9999px, 25px, 0);
    }
    75% {
        clip: rect(66px, 9999px, 95px, 0);
    }
    80% {
        clip: rect(40px, 9999px, 31px, 0);
    }
    85% {
        clip: rect(13px, 9999px, 7px, 0);
    }
    90% {
        clip: rect(8px, 9999px, 83px, 0);
    }
    95% {
        clip: rect(99px, 9999px, 70px, 0);
    }
    100% {
        clip: rect(83px, 9999px, 40px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(6px, 9999px, 46px, 0);
    }
    5% {
        clip: rect(60px, 9999px, 54px, 0);
    }
    10% {
        clip: rect(70px, 9999px, 65px, 0);
    }
    15% {
        clip: rect(54px, 9999px, 82px, 0);
    }
    20% {
        clip: rect(23px, 9999px, 23px, 0);
    }
    25% {
        clip: rect(67px, 9999px, 68px, 0);
    }
    30% {
        clip: rect(89px, 9999px, 93px, 0);
    }
    35% {
        clip: rect(5px, 9999px, 67px, 0);
    }
    40% {
        clip: rect(63px, 9999px, 30px, 0);
    }
    45% {
        clip: rect(30px, 9999px, 8px, 0);
    }
    50% {
        clip: rect(13px, 9999px, 13px, 0);
    }
    55% {
        clip: rect(50px, 9999px, 96px, 0);
    }
    60% {
        clip: rect(49px, 9999px, 62px, 0);
    }
    65% {
        clip: rect(16px, 9999px, 64px, 0);
    }
    70% {
        clip: rect(71px, 9999px, 32px, 0);
    }
    75% {
        clip: rect(53px, 9999px, 5px, 0);
    }
    80% {
        clip: rect(99px, 9999px, 92px, 0);
    }
    85% {
        clip: rect(82px, 9999px, 39px, 0);
    }
    90% {
        clip: rect(5px, 9999px, 67px, 0);
    }
    95% {
        clip: rect(67px, 9999px, 90px, 0);
    }
    100% {
        clip: rect(89px, 9999px, 6px, 0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: var(--text-color);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hero-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--dark-color);
    border-radius: 20px;
    position: relative;
}

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

@keyframes wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 12px);
        opacity: 0;
    }
}

.scroll-arrow {
    display: block;
    margin: 0 auto;
    width: 14px;
    height: 14px;
}

.scroll-arrow span {
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--dark-color);
    border-right: 2px solid var(--dark-color);
    transform: rotate(45deg);
    margin: -6px 0;
    animation: scroll-arrows 1.5s infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: -0.3s;
}

@keyframes scroll-arrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    min-height: 500px;
    will-change: transform;
}

/* Image container - Fix stretched image */
.image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    aspect-ratio: 4/5; /* Maintain aspect ratio */
}

.image-container img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Maintain aspect ratio without stretching */
    object-position: center top; /* Position from top */
}

/* Fix about section dimensions */
.about-image {
    position: relative;
    flex: 1;
    max-width: 400px;
    min-height: auto; /* Remove fixed height that causes stretch */
    opacity: 1;
    visibility: visible;
    margin: 0 auto;
}

.image-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-color);
    top: 20px;
    left: 20px;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: -1;
}

.shape1 {
    background-color: rgba(108, 92, 231, 0.3);
    top: -20px;
    left: -20px;
    animation: float 6s ease-in-out infinite;
}

.shape2 {
    background-color: rgba(253, 121, 168, 0.3);
    bottom: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite 2s;
}

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

.about-text {
    flex: 1;
    opacity: 1;
    visibility: visible;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.detail {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.detail-text h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--light-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--light-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 30px;
    background-color: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.timeline-content .date {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.timeline-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.timeline-content p {
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.tags li {
    padding: 5px 12px;
    background-color: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Skills Section */
.skills-content {
    max-width: 800px;
    margin: 0 auto;
}

.skill-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.skill-category {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--light-color);
}

.skill-category.active, .skill-category:hover {
    background-color: var(--primary-color);
    color: white;
}

.skill-group {
    display: none;
}

.skill-group.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.skill-info span {
    font-weight: 600;
    color: var(--primary-color);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: var(--light-color);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.skill-level {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.contact-form {
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-color);
    border-radius: 5px;
    background-color: var(--light-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    pointer-events: none;
    color: #777;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus,
.form-group input:valid, .form-group textarea:valid {
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
}

.form-group input:focus ~ label, .form-group textarea:focus ~ label,
.form-group input:valid ~ label, .form-group textarea:valid ~ label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    background-color: #fff;
    padding: 0 5px;
    color: var(--primary-color);
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 50px 0;
}

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

.footer-logo span {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    padding: 8px 15px;
    border-radius: 5px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

/* Animations */
.parallax-element {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Services Section */
.services {
    min-height: 100px;
    opacity: 1;
    position: relative;
    z-index: 5;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
    opacity: 1;
}

.service-card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(108, 92, 231, 0.1), rgba(253, 121, 168, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(360deg);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: var(--transition);
}

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

.service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    margin-top: auto;
    padding-left: 20px;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: var(--primary-color);
    font-weight: bold;
}

/* Media Queries */
@media (max-width: 992px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin: 0 auto 40px;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 99;
        gap: 2.5rem;
        backdrop-filter: blur(5px);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        display: inline-block;
        position: relative;
        font-weight: 600;
    }
    
    .nav-link::after {
        height: 3px;
        bottom: -3px;
    }
    
    .hamburger {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 100;
    }
    
    .hamburger span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: var(--primary-color);
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }
    
    .hamburger span:nth-child(1) {
        top: 0px;
    }
    
    .hamburger span:nth-child(2) {
        top: 8px;
    }
    
    .hamburger span:nth-child(3) {
        top: 16px;
    }
    
    .hamburger.active span:nth-child(1) {
        top: 8px;
        transform: rotate(135deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    
    .hamburger.active span:nth-child(3) {
        top: 8px;
        transform: rotate(-135deg);
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 19px;
    }
    
    .right {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    /* Image container - Fix stretched image */
    .image-container {
        max-width: 300px; /* Smaller on mobile */
        margin: 0 auto 30px;
    }
    
    /* Fix about section dimensions */
    .about-image {
        min-height: auto;
        margin-bottom: 40px;
    }
    
    /* Header appears immediately */
    header {
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .skill-categories {
        gap: 10px;
    }
    
    .skill-category {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
} 