body
{
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(120deg, #181028 0%, #1e1e2f 100%);
    color: #fff;
    text-align: center;
    overflow-x: hidden !important;
    letter-spacing: 0.01em;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    padding: 18px 6vw 18px 6vw; /* Reduced vertical padding */
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-family: 'Poppins', Arial, sans-serif;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 32px;
}

.logo {
    position: static;
    left: auto;
    transform: none;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 #a78bfa33;
    background: #181028;
    background-image: url('./logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

nav ul {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    color: #bdbdbd;
    font-weight: 500;
    font-size: 1.08em;
    padding: 8px 18px;
    border-radius: 6px;
    transition: all 0.22s cubic-bezier(.4,0,.2,1);
    letter-spacing: 0.02em;
    text-decoration: none;
}

nav a:hover, nav a.active {
    color: #fff;
    background: linear-gradient(90deg, #ff00cc 0%, #a78bfa 100%);
    box-shadow: 0 2px 12px 0 #a78bfa33;
}

.cv-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.08em;
    padding: 12px 36px;
    box-shadow: 0 4px 20px 0 #ff00cc33, 0 0 16px #a78bfa33;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
}
.cv-button::after {
    content: '';
    position: absolute;
    left: -60%;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.01) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s;
    pointer-events: none;
}
.cv-button:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 32px 0 #ff00cc55, 0 0 24px #a78bfa55;
}
.cv-button:hover::after {
    left: 110%;
}
.cv-button i {
    animation: bounce 1.2s infinite;
    transition: color 0.2s;
}
.cv-button:hover i {
    color: #ffe066;
    animation: bounce 0.5s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-6px);}
}

.menu-toggle {
    display: none; /* Hide by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
    margin-left: 20px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
    header {
        padding: 12px 2vw 12px 2vw;
    }
    .header-center { margin: 0 12px; }
    .logo { width: 44px; height: 44px; }
    nav ul { gap: 16px; }
    .cv-button { padding: 10px 18px; font-size: 1em; }
}

@media (max-width: 700px) {
    .header-left, .header-right { gap: 10px; }
    .header-center { margin: 0 2px; }
    .logo { width: 36px; height: 36px; }
    nav ul { gap: 8px; }
    .cv-button { padding: 8px 10px; font-size: 0.95em; }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Header & Navigation */
    header {
        padding: 10px 5%; /* Reduced vertical padding for mobile */
        height: 60px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    nav {
        margin-left: 0;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px 0;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        transform: translateX(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        gap: 0;
    }

    nav ul.active {
        display: flex;
        transform: translateX(0);
        opacity: 1;
    }

    nav a {
        display: block;
        padding: 20px 10%;
        text-align: left;
        font-size: 1.2em;
        color: #888;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    nav a:hover, nav a.active {
        color: #fff;
        background: rgba(255, 0, 127, 0.1);
        padding-left: 15%;
    }

    .cv-button {
        width: 100%;
        justify-content: flex-start;
        padding: 20px 10%;
        border-radius: 0;
        box-shadow: none;
        margin-top: 20px;
    }

    .cv-button:hover {
        padding-left: 15%;
    }

    /* Hero Section */
    .hero {
        padding-top: 80px;
        min-height: calc(100vh - 80px);
        padding-left: 0;
        align-items: center;
        text-align: center;
        width: 100%;
        position: relative;
        overflow: hidden;
        background: #0a0a0a;
        display: flex;
        flex-direction: column;
        justify-content: center;
  
    }

    .hero h1 {
        font-size: 2.2em;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.1em;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
        margin: 0 auto;
    }

    .social-links {
        margin-top: 40px;
    }

    .social-links a {
        font-size: 1.8em;
        margin: 0 15px;
        padding: 15px;
    }

    /* Projects Section */
    #targetSection {
        padding: 60px 5%;
    }

    .projects {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px 0;
    }

    .project-card {
        margin: 0;
        padding: 25px;
    }

    .project-card h3 {
        font-size: 1.4em;
        margin: 15px 0;
    }

    .project-card p {
        font-size: 1em;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .btn2 {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Services Section */
    .ccontainer {
        padding: 60px 5%;
    }

    .sservices, .experience {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card, .experience-card {
        padding: 25px;
    }

    .service-card img {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

    .service-card h3, .experience-card h3 {
        font-size: 1.3em;
        margin: 15px 0;
    }

    .service-card p, .experience-card p {
        font-size: 1em;
        line-height: 1.5;
    }

    /* Menu Toggle */
    .menu-toggle {
        display: flex; /* Show on mobile */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1000;
        position: relative;
        margin-left: 20px;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero {
        padding-top: 70px;
        min-height: calc(100vh - 70px);
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    .project-card {
        padding: 20px;
    }

    .service-card, .experience-card {
        padding: 20px;
    }

    .social-links a {
        font-size: 1.5em;
        margin: 0 10px;
        padding: 12px;
    }
}

.hero {
    position: relative;
    padding-top: 120px;
    min-height: calc(100vh - 120px);
    padding-left: 0;
    align-items: center;
    text-align: center;
    width: 100%;
 
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 127, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(127, 0, 255, 0.15) 0%, transparent 50%);
    z-index: 1;
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hero h1, #typed-heading {
    margin-top: 5rem;
    font-size: 5.5em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    
}

.hero h1::after {
    display: none !important;
}

.hero p {
    font-size: 1.6em;
    color: #888;
    max-width: 600px;
    margin: 30px 0;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    font-weight: 300;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2em;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.social-center-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.social-links {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    gap: 2rem;
    z-index: 10;
}

.social-links a {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 20, 50, 0.85);
    box-shadow: 0 4px 24px 0 #a78bfa44, 0 1.5px 0 #ff00cc33;
    font-size: 2.1rem;
    color: #fff;
    transition: 
        box-shadow 0.22s cubic-bezier(.4,0,.2,1),
        transform 0.22s cubic-bezier(.4,0,.2,1),
        background 0.22s cubic-bezier(.4,0,.2,1),
        color 0.22s;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(120deg, #a78bfa 0%, #ff00cc 100%);
    opacity: 0;
    transition: opacity 0.22s;
    z-index: 0;
}

.social-links a:hover {
    color: #ffe066;
    background: rgba(30, 20, 50, 1);
    box-shadow: 0 8px 32px 0 #ff00cc55, 0 0 24px #a78bfa55;
    transform: translateY(-4px) scale(1.08);
}

.social-links a:hover::before {
    opacity: 0.18;
}

.social-links a i {
    position: relative;
    z-index: 1;
    transition: color 0.22s, transform 0.22s;
}

.social-links a:hover i {
    color: #ffe066;
    transform: scale(1.18) rotate(-8deg);
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);

}

.btn i {
    font-size: 22px;
    color: #fff;
    transition: all 0.4s ease;

}

.btn:hover {
    transform: translateY(-5px) rotate(5deg);
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.3);
}

.btn:hover i {
    transform: scale(1.2);
    color: #fff;
}

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

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.project-card {
    background: rgba(40,30,60,0.85);
    padding: 40px;
    border-radius: 22px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 127, 0.1), rgba(127, 0, 255, 0.1));
    opacity: 0;
    transition: 0.4s ease;
}

.project-card:hover {
    box-shadow: 0 16px 48px 0 #ff00cc44, 0 2px 0 #a78bfa55;
    transform: translateY(-6px) scale(1.03);
}

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

.project-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.project-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff007f, #7f00ff);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.project-card:hover h3::after {
    width: 100%;
}

.project-card p {
    color: #888;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1em;
    font-weight: 300;
}

.btn2 {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn2::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;
}

.btn2:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
}

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

#targetSection {
    padding: 120px 10%;
    background: #0a0a0a;
    position: relative;
}

#targetSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 127, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(127, 0, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

#targetSection h2 {
    font-size: 3.5em;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

#targetSection h2::after {
    display: none !important;
}

#targetSection > p {
    max-width: 800px;
    margin: 0 0 80px;
    color: #888;
    line-height: 1.8;
    font-size: 1.2em;
    font-weight: 300;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s, transform 1s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay {
    transition-delay: 0.5s;
}

.delay-2 {
    transition-delay: 1s;
}

footer {
    padding: 10px;
    background: #111;
    margin-top: 20px;
}

/* Sosial button */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: #222;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn i {
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s ease-in-out, font-size 0.3s ease-in-out, text-shadow 0.3s;
}

.btn:hover i {
    transform: scale(1.5);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.btn:hover {
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.8);
}

/* Enable smooth scrolling */
html {
    scroll-behavior: smooth;
}

.ccontainer {
    max-width: 100%;
    margin: 0;
    position: relative;
}

.ccontainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 127, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(127, 0, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.sservices, .experience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.service-card, .experience-card {
    background: rgba(40,30,60,0.85);
    padding: 40px;
    border-radius: 22px;
    text-align: center;
    border: 1.5px solid rgba(255,255,255,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.service-card::before, .experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 127, 0.1), rgba(127, 0, 255, 0.1));
    opacity: 0;
    transition: 0.4s ease;
}

.service-card:hover, .experience-card:hover {
    box-shadow: 0 16px 48px 0 #ff00cc44, 0 2px 0 #a78bfa55;
    transform: translateY(-6px) scale(1.03);
}

.service-card:hover::before, .experience-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 25px auto;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(255, 0, 127, 0.3));
}

.service-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3, .experience-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.service-card h3::after, .experience-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #ff007f, #7f00ff);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover h3::after, .experience-card:hover h3::after {
    width: 100%;
}

