/* Reset and base styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
}
body.home-bg {
    background: #111;
}
body.skills-bg {
    background: linear-gradient(120deg, #181828, #23233a, #7c3aed, #181828);
    background-size: 400% 400%;
    animation: skills-bg-animate 16s ease-in-out infinite;
}
body.projects-bg {
    background: #0a0c16;
}
body.about-bg {
    background: #181828;
}
body.contact-bg {
    background: #fff;
}

/* Header and Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
    padding: 1.5em 3em 1.5em 2em;
    position: relative;
}
.logo-nav {
    display: flex;
    align-items: center;
}
.site-logo {
    height: 36px;
    width: 36px;
    margin-right: 0.7em;
}
.site-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.3em;
    letter-spacing: 1px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
}
.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: color 0.2s;
    padding: 0.4em 1em;
    border-radius: 20px;
}
.nav-links li a:hover, .nav-links li .contact-btn {
    color: #fff;
    background: #7c3aed;
}
.nav-links li a.active {
    color: #fff;
    background: #7c3aed;
    font-weight: 700;
    box-shadow: 0 2px 8px #7c3aed33;
    text-decoration: underline;
}
.contact-btn {
    background: #7c3aed;
    color: #fff !important;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.4em 1.2em;
    margin-left: 0.5em;
    transition: background 0.2s, color 0.2s;
}
.header-logo {
    height: 44px;
    width: auto;
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
@media (max-width: 700px) {
    .header-logo {
        height: 32px;
        right: 1em;
    }
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* background: #111; */
    color: #fff;
    padding: 3em 8vw 2em 8vw;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    /* animation: animated-bg 10s ease-in-out infinite alternate; */
}
@keyframes animated-bg {
    0% {
        background-position: 0% 50%;
        background: linear-gradient(120deg, #111 0%, #232526 100%);
    }
    50% {
        background-position: 100% 50%;
        background: linear-gradient(120deg, #232526 0%, #7c3aed 100%);
    }
    100% {
        background-position: 0% 50%;
        background: linear-gradient(120deg, #111 0%, #232526 100%);
    }
}
.hero-content {
    max-width: 50%;
    z-index: 2;
}
.hero-title {
    font-size: 2.8em;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}
.emoji {
    font-size: 1.2em;
    vertical-align: middle;
    display: inline-block;
    animation: fire-flicker 1.2s infinite alternate;
}
@keyframes fire-flicker {
    0% { filter: brightness(1) drop-shadow(0 0 2px #ff9800); transform: scale(1) rotate(-2deg); }
    20% { filter: brightness(1.2) drop-shadow(0 0 6px #ff9800); transform: scale(1.05) rotate(2deg); }
    40% { filter: brightness(1.1) drop-shadow(0 0 8px #ffb300); transform: scale(0.98) rotate(-1deg); }
    60% { filter: brightness(1.3) drop-shadow(0 0 10px #ffd740); transform: scale(1.04) rotate(1deg); }
    80% { filter: brightness(1.15) drop-shadow(0 0 6px #ff9800); transform: scale(1.02) rotate(-2deg); }
    100% { filter: brightness(1) drop-shadow(0 0 2px #ff9800); transform: scale(1) rotate(0deg); }
}
.hero-subtitle {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 2em;
    max-width: 90%;
}
.hero-buttons {
    display: flex;
    gap: 1.2em;
    margin-bottom: 2em;
}
.btn {
    display: inline-block;
    padding: 0.8em 2em;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px 0 rgba(198,255,0,0.08);
}
.btn:hover, .btn:focus {
    box-shadow: 0 4px 32px 0 #c6ff00cc, 0 1.5px 8px 0 #7c3aed55;
    transform: scale(1.07);
    outline: none;
}
.btn-primary {
    background: #7c3aed;
    color: #fff;
}
.btn-primary:hover {
    background: #5f27cd;
}
.btn-secondary {
    background: #7c3aed;
    color: #fff;
    border: 2px solid #7c3aed;
}
.btn-secondary:hover {
    background: #5f27cd;
    color: #fff;
}
.social-links {
    margin-top: 1.5em;
    display: flex;
    gap: 1em;
}
.social-links a {
    display: inline-block;
    background: #fff;
    color: #111;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.social-links a:hover {
    background: #c6ff00;
    color: #111;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    width: 340px;
    height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.image-bg-shape {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 280px;
    height: 340px;
    background: #7c3aed;
    border-radius: 30px;
    z-index: 1;
    transform: rotate(-8deg);
    box-shadow: 0 0 40px 10px #7c3aed66;
    animation: shape-rotate-glow 6s linear infinite alternate;
}
@keyframes shape-rotate-glow {
    0% {
        transform: rotate(-8deg) scale(1);
        box-shadow: 0 0 40px 10px #7c3aed66;
    }
    50% {
        transform: rotate(8deg) scale(1.04);
        box-shadow: 0 0 60px 20px #a084fa99;
    }
    100% {
        transform: rotate(-8deg) scale(1);
        box-shadow: 0 0 40px 10px #7c3aed66;
    }
}
.hero-image {
    position: relative;
    width: 280px;
    height: 340px;
    object-fit: cover;
    border-radius: 30px;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* Modern Hero Animations */
.hero-title {
    opacity: 0;
    transform: translateY(40px);
    animation: slide-fade-in 1s 0.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-subtitle {
    opacity: 0;
    transform: translateY(40px);
    animation: fade-up 1s 0.7s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-buttons {
    opacity: 0;
    transform: scale(0.8);
    animation: pop-in 0.7s 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero-image-wrapper {
    opacity: 0;
    transform: translateX(60px);
    animation: slide-in-image 1.2s 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes slide-fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pop-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes slide-in-image {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 1em 0;
    background: #222;
    color: #fff;
    margin-top: 2em;
    border-radius: 0 0 8px 8px;
    font-size: 0.95em;
}
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.2em;
    margin-bottom: 0.5em;
}
.footer-icon {
    color: #fff;
    background: #181828;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.footer-icon:hover {
    background: #7c3aed;
    color: #fff;
    transform: scale(1.13);
}

/* Animated Contact Form */
.contact-form-outer {
    position: relative;
    max-width: 420px;
    margin: 3em auto 2em auto;
    padding: 2.5em 2em 2em 2em;
    border-radius: 24px;
    background: rgba(20, 20, 30, 0.98);
    box-shadow: 0 8px 32px rgba(124,58,237,0.12);
    overflow: visible;
}
.animated-border {
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 28px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(270deg, #c6ff00, #7c3aed, #00e0ff, #c6ff00);
    background-size: 600% 600%;
    filter: blur(4px) brightness(1.2);
    animation: border-animate 6s linear infinite;
}
@keyframes border-animate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.contact-form {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}
.contact-form h2 {
    color: #c6ff00;
    text-align: center;
    margin-bottom: 0.5em;
    font-size: 1.5em;
    letter-spacing: 1px;
}
.form-group {
    position: relative;
    margin-bottom: 1.2em;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.1em 1em 0.7em 1em;
    border: 2px solid #7c3aed44;
    border-radius: 12px;
    background: #181828;
    color: #fff;
    font-size: 1em;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(124,58,237,0.04);
    resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #c6ff00;
    box-shadow: 0 0 12px #c6ff00aa;
}
.form-group label {
    position: absolute;
    left: 1em;
    top: 1.1em;
    color: #aaa;
    font-size: 1em;
    pointer-events: none;
    background: transparent;
    transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}
.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -0.7em;
    left: 0.8em;
    font-size: 0.85em;
    color: #c6ff00;
    background: #181828;
    padding: 0 0.3em;
    border-radius: 6px;
}
.animated-btn {
    position: relative;
    overflow: hidden;
    z-index: 2;
    background: linear-gradient(90deg, #c6ff00, #7c3aed, #00e0ff, #c6ff00);
    background-size: 300% 300%;
    color: #111;
    font-weight: 700;
    box-shadow: 0 2px 16px 0 #c6ff0033;
    transition: background 0.3s, color 0.2s, box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.animated-btn:hover, .animated-btn:focus {
    background-position: 100% 0;
    color: #fff;
    box-shadow: 0 4px 32px 0 #7c3aed99, 0 1.5px 8px 0 #c6ff0055;
    transform: scale(1.08);
    outline: none;
}
.contact-form-black {
    background: #111 !important;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 #000a;
}
.contact-form-black h2,
.contact-form-black label,
.contact-form-black input,
.contact-form-black textarea {
    color: #fff !important;
}
.contact-form-black input,
.contact-form-black textarea {
    background: #181828;
    border: 2px solid #333;
}
.contact-form-black input:focus,
.contact-form-black textarea:focus {
    border: 2px solid #c6ff00;
    box-shadow: 0 0 12px #c6ff00aa;
}
.contact-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 16px;
    margin-top: 1.5em;
    box-shadow: 0 2px 16px 0 #7c3aed33;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 2em 2vw;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-image-wrapper {
        margin: 2em auto 0 auto;
    }
}
@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1em 1em 1em 1em;
    }
    .hero-title {
        font-size: 2em;
    }
    .hero-section {
        padding: 1em 0.5em;
    }
    .hero-image-wrapper {
        width: 220px;
        height: 260px;
    }
    .image-bg-shape, .hero-image {
        width: 180px;
        height: 220px;
    }
    .contact-form-outer {
        padding: 1.2em 0.5em 1em 0.5em;
    }
} 

/* About Us Page Styles */
.about-floating-balls {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.ball {
    position: absolute;
    border-radius: 50%;
    opacity: 0.18;
    filter: blur(1px);
    animation: float-ball 12s linear infinite alternate;
}
.ball1 {
    width: 90px; height: 90px;
    background: #7c3aed;
    left: 8%; top: 12%;
    animation-duration: 14s;
}
.ball2 {
    width: 60px; height: 60px;
    background: #1de9b6;
    left: 70%; top: 18%;
    animation-duration: 11s;
}
.ball3 {
    width: 120px; height: 120px;
    background: #ffc107;
    left: 40%; top: 70%;
    animation-duration: 16s;
}
.ball4 {
    width: 50px; height: 50px;
    background: #00e0ff;
    left: 80%; top: 60%;
    animation-duration: 13s;
}
.ball5 {
    width: 70px; height: 70px;
    background: #ff4c4c;
    left: 20%; top: 80%;
    animation-duration: 15s;
}
@keyframes float-ball {
    0% { transform: translateY(0) scale(1); opacity: 0.18; }
    50% { transform: translateY(-40px) scale(1.08); opacity: 0.22; }
    100% { transform: translateY(40px) scale(0.95); opacity: 0.18; }
}
.about-main {
    min-height: 70vh;
    padding: 3em 0 2em 0;
    position: relative;
}
.about-bg-animated {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: linear-gradient(120deg, #7c3aed 0%, #00e0ff 100%);
    background-size: 200% 200%;
    animation: about-bg-move 8s ease-in-out infinite alternate;
    opacity: 0.18;
}
@keyframes about-bg-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.about-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
    background: rgba(255,255,255,0.07);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(124,58,237,0.10);
    padding: 2.5em 2em;
    gap: 2.5em;
    overflow: hidden;
    animation: about-fade-in 1.2s cubic-bezier(0.4,0,0.2,1);
}
@keyframes about-fade-in {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}
.about-image-section {
    flex: 1 1 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(124,58,237,0.18);
    border: 4px solid #fff;
    background: #fff;
    animation: about-img-pop 1.2s 0.2s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes about-img-pop {
    from { opacity: 0; transform: scale(0.8) rotate(-8deg); }
    to { opacity: 1; transform: scale(1) rotate(0deg); }
}
.about-content-section {
    flex: 2 1 400px;
    color: #181828;
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    padding: 2em 2em 1.5em 2em;
    box-shadow: 0 2px 12px rgba(198,255,0,0.04);
    animation: about-content-slide 1.2s 0.4s cubic-bezier(0.4,0,0.2,1) both;
}
@keyframes about-content-slide {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: none; }
}
.about-content-section h2 {
    color: #7c3aed;
    margin-top: 0;
    font-size: 2em;
    margin-bottom: 0.5em;
}
.about-bio {
    font-size: 1.1em;
    margin-bottom: 1.2em;
    color: #333;
}
.about-highlights, .company-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2em 0;
}
.about-highlights li, .company-highlights li {
    font-size: 1em;
    margin-bottom: 0.5em;
    color: #444;
    padding-left: 1.2em;
    position: relative;
}
.about-highlights li::before, .company-highlights li::before {
    content: '';
    position: absolute;
    left: 0.2em;
    top: 0.7em;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background: linear-gradient(90deg, #c6ff00, #7c3aed);
    opacity: 0.7;
}
.company-bio {
    font-size: 1.05em;
    margin-bottom: 1em;
    color: #222;
}
.about-content-section h3 {
    color: #00e0ff;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        padding: 1.5em 0.5em;
        gap: 1.5em;
    }
    .about-content-section {
        padding: 1.2em 1em 1em 1em;
    }
}
@media (max-width: 600px) {
    .about-image {
        width: 140px;
        height: 160px;
    }
    .about-content-section {
        padding: 1em 0.5em 0.5em 0.5em;
    }
} 

/* Contact Us Split Page Styles */
.contact-main {
    min-height: 70vh;
    padding: 3em 0 2em 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-waves-bg {
    background: none;
}
.contact-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}
.wave-svg {
    width: 100vw;
    min-width: 100%;
    height: 120px;
    display: block;
}
.contact-split-container {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 950px;
    width: 100%;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(124,58,237,0.10);
    overflow: hidden;
    animation: about-fade-in 1.2s cubic-bezier(0.4,0,0.2,1);
}
.contact-image-section {
    flex: 1 1 320px;
    min-width: 220px;
    background: #f3edea;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em 1em;
    animation: about-img-pop 1.2s 0.2s cubic-bezier(0.4,0,0.2,1) both;
}
.contact-image {
    width: 320px;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(124,58,237,0.10);
    background: #fff;
}
.contact-content-section {
    flex: 2 1 400px;
    padding: 2.5em 2em 2em 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    animation: about-content-slide 1.2s 0.4s cubic-bezier(0.4,0,0.2,1) both;
}
.contact-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 1.2em;
    color: #181828;
}
.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.1em;
    margin-bottom: 1.5em;
}
.contact-form-modern .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5em;
}
.contact-form-modern label {
    font-size: 1em;
    color: #222;
    margin-bottom: 0.3em;
    font-weight: 500;
}
.contact-form-modern input,
.contact-form-modern textarea {
    border: none;
    border-bottom: 2px solid #bbb;
    background: transparent;
    padding: 0.7em 0.2em 0.4em 0.2em;
    font-size: 1em;
    color: #222;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}
.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
    border-bottom: 2px solid #7c3aed;
}
.contact-btn {
    background: #111;
    color: #fff;
    border-radius: 24px;
    font-size: 1.1em;
    font-weight: 600;
    padding: 0.7em 2em;
    margin-top: 0.7em;
    box-shadow: 0 2px 12px 0 rgba(124,58,237,0.08);
    transition: background 0.2s, color 0.2s, box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.contact-btn:hover, .contact-btn:focus {
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 4px 32px 0 #7c3aed33;
    transform: scale(1.07);
    outline: none;
}
.contact-info {
    display: flex;
    gap: 2.5em;
    margin: 1.2em 0 0.7em 0;
    font-size: 1em;
    color: #222;
}
.contact-info a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 500;
}
.contact-info a:hover {
    text-decoration: underline;
}
.contact-socials {
    display: flex;
    gap: 1.2em;
    margin-top: 0.5em;
}
.social-icon {
    font-family: 'FontAwesome', Arial, sans-serif;
    font-size: 1.3em;
    color: #181828;
    background: #f3f3f3;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.social-icon:hover {
    background: #7c3aed;
    color: #fff;
    transform: scale(1.13);
}
@media (max-width: 900px) {
    .contact-split-container {
        flex-direction: column;
        max-width: 98vw;
    }
    .contact-image-section {
        padding: 1.2em 0.5em;
    }
    .contact-content-section {
        padding: 1.2em 1em 1em 1em;
    }
}
@media (max-width: 600px) {
    .contact-image {
        width: 180px;
        height: 200px;
    }
    .contact-content-section {
        padding: 1em 0.5em 0.5em 0.5em;
    }
    .contact-title {
        font-size: 1.3em;
    }
} 

/* Projects Page Styles */
.dark-bg {
    background: #0a0c16 !important;
}
.projects-main {
    min-height: 70vh;
    padding: 3em 0 2em 0;
}
.projects-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.3em;
    color: #fff;
    letter-spacing: 1px;
}
.projects-subtitle {
    text-align: center;
    color: #ff4c4c;
    font-size: 1.1em;
    margin-bottom: 2em;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2em;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1em;
}
.project-card {
    background: #181828;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.08);
    padding: 1.2em 1em 1em 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: project-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.3s; }
.project-card:nth-child(3) { animation-delay: 0.5s; }
.project-card:nth-child(4) { animation-delay: 0.7s; }
.project-card:hover {
    box-shadow: 0 8px 40px 0 #7c3aed33, 0 2px 12px 0 #c6ff0033;
    transform: translateY(-8px) scale(1.03);
}
@keyframes project-fade-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.project-image {
    width: 100%;
    aspect-ratio: 16/9;
    height: 160px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    margin-bottom: 1em;
    box-shadow: 0 2px 12px rgba(124,58,237,0.06);
    align-self: center;
    background: #23233a;
}
.project-category {
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 0.5em;
    margin-left: 0.1em;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}
.project-category.webapp {
    color: #ff4c4c;
}
.project-category.ml {
    color: #ffb300;
}
.project-category.mobile {
    color: #00bcd4;
}
.project-category.uiux {
    color: #7c3aed;
}
.project-category.other {
    color: #888;
}
.project-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    margin: 0.2em 0 0.1em 0;
    text-align: left;
}
.project-desc {
    font-size: 1em;
    color: #333;
    text-align: center;
    margin-bottom: 0.2em;
}
.project-tech-list {
    margin: 0.7em 0 0.5em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}
.project-tech {
    background: #23233a;
    color: #c6ff00;
    border-radius: 6px;
    padding: 0.2em 0.7em;
    font-size: 0.92em;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: inline-block;
}
.project-demo-btn {
    display: inline-block;
    margin-top: 0.7em;
    background: #7c3aed;
    color: #fff;
    border-radius: 20px;
    padding: 0.5em 1.5em;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 8px rgba(124,58,237,0.08);
}
.project-demo-btn:hover {
    background: #5f27cd;
    color: #fff;
    transform: scale(1.07);
}
@media (max-width: 600px) {
    .projects-title {
        font-size: 1.3em;
    }
    .project-image {
        height: 100px;
    }
} 

/* Admin Panel Styles */
.admin-main {
    max-width: 700px;
    margin: 2.5em auto 2em auto;
    background: #181828;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.10);
    padding: 2.5em 2em 2em 2em;
}
.admin-main h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 1.5em;
    color: #c6ff00;
}
.admin-section {
    margin-bottom: 2.5em;
    background: #23233a;
    border-radius: 12px;
    padding: 1.5em 1em 1em 1em;
    box-shadow: 0 2px 12px rgba(124,58,237,0.06);
}
.admin-section h2 {
    color: #7c3aed;
    margin-bottom: 1em;
    font-size: 1.2em;
}
#project-form, #skill-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 1.2em;
}
#project-form input, #skill-form input {
    flex: 1 1 180px;
    padding: 0.7em 1em;
    border-radius: 8px;
    border: 1.5px solid #7c3aed44;
    background: #23233a;
    color: #fff;
    font-size: 1em;
    outline: none;
    transition: border 0.2s;
}
#project-form input:focus, #skill-form input:focus {
    border: 1.5px solid #c6ff00;
}
#project-form button, #skill-form button {
    background: #c6ff00;
    color: #181828;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0.7em 1.5em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
#project-form button:hover, #skill-form button:hover {
    background: #7c3aed;
    color: #fff;
    transform: scale(1.07);
}
.admin-project-item, .admin-skill-item {
    background: #23233a;
    border-radius: 6px;
    margin-bottom: 0.7em;
    padding: 0.6em 1em;
    display: flex;
    align-items: center;
    font-size: 1em;
    box-shadow: 0 1px 4px rgba(124,58,237,0.04);
}
.admin-project-item button, .admin-skill-item button {
    background: #ff4c4c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.3em 1em;
    margin-left: auto;
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.2s, color 0.2s;
}
.admin-project-item button:hover, .admin-skill-item button:hover {
    background: #c6ff00;
    color: #181828;
}
@media (max-width: 600px) {
    .admin-main {
        padding: 1em 0.2em 1em 0.2em;
    }
    .admin-section {
        padding: 1em 0.2em 0.5em 0.2em;
    }
    #project-form, #skill-form {
        flex-direction: column;
        gap: 0.7em;
    }
} 

.home-about, .home-services {
    max-width: 900px;
    margin: 2.5em auto 0 auto;
    background: #181828;
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.10);
    padding: 2.5em 2em 2em 2em;
}
.home-about h2, .home-services h2 {
    color: #7c3aed;
    margin-top: 0;
    font-size: 2em;
    margin-bottom: 0.7em;
    text-align: center;
}
.home-about p {
    font-size: 1.1em;
    color: #e0e0e0;
    text-align: center;
}
.home-intro {
    text-align: justify;
}
.services-list {
    display: flex;
    gap: 2em;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5em;
}
.service-card {
    background: #23233a;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(124,58,237,0.06);
    padding: 1.5em 1.2em 1.2em 1.2em;
    min-width: 220px;
    max-width: 300px;
    flex: 1 1 220px;
    text-align: center;
    transition: box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    margin-bottom: 1em;
}
.service-card h3 {
    color: #c6ff00;
    margin-bottom: 0.5em;
    font-size: 1.2em;
}
.service-card p {
    color: #e0e0e0;
    font-size: 1em;
}
.service-card:hover {
    box-shadow: 0 8px 40px 0 #7c3aed33, 0 2px 12px 0 #c6ff0033;
    transform: translateY(-8px) scale(1.03);
}
@media (max-width: 700px) {
    .services-list {
        flex-direction: column;
        gap: 1em;
        align-items: center;
    }
} 

/* Skills Page Styles */
.skills-main {
    min-height: 70vh;
    padding: 3em 0 2em 0;
    position: relative;
}
@keyframes skills-bg-animate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.skills-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 2em;
    color: #fff;
    letter-spacing: 1px;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2em;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1em;
}
.skill-card {
    background: #181828;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.08);
    padding: 1.5em 1.2em 1.2em 1.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: skill-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.skill-card:hover {
    box-shadow: 0 8px 40px 0 #7c3aed33, 0 2px 12px 0 #c6ff0033;
    transform: translateY(-8px) scale(1.03);
}
@keyframes skill-fade-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.skill-name {
    font-size: 1.2em;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 0.5em;
    text-align: center;
}
.skill-level {
    font-size: 1em;
    color: #c6ff00;
    text-align: center;
}
.skills-bars {
    max-width: 700px;
    margin: 2.5em auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2em;
}
.skill-bar-row {
    background: #181828;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(124,58,237,0.06);
    padding: 1.2em 1.5em 1.2em 1.5em;
    animation: skill-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
}
.skill-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7em;
}
.skill-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
}
.skill-percent {
    font-size: 1em;
    color: #c6ff00;
    font-weight: 600;
}
.skill-bar-bg {
    width: 100%;
    height: 12px;
    background: #23233a;
    border-radius: 8px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #c6ff00, #7c3aed);
    border-radius: 8px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.skills-cols {
    display: flex;
    gap: 2em;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}
.skills-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 2em;
}
.skill-bar-row.two-col {
    display: flex;
    flex-direction: column;
    background: #181828;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(124,58,237,0.06);
    padding: 1.2em 1.5em 1.2em 1.5em;
    animation: skill-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
}
.skill-bar-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7em;
    gap: 1em;
}
.skill-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: 0.7em;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(124,58,237,0.04);
}
.skills-carousel {
    max-width: 100vw;
    overflow-x: auto;
    padding: 2em 0 2em 0;
    margin: 0 auto;
}
.skills-carousel-inner {
    display: flex;
    gap: 2em;
    min-width: 600px;
    width: max-content;
    align-items: stretch;
}
.skill-card-carousel {
    background: #181828;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.08);
    padding: 1.5em 1.2em 1.2em 1.2em;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: skill-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.skill-card-carousel:hover {
    box-shadow: 0 8px 40px 0 #7c3aed33, 0 2px 12px 0 #c6ff0033;
    transform: translateY(-8px) scale(1.03);
}
.skill-card-info {
    width: 100%;
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.skill-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(124,58,237,0.04);
    margin-bottom: 0.5em;
}
.skill-icon-default {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #7c3aed;
    background: #fff;
}
.skills-circles {
    display: flex;
    justify-content: center;
    gap: 3em;
    margin: 3em auto 2em auto;
    flex-wrap: wrap;
    max-width: 1200px;
}
.skill-circle-card {
    background: #181828;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.08);
    padding: 2em 2em 1.5em 2em;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: skill-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.skill-circle-card:hover {
    box-shadow: 0 8px 40px 0 #ffc10733, 0 2px 12px 0 #7c3aed33;
    transform: translateY(-8px) scale(1.03);
}
.circle-progress {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1em;
}
.circle-bar {
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
    stroke-linecap: round;
}
.circle-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    font-weight: 700;
    color: #ffc107;
    text-shadow: 0 2px 8px #181828;
}
.circle-skill-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5em;
    text-align: center;
    margin-top: 0.5em;
}
.circle-skill-desc {
    font-size: 0.98em;
    color: #bbb;
    text-align: center;
}
@media (max-width: 900px) {
    .skills-cols {
        flex-direction: column;
        gap: 1em;
    }
    .skills-carousel-inner {
        gap: 1em;
    }
    .skill-card-carousel {
        min-width: 180px;
        max-width: 200px;
        padding: 1em 0.7em 1em 0.7em;
    }
    .skills-circles {
        gap: 1.5em;
    }
    .skill-circle-card {
        min-width: 160px;
        max-width: 200px;
        padding: 1em 0.7em 1em 0.7em;
    }
}
@media (max-width: 600px) {
    .skills-title {
        font-size: 1.3em;
    }
    .skills-bars {
        padding: 0 0.5em;
    }
    .skill-bar-row {
        padding: 1em 0.7em 1em 0.7em;
    }
    .skills-circles {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }
} 

.about-modern-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3em;
    max-width: 1100px;
    margin: 3em auto 2em auto;
    background: #23233a;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(124,58,237,0.10);
    padding: 2.5em 2em;
    position: relative;
}
.about-modern-photo {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0c16;
    border-radius: 18px;
    min-width: 260px;
    max-width: 340px;
    min-height: 400px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.10);
    overflow: hidden;
}
.about-modern-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}
.about-modern-content {
    flex: 2 1 400px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7em;
    padding: 0 1.5em;
}
.about-modern-content h2 {
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 0.2em 0;
    color: #fff;
}
.about-accent {
    color: #1de9b6;
    font-weight: 800;
}
.about-modern-content h3 {
    font-size: 1.2em;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.7em 0;
}
.about-modern-desc {
    color: #bbb;
    font-size: 1.05em;
    margin-bottom: 1.2em;
}
.about-modern-btn {
    display: inline-block;
    background: #1de9b6;
    color: #181828;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 0.7em 1.2em;
    font-size: 1.1em;
    text-decoration: none;
    margin-top: 1em;
    transition: background 0.2s, color 0.2s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 16px 0 #1de9b633;
}
.about-modern-btn:hover {
    background: #7c3aed;
    color: #fff;
    transform: scale(1.07);
}
.about-modern-socials {
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    z-index: 2;
}
.about-modern-social {
    color: #bbb;
    background: #181828;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.about-modern-social:hover {
    background: #1de9b6;
    color: #181828;
    transform: scale(1.13);
}
@media (max-width: 900px) {
    .about-modern-container {
        flex-direction: column;
        gap: 1.5em;
        padding: 1.5em 0.5em;
    }
    .about-modern-photo {
        min-width: 180px;
        max-width: 220px;
        min-height: 220px;
    }
    .about-modern-img {
        height: 220px;
    }
    .about-modern-content {
        padding: 0 0.5em;
    }
    .about-modern-socials {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 1.5em;
        transform: none;
    }
} 

