* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: #ede8d8;
    color: #2b2b2b;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ========== PREMIUM GLASSMORPHISM NAVBAR ========== */
header {
    position: sticky;
    top: 1.5rem;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1.5rem;
    margin: 0 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 80px;
    border: 1px solid rgba(189, 143, 83, 0.25);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15), 
                inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

header.sticky {
    background: rgba(237, 232, 216, 0.75);
    backdrop-filter: blur(18px) saturate(200%);
    border-color: rgba(203, 167, 56, 0.4);
    box-shadow: 0 25px 45px -15px rgba(189, 143, 83, 0.3), 
                inset 0 1px 2px rgba(255, 255, 255, 0.5);
    top: 1rem;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    width: auto;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3a2e1f;
    margin-left: 0.8rem;
    padding-left: 0.8rem;
    border-left: 2px solid rgba(189, 143, 83, 0.3);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.footer-brand {
    font-weight: 600;
    color: #cba738;
    background: linear-gradient(145deg, #bd8f53, #cba738);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 900px) {
    .brand-name {
        font-size: 1rem;
        margin-left: 0.5rem;
        padding-left: 0.5rem;
    }
}

@media (max-width: 600px) {
    .brand-name {
        display: none;
    }
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.desktop-nav {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem;
    border-radius: 60px;
    backdrop-filter: blur(4px);
}

.nav-link {
    color: #3a2e1f;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(189, 143, 83, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.nav-link:hover::before {
    width: 200px;
    height: 200px;
}

.nav-link:hover {
    color: #bd8f53;
    background: rgba(255, 255, 255, 0.5);
}

.nav-link.active-nav {
    color: #cba738;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 10px rgba(189, 143, 83, 0.2);
}

.nav-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(145deg, #bd8f53, #b37b3c);
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 15px -5px rgba(189, 143, 83, 0.4);
}

.nav-contact-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.nav-contact-btn:hover {
    background: linear-gradient(145deg, #cba738, #bd8f53);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px #cba738;
}

.nav-contact-btn:hover i {
    transform: translateX(4px) translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, #bd8f53, #cba738);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(237, 232, 216, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(189, 143, 83, 0.2);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(189, 143, 83, 0.2);
}

.mobile-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(145deg, #bd8f53, #cba738);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.mobile-close {
    font-size: 2.5rem;
    line-height: 1;
    background: none;
    border: none;
    color: #bd8f53;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-close:hover {
    background: rgba(189, 143, 83, 0.1);
    transform: rotate(90deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1rem;
}

.mobile-link {
    color: #3a2e1f;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid transparent;
}

.mobile-link:hover {
    background: rgba(189, 143, 83, 0.1);
    border-color: rgba(189, 143, 83, 0.3);
    transform: translateX(5px);
    color: #bd8f53;
}

.mobile-nav-footer {
    margin-top: auto;
    padding: 2rem 1.5rem;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(145deg, #bd8f53, #b37b3c);
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-contact-btn:hover {
    background: linear-gradient(145deg, #cba738, #bd8f53);
    transform: translateY(-2px);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 2rem 5%;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    animation: slideInLeft 1s ease forwards;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: slideInRight 1s ease forwards;
    min-height: 500px;
}

.profile-img {
    width: 400px;
    height: 450px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 40% 60% 40% 60% / 50% 40% 60% 50%;
    border: 6px solid rgba(189, 143, 83, 0.3);
    box-shadow: 0 30px 50px -15px rgba(189, 143, 83, 0.5);
    transition: transform 0.4s ease;
    position: relative;
    z-index: 2;
    display: block;
    margin: 0 auto;
}

.profile-img:hover {
    transform: scale(1.02) rotate(1deg);
}

.hero-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(189, 143, 83, 0.1), rgba(203, 167, 56, 0.1));
    border-radius: 40% 60% 40% 60% / 50% 40% 60% 50%;
    top: 20px;
    right: -20px;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(145deg, #bd8f53 20%, #cba738 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.8rem;
    font-weight: 300;
    color: #3a2e1f;
    margin-bottom: 1rem;
}

.subtext {
    font-size: 1.2rem;
    color: #3f3a30;
    max-width: 550px;
    margin: 1.5rem 0 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

button {
    background: linear-gradient(145deg, #bd8f53, #b37b3c);
    border: none;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px #bd8f53;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

button i {
    transition: transform 0.2s;
}

button:hover {
    background: linear-gradient(145deg, #cba738, #bd8f53);
    box-shadow: 0 15px 30px -5px #cba738;
    transform: translateY(-3px);
}

button:hover i {
    transform: translateX(5px);
}

.secondary-btn {
    color: #bd8f53;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.secondary-btn:hover {
    color: #cba738;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #bd8f53;
}

.stat-label {
    font-size: 1rem;
    color: #6b5a42;
}

/* ========== REDESIGNED ABOUT SECTION WITH IMAGE ========== */
.about-section {
    padding: 80px 60px;
    background: linear-gradient(135deg, #fff9f0 0%, #ede8d8 100%);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.about-content {
    flex: 1;
    animation: slideInLeft 1s ease forwards;
}

.about-content h2 {
    color: #cba738;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    text-align: left;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #bd8f53, #cba738);
    border-radius: 2px;
}

.about-text {
    text-align: left;
}

.about-intro {
    font-size: 1.4rem;
    font-weight: 600;
    color: #bd8f53;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    font-size: 1.1rem;
    color: #3f3a30;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(189, 143, 83, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    border-color: #cba738;
    box-shadow: 0 10px 20px -8px rgba(189, 143, 83, 0.3);
}

.highlight-item i {
    color: #cba738;
    font-size: 1.2rem;
}

.highlight-item span {
    font-weight: 500;
    color: #3a2e1f;
}

.about-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease forwards;
}

.about-img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 30% 70% 40% 60% / 50% 40% 60% 50%;
    border: 6px solid rgba(189, 143, 83, 0.3);
    box-shadow: 0 30px 50px -15px rgba(189, 143, 83, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.about-img:hover {
    transform: scale(1.02) rotate(1deg);
    border-color: #cba738;
}

.about-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(189, 143, 83, 0.1), rgba(203, 167, 56, 0.1));
    border-radius: 30% 70% 40% 60% / 50% 40% 60% 50%;
    top: 20px;
    right: -20px;
    z-index: 1;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: linear-gradient(145deg, #bd8f53, #cba738);
    color: white;
    padding: 1.2rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(189, 143, 83, 0.4);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.exp-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== SECTIONS ========== */
.section {
    padding: 60px 60px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.show {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    color: #cba738;
    margin-bottom: 2.5rem;
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 20%;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #bd8f53, #cba738, transparent);
    border-radius: 2px;
}

.light {
    background-color: rgba(189, 143, 83, 0.05);
}

/* ========== CARDS ========== */
.edu-card, .cert-card, .skill-box {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    padding: 2rem;
    border-radius: 28px;
    margin: 1.2rem auto;
    max-width: 800px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(189, 143, 83, 0.2);
    transition: all 0.3s;
}

.edu-card:hover, .cert-card:hover, .skill-box:hover {
    transform: scale(1.02);
    border-color: #cba738;
    box-shadow: 0 25px 40px -12px #bd8f53;
}

.edu-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.edu-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.honor {
    color: #bd8f53;
    font-weight: 600;
    margin-top: 0.3rem;
}

/* ========== SKILLS SECTION ========== */
.admin-standalone {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border: 1px solid rgba(203, 167, 56, 0.3);
    margin-bottom: 3rem;
}

.admin-standalone h3 {
    font-size: 1.8rem;
    color: #bd8f53;
    margin-bottom: 1.5rem;
}

.skill-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 2rem 0 1.5rem;
}

.skill-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid transparent;
    transition: all 0.4s ease;
}

.skill-images img:hover {
    border-color: #cba738;
    transform: scale(1.02);
    box-shadow: 0 20px 30px -12px rgba(189, 143, 83, 0.5);
}

.skill-box ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-top: 1.2rem;
}

.skill-box li {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-box li i {
    color: #cba738;
}

.skills-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.skills-grid .skill-box {
    width: 340px;
    text-align: left;
    margin: 0.5rem;
}

.skills-grid .skill-box h3 {
    color: #bd8f53;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-bottom: 2px dashed #cba738;
    padding-bottom: 0.7rem;
}

.skills-grid .skill-box ul {
    list-style: none;
    display: block;
}

.skills-grid .skill-box li {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.skills-grid .skill-box li i {
    color: #cba738;
}

.skill-box-with-images {
    padding: 2rem 2rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.skill-mini-images {
    display: flex;
    gap: 10px;
    margin: 1.5rem 0 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.skill-mini-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(189, 143, 83, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-mini-images img:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: #cba738;
    box-shadow: 0 12px 20px -8px rgba(189, 143, 83, 0.4);
}

/* ========== CERTIFICATIONS ========== */
.cert-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.cert-card {
    max-width: 340px;
    text-align: center;
    margin: 0.5rem;
}

.cert-card img {
    width: 80px;
    margin-bottom: 1rem;
}

.date {
    color: #bd8f53;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ========== GALLERY ========== */
.sample-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.sample-gallery img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.2);
    transition: 0.3s;
    cursor: pointer;
}

.sample-gallery img:hover {
    transform: scale(1.03) rotate(0.5deg);
    box-shadow: 0 25px 40px -12px #bd8f53;
}

/* ========== CONTACT ========== */
.contact {
    background: linear-gradient(145deg, #ede8d8, #fff9ea);
}

.contact p {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.contact-message {
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-style: italic;
    color: #4a3f2c;
}

/* ========== FOOTER ========== */
footer {
    background-color: #bd8f53;
    color: white;
    text-align: center;
    padding: 2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* ========== MODAL ========== */
.image-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
}

.image-modal img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 24px;
    border: 4px solid #cba738;
    animation: zoomIn 0.3s ease;
}

/* ========== ANIMATIONS ========== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1000px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .subtext {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .profile-img {
        width: 300px;
        height: 350px;
    }
    
    .hero-image {
        min-height: 400px;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .about-container {
        flex-direction: column-reverse;
        gap: 3rem;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h2 {
        text-align: center;
    }
    
    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-highlights {
        justify-content: center;
    }
    
    .about-img {
        width: 350px;
        height: 450px;
    }
}

@media (max-width: 900px) {
    .desktop-nav, .nav-contact {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    header {
        padding: 0.8rem 1.5rem;
        margin: 0 1rem;
    }
}

@media (max-width: 800px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .edu-card {
        flex-direction: column;
        text-align: center;
    }
    
    .skill-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .skill-mini-images {
        gap: 8px;
    }
    
    .skill-mini-images img {
        width: 70px;
        height: 70px;
    }
    
    .admin-standalone .skill-images img {
        height: 120px;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 60px 20px;
    }
    
    .about-img {
        width: 280px;
        height: 380px;
    }
    
    .about-experience-badge {
        width: 80px;
        height: 80px;
        left: -10px;
        bottom: 20px;
    }
    
    .exp-number {
        font-size: 1.5rem;
    }
    
    .exp-text {
        font-size: 0.6rem;
    }
    
    .about-intro {
        font-size: 1.2rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        margin: 0 0.8rem;
        padding: 0.7rem 1.2rem;
    }
    
    .mobile-nav {
        width: 85%;
    }
    
    .profile-img {
        width: 250px;
        height: 300px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .skill-mini-images {
        gap: 5px;
    }
    
    .skill-mini-images img {
        width: 60px;
        height: 60px;
    }
    
    .admin-standalone .skill-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-standalone .skill-images img {
        height: 100px;
    }
}

/* Touch device optimizations */
.touch-device .skill-mini-images img,
.touch-device .admin-standalone .skill-images img,
.touch-device .sample-gallery img {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.touch-device .skill-mini-images img:active,
.touch-device .admin-standalone .skill-images img:active,
.touch-device .sample-gallery img:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}