.experience-section h2 {
    font-size: 3.5em;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.experience-section h2::after {
    display: none !important;
}

.experience-card p {
    color: #888;
    font-size: 1.1em;
    line-height: 1.8;
    font-weight: 300;
}

.maincard {
    padding: 120px 10%;
    background: #0a0a0a;
    position: relative;
}

.maincard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* url('./about/pic/profile.png') no-repeat center center/cover, */
        radial-gradient(circle at 20% 20%, rgba(255, 0, 127, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(127, 0, 255, 0.05) 0%, transparent 50%);
    opacity: 0.1;
    z-index: 0;
}

.maincard h2 {
    font-size: 3.5em;
margin-bottom: 30px;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.maincard h2::after {
    display: none !important;
}

.maincard p {
    max-width: 800px;
    margin: 0 auto 80px;
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.2em;
    font-weight: 300;
}

.maincard .cta-button {
    display: inline-block;
    padding: 18px 36px;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 0, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.maincard .cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(127, 0, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.maincard .social-links {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.maincard .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.maincard .btn i {
    font-size: 28px;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.maincard .btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    box-shadow: 0 6px 20px rgba(127, 0, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.maincard .btn:hover i {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.maincard .btn2 {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(127, 0, 255, 0.2);
}

.maincard .btn2:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(127, 0, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(90deg, #ff00cc 0%, #a78bfa 100%);
}

.cv-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.2);
    white-space: nowrap;
}

.cv-button i {
    font-size: 1.2em;
    transition: transform 0.4s ease;
}

.cv-button::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;
}

.cv-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.3);
}

.cv-button:hover i {
    transform: translateY(-2px);
}

.cv-button:hover::before {
    left: 100%;
}

.cv-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.2);
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Improve touch targets */
button, 
a, 
input, 
select, 
textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Prevent text size adjustment */
html {
    -webkit-text-size-adjust: 100%;
}

/* Improve tap highlight color */
* {
    -webkit-tap-highlight-color: rgba(255, 0, 127, 0.1);
}

/* Add pull-to-refresh indicator */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #ff007f, #ff4da6);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
}

body.refreshing::before {
    transform: translateY(0);
}

@media (max-width: 700px) {
  .hero {
    flex-direction: column !important;
    padding: 0 2vw !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero > div, .hero .left, .hero .right {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero h1 {
    font-size: 2rem !important;
  }
  .hero .social-icons a {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3rem !important;
  }
  nav ul {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: flex-start !important;
    background: rgba(10,10,10,0.98);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    padding: 1rem 0;
    z-index: 1000;
  }
  nav ul li {
    width: 100%;
    text-align: left;
    padding: 0.7rem 2vw;
  }
  .cv-button {
    width: 90vw !important;
    margin: 1rem auto !important;
    font-size: 1rem !important;
    padding: 1rem 0.5rem !important;
  }
  .maincard, .projects-section, .experience-section {
    padding: 2rem 2vw !important;
  }
  .service-card, .experience-card {
    width: 100% !important;
    margin: 0.5rem 0 !important;
    padding: 1rem !important;
  }
  .projects {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem !important;
  }
  .projects-title {
    font-size: 1.2rem !important;
  }
  .service-card img {
    width: 36px !important;
    height: 36px !important;
  }
  .footer, footer {
    font-size: 0.9rem !important;
    padding: 0.7rem !important;
  }
}
img, .service-card img, .profile img {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* Default: Gradient Highlight */
.highlight {
    background: linear-gradient(90deg, #ffe066 0%, #ff00cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1.2em;
    letter-spacing: 0.01em;
    filter: drop-shadow(0 2px 8px #ff00cc44);
    transition: text-shadow 0.2s;
}

/* 1. Neon Glow Only (No Gradient) */
.highlight-glow {
    color: #ffe066;
    font-weight: 900;
    font-size: 1.2em;
    text-shadow: 0 0 8px #ffe066, 0 0 16px #ff00cc88;
    letter-spacing: 0.01em;
    transition: text-shadow 0.2s;
}

/* 2. Animated Pulse */
.highlight-pulse {
    background: linear-gradient(90deg, #ffe066 0%, #ff00cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 1.2em;
    letter-spacing: 0.01em;
    filter: drop-shadow(0 2px 8px #ff00cc44);
    animation: pulse-glow 1.2s infinite alternate;
}
@keyframes pulse-glow {
    0% { filter: drop-shadow(0 2px 8px #ff00cc44); }
    100% { filter: drop-shadow(0 4px 16px #ffe066cc); }
}

/* 3. Boxed/Badge Style */
.highlight-badge {
    background: linear-gradient(90deg, #ffe066 0%, #ff00cc 100%);
    color: #181028;
    font-weight: 900;
    font-size: 1.1em;
    border-radius: 8px;
    padding: 0.1em 0.5em;
    box-shadow: 0 2px 12px #ff00cc33;
    display: inline-block;
}

::selection {
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: #fff;
    text-shadow: 0 2px 12px #ff00cc55, 0 1px 0 #a78bfa99;
    /* border-radius: 6px;  Not supported everywhere */
}
::-moz-selection {
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: #fff;
    text-shadow: 0 2px 12px #ff00cc55, 0 1px 0 #a78bfa99;
}

.hero-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(40, 30, 60, 0.45);
    box-shadow: 0 8px 40px 0 #a78bfa44, 0 1.5px 0 #ff00cc33;
    backdrop-filter: blur(12px);
    overflow: hidden;
    z-index: 2;
    border: 4px solid transparent;
    background-clip: padding-box;
}
.hero-photo::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #a78bfa, #ff00cc, #a78bfa 100%);
    filter: blur(12px);
    opacity: 0.7;
    z-index: 1;
    animation: spin-gradient 6s linear infinite;
}
@keyframes spin-gradient {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.hero-photo img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 24px #ff00cc33;
    position: relative;
    z-index: 2;
    border: 3px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
}
@media (max-width: 600px) {
    .hero-photo {
        width: 180px;
        height: 180px;
    }
}

.experience-section {
    text-align: center;
    margin-top: 3rem;
}
.experience {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2rem;
}
.experience-card {
    background: rgba(35, 33, 54, 0.92);
    border-radius: 22px;
    box-shadow: 0 8px 40px 0 #7F52FF33, 0 1.5px 0 #FF00CC33;
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 260px;
    max-width: 340px;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    text-align: left;
}
.experience-card:hover {
    box-shadow: 0 16px 48px 0 #FF00CC44, 0 2px 0 #7F52FF55;
    transform: translateY(-8px) scale(1.04);
}
.exp-icon {
    font-size: 2rem;
    color: #dad7d7;
    background: linear-gradient(90deg, #7F52FF 0%, #FF00CC 100%);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px #7F52FF33;
}
.exp-years {
    display: inline-block;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}
.exp-skill {
    color: #FFE066;
    font-weight: 700;
    background: linear-gradient(90deg, #7F52FF 0%, #FF00CC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 44px;
    font-size: 1.08em;
    color: #bdbdbd;
    transition: color 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}
.nav-icon {
    display: none;
    font-size: 1.3em;
    color: #7F52FF;
    transition: opacity 0.22s, transform 0.22s;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(0.8);
    opacity: 0;
    pointer-events: none;
}
.nav-link:hover .nav-text,
.nav-link:focus .nav-text {
    opacity: 0;
    transition: opacity 0.18s;
}
.nav-link:hover .nav-icon,
.nav-link:focus .nav-icon {
    display: block;
    opacity: 1;
    transform: translate(-50%,-50%) scale(1.1);
    color: #fff;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
}
.nav-text {
    transition: opacity 0.18s;
}
@media (max-width: 900px) {
    .nav-link {
        min-width: 60px;
        font-size: 1em;
    }
    .nav-icon { font-size: 1.1em; }
}

/* 1. Animated Gradient Underline for Navbar */
.nav-link::after {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF00CC 0%, #7F52FF 100%);
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 0.2s, transform 0.2s;
}
.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* 2. Card Fade-In Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}
.experience-card, .project-card, .service-card {
    animation: fadeInUp 0.8s cubic-bezier(.4,0,.2,1) both;
}

/* 3. Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background: #232136;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #7F52FF 0%, #FF00CC 100%);
    border-radius: 8px;
}

/* 4. Social Icon Pulse */
.social-links a:hover {
    animation: pulse 0.7s;
}
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.15);}
    100% { transform: scale(1);}
}

/* 5. Button Shine Effect */
.cta-button, .btn2, .cv-button {
    position: relative;
    overflow: hidden;
}
.cta-button::before, .btn2::before, .cv-button::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 50%; height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.0) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s;
}
.cta-button:hover::before, .btn2:hover::before, .cv-button:hover::before {
    left: 120%;
}

.skills-section {
  margin-top: 3rem;
  text-align: center;
  padding-bottom: 2rem;
}
.skills-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #a78bfa, #ff00cc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(40,30,60,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #a78bfa33, 0 1.5px 0 #ff00cc33;
  padding: 1.5rem 1.2rem 1.1rem 1.2rem;
  min-width: 110px;
  min-height: 120px;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  border: 1.5px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  position: relative;
  margin-bottom: 0.5rem;
}
.skill-card i {
  font-size: 2.5rem;
  margin-bottom: 0.7rem;
  filter: drop-shadow(0 2px 8px #ff00cc44);
  transition: transform 0.22s, filter 0.22s;
}
.skill-card span {
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  margin-top: 0.2rem;
}
.skill-card:hover {
  transform: translateY(-6px) scale(1.07);
  background: linear-gradient(120deg, #a78bfa22 0%, #ff00cc22 100%);
  box-shadow: 0 8px 32px 0 #ff00cc55, 0 0 24px #a78bfa55;
}
.skill-card:hover i {
  transform: scale(1.18) rotate(-8deg);
  filter: drop-shadow(0 4px 16px #ffe066cc);
}
@media (max-width: 900px) {
  .skills-grid { gap: 1.2rem; }
  .skill-card { min-width: 90px; min-height: 100px; padding: 1rem 0.7rem; }
  .skill-card i { font-size: 2rem; }
  .skills-section h2 { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  .skills-grid { gap: 0.7rem; }
  .skill-card { min-width: 70px; min-height: 80px; padding: 0.7rem 0.3rem; }
  .skill-card i { font-size: 1.3rem; }
  .skills-section h2 { font-size: 1.1rem; }
}

.education-section {
  margin-top: 3rem;
  text-align: center;
  padding-bottom: 2rem;
}
.education-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(90deg, #a78bfa, #ff00cc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}
.education-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.education-card {
  background: rgba(40,30,60,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 #a78bfa33, 0 1.5px 0 #ff00cc33;
  padding: 2rem 2.5rem;
  min-width: 260px;
  max-width: 340px;
  text-align: left;
  border: 1.5px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  position: relative;
  margin-bottom: 0.5rem;
}
.education-card:hover {
  transform: translateY(-6px) scale(1.04);
  background: linear-gradient(120deg, #a78bfa22 0%, #ff00cc22 100%);
  box-shadow: 0 8px 32px 0 #ff00cc55, 0 0 24px #a78bfa55;
}
.education-card i {
  font-size: 2rem;
  color: #a78bfa;
  margin-right: 0.7rem;
  filter: drop-shadow(0 2px 8px #a78bfa44);
  transition: transform 0.22s, filter 0.22s;
}
.education-card:hover i {
  transform: scale(1.12) rotate(-8deg);
  filter: drop-shadow(0 4px 16px #ffe066cc);
}
.education-card span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.education-card div {
  margin-bottom: 0.2rem;
}
@media (max-width: 900px) {
  .education-grid { gap: 1.2rem; }
  .education-card { min-width: 180px; max-width: 98vw; padding: 1.2rem 0.7rem; }
  .education-section h2 { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  .education-grid { gap: 0.7rem; }
  .education-card { min-width: 120px; max-width: 99vw; padding: 0.7rem 0.3rem; }
  .education-section h2 { font-size: 1.1rem; }
}

/* Scroll to Top Button Styles */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(90deg, #ff00cc 0%, #a78bfa 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.4);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(127, 0, 255, 0.6);
}

.scroll-to-top-btn i {
    transition: transform 0.3s ease-in-out;
}

.scroll-to-top-btn:hover i {
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Mobile Responsive Styles (Extended) */

/* Additional Mobile Breakpoint: Small Phones (e.g., max-width 375px) */
@media (max-width: 375px) {
    /* General Adjustments */
    body {
        padding: 0 10px;
    }

    /* Header */
    header {
        padding: 12px 15px;
    }
    .logo {
        width: 35px;
        height: 35px;
    }

    /* Hero Section */
    .hero {
        padding-top: 60px;
        min-height: calc(100vh - 60px);
    }
    .hero h1 {
        font-size: 1.6em !important; /* Ensure font size adjusts on very small screens */
    }
    .hero p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .hero .social-links a {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.1em !important;
        margin: 0 8px !important;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }

    /* About Section */
    .maincard {
        padding: 2rem 15px !important;
    }
    .about-profile-unique-wrapper {
        width: 150px !important;
        height: 150px !important;
    }
    .about-content {
        padding: 1rem !important;
    }
    .about-content h3 {
        font-size: 1.1rem !important;
    }
    .about-content p {
        font-size: 0.85rem !important;
    }

    /* Services & Experience Sections */
    .sservices, .experience {
        gap: 1rem !important;
    }
    .service-card, .experience-card {
        padding: 1.2rem !important;
    }
    .service-card img {
        width: 30px !important;
        height: 30px !important;
        margin-bottom: 15px !important;
    }
    .service-card h3, .experience-card h3 {
        font-size: 1.1em !important;
        margin: 10px 0 !important;
    }
    .service-card p, .experience-card p {
        font-size: 0.9em !important;
    }

    /* Skills Section */
    .skills-grid {
        gap: 0.5rem !important;
    }
    .skill-card {
         min-width: 60px !important;
         min-height: 70px !important;
         padding: 0.6rem 0.2rem !important;
         margin-bottom: 0.3rem !important;
    }
    .skill-card i {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
    }
    .skill-card span {
        font-size: 0.8rem !important;
    }
    .skills-section h2 {
        font-size: 1em !important;
    }

    /* Education Section */
    .education-grid {
        gap: 0.5rem !important;
    }
    .education-card {
        padding: 0.6rem 0.5rem !important;
        margin-bottom: 0.3rem !important;
    }
     .education-card i {
        font-size: 1.4rem !important;
    }
    .education-card span {
        font-size: 0.9rem !important;
    }
     .education-section h2 {
        font-size: 1em !important;
    }

    /* Projects Section */
    #targetSection {
        padding: 2rem 15px !important;
    }
    .projects-title {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }
    .projects-underline {
        width: 50px !important;
    }
    .projects-description {
        font-size: 0.85rem !important;
        margin-bottom: 20px !important;
    }
     .project-card {
        padding: 20px !important;
    }
    .project-card h3 {
        font-size: 1.3em !important;
        margin: 10px 0 !important;
    }
    .project-card p {
        font-size: 0.9em !important;
        margin-bottom: 15px !important;
    }
    .btn2 {
        padding: 10px 20px !important;
        font-size: 0.9em !important;
    }

    /* Contact Section */
    .contact-section {
        padding: 2rem 15px !important;
    }
    .contact-container {
        padding: 20px 15px !important;
    }
    .contact-container h2 {
        font-size: 1.6rem !important;
    }
    .contact-container > p {
        font-size: 0.85rem !important;
        margin-bottom: 20px !important;
    }
    .contact-info p {
        font-size: 0.8rem !important;
    }
    input, textarea {
        padding: 8px !important;
        font-size: 0.8rem !important;
    }
    textarea {
        min-height: 80px !important;
    }
    button[type="submit"] {
        padding: 8px 16px !important;
        font-size: 0.9em !important;
        margin-top: 15px !important;
    }

    /* Footer */
    footer {
        padding: 10px !important;
        font-size: 0.8em !important;
    }

    /* Scroll to Top Button */
     .scroll-to-top-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        bottom: 15px !important;
        right: 15px !important;
     }
}

/* Additional Mobile Breakpoint: Larger Phones (e.g., max-width 550px) */
@media (max-width: 550px) and (min-width: 376px) {
    /* General Adjustments */
    body {
        padding: 0 15px;
    }

    /* Header */
    header {
        padding: 15px 20px;
    }
    .logo {
        width: 40px;
        height: 40px;
    }

     /* Hero Section */
    .hero {
        padding-top: 70px;
        min-height: calc(100vh - 70px);
    }
    .hero h1 {
        font-size: 2em !important;
    }
    .hero p {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .hero .social-links a {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.3em !important;
        margin: 0 10px !important;
    }
    .cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    /* About Section */
    .maincard {
        padding: 2.5rem 20px !important;
    }
    .about-profile-unique-wrapper {
        width: 180px !important;
        height: 180px !important;
    }
    .about-content {
        padding: 1.3rem !important;
    }
    .about-content h3 {
        font-size: 1.2rem !important;
    }
    .about-content p {
        font-size: 0.9rem !important;
    }

     /* Services & Experience Sections */
    .sservices, .experience {
        gap: 1.2rem !important;
    }
    .service-card, .experience-card {
        padding: 1.3rem !important;
    }
    .service-card img {
        width: 35px !important;
        height: 35px !important;
        margin-bottom: 18px !important;
    }
    .service-card h3, .experience-card h3 {
        font-size: 1.2em !important;
        margin: 12px 0 !important;
    }
    .service-card p, .experience-card p {
        font-size: 0.95em !important;
    }

    /* Skills Section */
    .skills-grid {
        gap: 0.8rem !important;
    }
    .skill-card {
         min-width: 80px !important;
         min-height: 90px !important;
         padding: 0.8rem 0.5rem !important;
         margin-bottom: 0.4rem !important;
    }
    .skill-card i {
        font-size: 1.8rem !important;
        margin-bottom: 0.6rem !important;
    }
    .skill-card span {
        font-size: 0.9em !important;
    }
    .skills-section h2 {
        font-size: 1.2em !important;
    }

    /* Education Section */
    .education-grid {
        gap: 0.8rem !important;
    }
    .education-card {
        padding: 0.8rem 0.6rem !important;
        margin-bottom: 0.4rem !important;
    }
     .education-card i {
        font-size: 1.6rem !important;
    }
    .education-card span {
        font-size: 1.1em !important;
    }
     .education-section h2 {
        font-size: 1.2em !important;
    }

     /* Projects Section */
    #targetSection {
        padding: 2.5rem 20px !important;
    }
    .projects-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important;
    }
    .projects-underline {
        width: 60px !important;
    }
    .projects-description {
        font-size: 0.9em !important;
        margin-bottom: 25px !important;
    }
     .project-card {
        padding: 22px !important;
    }
    .project-card h3 {
        font-size: 1.35em !important;
        margin: 12px 0 !important;
    }
    .project-card p {
        font-size: 0.95em !important;
        margin-bottom: 18px !important;
    }
    .btn2 {
        padding: 11px 22px !important;
        font-size: 1em !important;
    }

    /* Contact Section */
    .contact-section {
        padding: 2.5rem 20px !important;
    }
    .contact-container {
        padding: 22px 18px !important;
    }
    .contact-container h2 {
        font-size: 1.8rem !important;
    }
    .contact-container > p {
        font-size: 0.9em !important;
        margin-bottom: 25px !important;
    }
    .contact-info p {
        font-size: 0.85rem !important;
    }
    input, textarea {
        padding: 10px !important;
        font-size: 0.85rem !important;
    }
    textarea {
        min-height: 90px !important;
    }
    button[type="submit"] {
        padding: 10px 20px !important;
        font-size: 1em !important;
        margin-top: 18px !important;
    }

    /* Footer */
    footer {
        padding: 12px !important;
        font-size: 0.9em !important;
    }

    /* Scroll to Top Button */
     .scroll-to-top-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
        bottom: 20px !important;
        right: 20px !important;
     }
}

/* Certificates Section Styles */
.certificates-section {
    padding: 120px 10%; /* Similar padding to other main sections */
    background: #0a0a0a; /* Consistent background */
    position: relative;
    text-align: center;
}

.certificates-section .container {
    max-width: 1200px; /* Limit content width */
    margin: 0 auto;
}

.certificates-section h2 {
    font-size: 3.5em; /* Similar font size to other main titles */
    margin-bottom: 30px;
    color: #fff;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
    gap: 30px; /* Spacing between grid items */
    margin-top: 40px;
    padding: 0;
    list-style: none; /* Remove list styles if using ul/li */
}

.certificate-item {
    background: rgba(40,30,60,0.85); /* Card background */
    padding: 30px; /* Card padding */
    border-radius: 18px; /* Rounded corners */
    text-align: center; /* Center content */
    border: 1.5px solid rgba(255,255,255,0.08); /* Subtle border */
    transition: box-shadow 0.3s, transform 0.3s; /* Smooth transitions */
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px); /* Blur effect */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.certificate-item:hover {
    box-shadow: 0 12px 32px 0 #ff00cc44, 0 2px 0 #a78bfa55; /* Enhanced shadow on hover */
    transform: translateY(-6px) scale(1.03); /* Lift and slightly scale on hover */
}

.certificate-item a {
    text-decoration: none; /* Remove underline from link */
    color: #fff; /* Link color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.certificate-item .fas {
    font-size: 3em; /* Large icon size */
    color: #a78bfa; /* Icon color */
    margin-bottom: 15px; /* Space below icon */
    filter: drop-shadow(0 3px 10px rgba(127, 0, 255, 0.4)); /* Icon shadow */
    transition: color 0.3s, filter 0.3s;
}

.certificate-item:hover .fas {
    color: #ff00cc; /* Change icon color on hover */
    filter: drop-shadow(0 3px 10px rgba(255, 0, 127, 0.6)); /* Change icon shadow on hover */
}

.certificate-item span {
    font-size: 1.1em; /* Text size */
    font-weight: 600;
    color: #fff; /* Text color */
    text-align: center;
    line-height: 1.4;
}

/* Responsive adjustments for certificates grid */
@media (max-width: 900px) {
    .certificates-section {
        padding: 80px 5%;
    }
    .certificates-section h2 {
        font-size: 2.5em;
    }
    .certificates-grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .certificate-item {
        padding: 25px;
    }
    .certificate-item .fas {
        font-size: 2.5em;
        margin-bottom: 10px;
    }
    .certificate-item span {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
     .certificates-section {
        padding: 60px 20px;
    }
    .certificates-section h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .certificates-grid {
        gap: 15px;
        grid-template-columns: 1fr; /* Stack items on very small screens */
    }
    .certificate-item {
        padding: 20px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }
     .certificate-item .fas {
        font-size: 2em;
        margin-bottom: 0;
    }
     .certificate-item span {
        text-align: left;
        font-size: 0.95em;
    }
}

@media (max-width: 400px) {
     .certificates-section {
        padding: 40px 15px;
    }
     .certificates-section h2 {
        font-size: 1.8em;
    }
    .certificate-item {
        padding: 15px;
        gap: 10px;
    }
     .certificate-item .fas {
        font-size: 1.8em;
    }
     .certificate-item span {
        font-size: 0.9em;
    }
}

/* View Options Styles */
.view-options {
    margin-bottom: 20px;
}

.view-options button {
    background: rgba(40,30,60,0.85);
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.view-options button.active {
    background: linear-gradient(90deg, #ff00cc 0%, #a78bfa 100%);
}

.view-options button:hover {
    background: rgba(40,30,60,1);
}

/* List View Styles */
.certificates-list {
    display: flex; /* Change to flex for list layout */
    flex-direction: column; /* Stack items vertically */
    gap: 15px; /* Spacing between list items */
    margin-top: 40px;
    padding: 0;
    list-style: none;
}

.certificates-list .certificate-item {
    background: rgba(30,20,50,0.9);
    padding: 15px 20px; /* Adjust padding for list items */
    border-radius: 10px; /* Less rounded corners */
    flex-direction: row; /* Arrange content in a row */
    align-items: center; /* Align items vertically in the center */
    text-align: left; /* Align text to the left */
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.certificates-list .certificate-item:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    transform: translateY(-3px);
}

.certificates-list .certificate-item a {
    flex-direction: row; /* Arrange content in a row within the link */
    align-items: center;
    justify-content: flex-start; /* Align content to the left */
    gap: 15px; /* Space between icon and text */
}

.certificates-list .certificate-item .fas {
    font-size: 1.8em; /* Smaller icon size for list */
    margin-bottom: 0; /* Remove bottom margin */
}

.certificates-list .certificate-item span {
    font-size: 1em; /* Adjust text size for list */
    text-align: left;
}

/* Responsive adjustments for list view */
@media (max-width: 600px) {
    .view-options button {
        font-size: 0.9em;
        padding: 8px 12px;
    }
    .certificates-list .certificate-item {
        padding: 12px 15px;
        gap: 10px;
    }
    .certificates-list .certificate-item .fas {
        font-size: 1.5em;
    }
     .certificates-list .certificate-item span {
        font-size: 0.9em;
    }
}

@media (max-width: 600px) {
  body, html {
    font-size: 15px !important;
  }
  h1, .hero h1, .projects-title, .maincard h2, .skills-section h2, .education-section h2, .certificates-section h2 {
    font-size: 1.3rem !important;
    line-height: 1.2 !important;
  }
  h2, h3, .service-card h3, .experience-card h3, .project-card h3 {
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
  }
  p, .maincard p, .project-card p, .service-card p, .experience-card p, .education-card span, .education-card div {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }
  .cv-button, .cta-button, .btn2 {
    font-size: 0.95rem !important;
    padding: 0.7rem 1.2rem !important;
    min-height: 44px !important;
  }
  .service-card, .experience-card, .project-card, .education-card {
    padding: 0.8rem 0.5rem !important;
    border-radius: 12px !important;
  }
  .social-links a, .btn, .maincard .btn {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 1.1rem !important;
  }
  .skills-grid, .education-grid {
    gap: 0.5rem !important;
  }
  .skill-card {
    min-width: 60px !important;
    min-height: 70px !important;
    padding: 0.6rem 0.2rem !important;
    margin-bottom: 0.3rem !important;
  }
  .skill-card i {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
  }
  .skill-card span {
    font-size: 0.8rem !important;
  }
}

/* Floating WhatsApp FAB (Mobile Only) */
.fab-whatsapp {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1200;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  opacity: 0.95;
}
.fab-whatsapp:hover {
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  transform: scale(1.08);
}
@media (max-width: 600px) {
  .fab-whatsapp {
    display: flex;
  }
}

/* Section Reveal Animation */
#aboutSection, #projectsSection, #contactSection {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
#aboutSection.visible, #projectsSection.visible, #contactSection.visible {
  opacity: 1;
  transform: translateY(0);
}



@keyframes border-gradient-move {
  0% { border-image-source: linear-gradient(90deg, #a78bfa, #ff00cc, #a78bfa); }
  50% { border-image-source: linear-gradient(270deg, #ff00cc, #a78bfa, #ff00cc); }
  100% { border-image-source: linear-gradient(90deg, #a78bfa, #ff00cc, #a78bfa); }
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 36px;
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.08em;
    box-shadow: 0 4px 20px 0 #ff00cc33, 0 0 16px #a78bfa33;
    border: none;
    transition: 
        transform 0.18s cubic-bezier(.4,0,.2,1),
        box-shadow 0.18s,
        background 0.22s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}
.about-btn i {
    font-size: 1.2em;
    transition: color 0.2s, transform 0.2s;
}
.about-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;
}
.about-btn:hover, .about-btn:focus {
    background: linear-gradient(90deg, #ff00cc 0%, #a78bfa 100%);
    color: #ffe066;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 8px 32px 0 #ff00cc55, 0 0 24px #a78bfa55;
    text-decoration: none;
}
.about-btn:hover::before, .about-btn:focus::before {
    left: 100%;
}
.about-btn:hover i, .about-btn:focus i {
    color: #ffe066;
    transform: translateY(-2px) scale(1.15) rotate(-8deg);
}
@media (max-width: 600px) {
    .about-btn {
        width: 100%;
        justify-content: center;
        font-size: 1em;
        padding: 20px 10%;
        border-radius: 0;
        box-shadow: none;
        margin-top: 20px;
    }
}