.achievements-main {
    min-height: 70vh;
    padding: 3em 0 2em 0;
    max-width: 1100px;
    margin: 0 auto;
}
.achievements-title {
    text-align: center;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 2em;
    color: #fff;
    letter-spacing: 1px;
}
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2em;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1em;
}
.achievement-card {
    background: #181828;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.08);
    padding: 1.2em 1em 1em 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: achievement-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.achievement-card:hover {
    box-shadow: 0 8px 40px 0 #7c3aed55, 0 2px 12px 0 #1de9b655;
    transform: translateY(-8px) scale(1.05) rotate(-1deg);
    z-index: 2;
}
@keyframes achievement-fade-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.achievement-icon {
    font-size: 2.5em;
    margin-bottom: 1em;
    color: #ffc107;
    text-shadow: 0 2px 8px #23233a;
}
.achievement-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 0.5em;
    text-align: left;
}
.achievement-desc {
    font-size: 1em;
    color: #333;
    text-align: left;
}
.achievements-certificates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2em;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1em;
}
.achievement-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(124,58,237,0.08);
    padding: 1.2em 1em 1em 1em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.18s cubic-bezier(0.4,0,0.2,1);
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: achievement-fade-in 1.1s cubic-bezier(0.4,0,0.2,1) forwards;
}
.achievements-certificates .achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievements-certificates .achievement-card:nth-child(2) { animation-delay: 0.3s; }
.achievements-certificates .achievement-card:nth-child(3) { animation-delay: 0.5s; }
.achievements-certificates .achievement-card:nth-child(4) { animation-delay: 0.7s; }
.achievement-card:hover {
    box-shadow: 0 8px 40px 0 #7c3aed55, 0 2px 12px 0 #1de9b655;
    transform: translateY(-8px) scale(1.05) rotate(-1deg);
    z-index: 2;
}
@keyframes achievement-fade-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.achievement-cert-img {
    width: 100%;
    max-width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1em;
    box-shadow: 0 2px 12px rgba(124,58,237,0.06);
    align-self: center;
    background: #23233a;
}
@media (max-width: 600px) {
    .achievements-title {
        font-size: 1.3em;
    }
    .achievements-certificates {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    .achievement-card {
        padding: 1em 0.7em 1em 0.7em;
    }
    .achievement-cert-img {
        height: 100px;
    }
} 