*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}
body{
    background-color: white;
    color: black;
    cursor: pointer;
}
.navbar-toggle {
    display: none;
    position: absolute;
    right: 24px;
    top: 18px;
    background: hsl(220, 100%, 60%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1100;
    transition: background 0.3s;
}
.navbar-toggle:hover {
    background: #ffb347;
    color: #222;
}
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(220, 100%, 60%);
    text-decoration: none;
}
.navbar {
    background: hsl(0, 0%, 100%);
    border: 1px solid hsl(220, 13%, 91%);
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    display: flex;
    gap: 2rem;
    transition: box-shadow 0.3s ease;
}
.navbar:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.nav-link {
    color: hsl(222.2, 84%, 4.9%);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}
.nav-link:hover {
    color: hsl(220, 100%, 60%);
    background: rgba(0, 123, 255, 0.1);
}
.nav-link.active {
    color: hsl(220, 100%, 60%);
    background: rgba(0, 123, 255, 0.1);
}
.home {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: hsl(220, 100%, 60%);
    border-radius: 18px;
    width: 100%;
    max-width: 1200px;
    height: 45vh;
    margin: 120px auto 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    animation: fadeInHome 1.2s cubic-bezier(.4,2,.6,1) forwards;
    overflow: hidden; 
}
@keyframes fadeInHome {
    from { opacity: 0; transform: translateY(32px);}
    to { opacity: 1; transform: translateY(0);}
}
.home-content {
    flex: 1;
    padding: 48px 32px;
    color: #fff;
    animation: slideInLeft 1.2s cubic-bezier(.4,2,.6,1) forwards;
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-48px);}
    to { opacity: 1; transform: translateX(0);}
}
.home-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 32px;
    animation: slideInRight 1.2s cubic-bezier(.4,2,.6,1) forwards;
    height: 100%;
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(48px);}
    to { opacity: 1; transform: translateX(0);}
}
.home-content h1 {
    text-align: left;
    margin-bottom: 32px;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
    cursor: pointer;
}
.home-content h1:hover {
    color: hsl(220, 100%, 60%);
    text-shadow: 0 0 24px hsl(220, 100%, 60%, 0.5);
    transform: scale(1.05) translateX(8px);
}
.home-content p {
    margin-top: 24px;
    font-size: 1.25rem;
    color: #f3f6fa;
    line-height: 1.7;
    text-align: left;
}
.home-content p span {
    color: #ffb347;
    font-weight: 700;
    animation: spanPulse 1.2s infinite alternate;
}
@keyframes spanPulse {
    from { text-shadow: 0 0 8px #ffb34788; }
    to { text-shadow: 0 0 24px #ffb347cc; }
}
.home-image img {
    width: 90%;
    max-width: 320px;
    height: 38vh;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px hsl(220, 100%, 60%, 0.12);
    border: 4px solid #fff;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.4s;
    animation: imageBounce 2s infinite alternate;   
}
.home-image img:hover {
    transform: scale(1.07) translateY(-12px) rotate(-2deg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.22), 0 4px 16px hsl(220, 100%, 60%, 0.18);    
}
@keyframes imageBounce {
    from { transform: scale(1) translateY(0);}
    to { transform: scale(1.04) translateY(-10px);}
}
.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    border-radius: 18px;
    background: rgba(0, 123, 255, 0.13); /* transparent blue */
    width: 100%;
    max-width: 1200px;
    min-height: 50vh;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    margin: 48px auto;
    animation: fadeInAbout 1.2s cubic-bezier(.4,2,.6,1) forwards;
}
@keyframes fadeInAbout {
    from { opacity: 0; transform: translateY(32px);}
    to { opacity: 1; transform: translateY(0);}
}
.me h1 {
    text-align: center;
    font-size: 2.2rem;
    color: hsl(220, 100%, 60%);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 16px;
    animation: aboutH1Anim 1.2s cubic-bezier(.4,2,.6,1) forwards;
}
@keyframes aboutH1Anim {
    from { opacity: 0; transform: scale(0.9) translateY(-24px);}
    to { opacity: 1; transform: scale(1) translateY(0);}
}
.me h2 {
    text-align: center;
    font-size: 1.5rem;
    color: hsl(220, 100%, 60%);
    font-weight: 600;
    margin-bottom: 12px;
    animation: aboutH2Anim 1.4s cubic-bezier(.4,2,.6,1) forwards;
}
@keyframes aboutH2Anim {
    from { opacity: 0; transform: scale(0.95) translateY(24px);}
    to { opacity: 1; transform: scale(1) translateY(0);}
}
.me p {
    text-align: center;
    font-size: 1.13rem;
    color: #222;
    opacity: 0.92;
    margin-top: 8px;
    line-height: 1.7;
}
.project h1 {
    text-align: center;
    font-size: 2rem;
    color: hsl(220, 100%, 60%);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    animation: fadeIn 1.2s cubic-bezier(.4,2,.6,1) forwards;
}
.project p {
    text-align: center;
    font-size: 1.1rem;
    color: hsl(220, 100%, 70%);
    margin-bottom: 24px;
    opacity: 0.85;
    animation: fadeIn 1.4s cubic-bezier(.4,2,.6,1) forwards;
}
.container {
    width: 100%;
    max-width: 1200px;
    min-height: 60vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    padding: 32px 20px;
    animation: fadeIn 1.2s cubic-bezier(.4,2,.6,1) forwards;
}
.prjct {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 2px 8px hsl(220, 100%, 60%, 0.12);
    background: #fff;
    transition: transform 0.35s cubic-bezier(.4,2,.6,1), box-shadow 0.35s;
    animation: fadeIn 1.2s cubic-bezier(.4,2,.6,1) forwards;
    position: relative;
}
.prjct:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18), 0 4px 16px hsl(220, 100%, 60%, 0.18);
}
.prjct img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1);
    animation: imageBounce 2s infinite alternate;
}
.prjct:hover img {
    transform: scale(1.05) translateY(-6px);
}
.prjct h1 {
    text-align: center;
    font-size: 1.35rem;
    color: hsl(220, 100%, 60%);
    font-weight: 700;
    margin: 18px 0 8px 0;
    letter-spacing: 0.5px;
}
.prjct p {
    text-align: center;
    font-size: 1.1rem;
    color: hsl(220, 100%, 70%);
    margin-bottom: 12px;
    opacity: 0.85;
}
.prjct h2 {
    margin-top: 16px;
    text-align: center;
    font-size: 2.5rem;
    color: hsl(220, 100%, 60%);
    font-weight: 800;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
    cursor: pointer;
    animation: prjctH2Anim 1.2s cubic-bezier(.4,2,.6,1) forwards;
}
.prjct h2:hover {
    color: #ffb347;
    text-shadow: 0 0 24px #ffb34788;
    transform: scale(1.08) translateY(-4px) rotate(-2deg);
}
@keyframes prjctH2Anim {
    from { opacity: 0; transform: scale(0.9) translateY(-24px);}
    to { opacity: 1; transform: scale(1) translateY(0);}
}
.prjct .button {
    display: block;
    width: 90%;
    margin: 18px auto 16px auto;
    text-align: center;
    background: linear-gradient(90deg, hsl(220, 100%, 60%) 70%, hsl(220, 80%, 70%) 100%);
    color: white;
    padding: 12px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px hsl(220, 100%, 60%, 0.12);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    animation: fadeIn 1.4s cubic-bezier(.4,2,.6,1) forwards;
}
.prjct .button:hover {
    background: linear-gradient(90deg, #ffb347 70%, hsl(220, 100%, 60%) 100%);
    color: #222;
    transform: scale(1.07) translateY(-2px);
    box-shadow: 0 4px 16px #ffb34744;
}
.skill {
    text-align: center;
    margin-bottom: 32px;
}
.skill h1 {
    font-size: 2.3rem;
    animation: fadeIn 2s cubic-bezier(.4,2,.6,1) forwards;
    font-weight: 700;
    color: hsl(220, 100%, 60%);
    letter-spacing: 0.5px;
}
.skill p {
    font-size: 1.13rem;
    opacity: 0.85;
    color: hsl(220, 100%, 70%);
}
.skills .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 24px;
    background: linear-gradient(120deg, rgba(0,123,255,0.09) 60%, rgba(220,240,255,0.13) 100%);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.skills .container i {
    font-size: 3.2rem;
    color: hsl(220, 100%, 60%);
    animation: bounce 1.5s infinite;
    filter: drop-shadow(0 2px 8px hsl(220, 100%, 80%, 0.15));
    transition: color 0.2s;
}
.skills .container i:hover {
    color: hsl(220, 100%, 70%);
}
.skills .container h {
    font-size: 1.13rem;
    font-weight: 500;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-8px);}
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(24px);}
    to { opacity: 1; transform: translateY(0);}
}
.reach {
    text-align: center;
    margin: 72px 24px;
}
.reach h1 {
    font-size: 2.6rem;
    color: hsl(220, 100%, 60%);
    text-shadow: 0 0 16px hsl(220, 100%, 60%, 0.5);
    animation: pulse 2s infinite alternate;
    font-weight: 800;
}
.reach p {
    font-size: 1.13rem;
    margin-top: 12px;
    opacity: 0.92;
}
@keyframes pulse {
    from { text-shadow: 0 0 8px hsl(220, 100%, 60%, 0.7);}
    to { text-shadow: 0 0 32px hsl(220, 100%, 60%, 0.9);}
}
.contact {
    background: linear-gradient(120deg, hsl(220, 100%, 60%) 80%, hsl(220, 80%, 70%) 100%);
    border-radius: 32px;
    padding: 48px 24px;
    margin: 48px auto;
    max-width: 1200px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
}
.social-media a {
    font-size: 2.7rem;
    color: white;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), color 0.3s cubic-bezier(.4,2,.6,1), text-shadow 0.3s;
    filter: drop-shadow(0 2px 8px #fff2);
}
.social-media a:hover {
    transform: scale(1.22) rotate(-6deg);
    color: #fff;
    text-shadow: 0 0 18px #fff, 0 0 32px #fff;
}
footer {
    background :hsl(220, 100%, 60%);
    color: #bfc6d1;
    text-align: center;
    padding: 24px 0;
    font-size: 1rem;
    letter-spacing: 0.2px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
footer p {
    margin: 0;
    opacity: 0.85;
}
@media (max-width: 900px) {
    .header {
        max-width: 98vw;
        padding: 0 10px;
    }
    .home {
        flex-direction: column;
        height: auto;
        margin-top: 100px;
        padding-bottom: 24px;
    }
    .home-content, .home-image {
        padding: 32px 16px;
        width: 100%;
    }
    .home-image img {
        max-width: 240px;
        height: 28vh;
    }
}
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 6px;
        top: 8px;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 8px 6px;
        font-size: 0.98rem;
        width: 100%;
        border-radius: 18px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.08);
        position: absolute;
        top: 54px;
        left: 0;
        right: 0;
        background: hsl(0, 0%, 100%);
        transition: max-height 0.3s, opacity 0.3s;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
    }
    .navbar.active {
        max-height: 400px;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link {
        padding: 10px 8px;
        width: 100%;
        text-align: left;
        border-radius: 12px;
    }
    .logo {
        font-size: 1.85rem;
        margin-bottom: 8px;
    }
    .home {
        margin-top: 80px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        padding-bottom: 12px;
    }
    .home-content {
        padding: 18px 6px;
    }
    .home-content h1 {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }
    .home-content p {
        font-size: 1rem;
        margin-top: 12px;
    }
    .home-image {
        padding: 12px 0;
    }
    .home-image img {
        max-width: 140px;
        height: 18vh;
        border-radius: 10px;
    }
}

@media (max-width: 900px) {
  .about {
    padding: 20px;
    min-height: 40vh;
  }
}
@media (max-width: 600px) {
  .about {
    padding: 12px 4px;
    border-radius: 10px;
    min-height: 30vh;
    margin: 24px 4px;
  }
  .me h1 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .me h2 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  .me p {
    font-size: 0.98rem;
    margin-top: 4px;
  }
}

    
body.dark {
  background-color: #121212;
  color: #f5f5f5;
}
body.dark .navbar {
  background: #1e1e1e;
  border-color: #333;
  box-shadow: 0 1px 4px rgba(255, 255, 255, 0.08);
}
body.dark .nav-link {
  color: #ddd;
}
body.dark .nav-link:hover,
body.dark .nav-link.active {
  color: #4ea8ff;
  background: rgba(78, 168, 255, 0.1);
}
body.dark .home {
  background:linear-gradient(120deg,rgba(78,168,255,0.09) 60%, rgba(50,60,80,0.13) 100%);
  box-shadow: 0 4px 24px rgba(255,255,255,0.05);
}
body.dark .home-content h1:hover {
  color: #4ea8ff;
  text-shadow: 0 0 24px rgba(78, 168, 255, 0.5);
}
body.dark .home-content p {
  color: #ccc;
}
body.dark .about {
  background: rgba(78, 168, 255, 0.07);
  box-shadow: 0 4px 24px rgba(255,255,255,0.05);
}
body.dark .me p {
  color: #ccc;
}
body.dark .project p,
body.dark .prjct p {
  color: #b0d9ff;
}
body.dark .prjct {
  background: #1e1e1e;
  box-shadow: 0 4px 24px rgba(255,255,255,0.05);
}
body.dark .prjct h2:hover {
  color: #ffb347;
  text-shadow: 0 0 24px #ffb34788;
}
body.dark .skills .container {
  background: linear-gradient(120deg, rgba(78,168,255,0.09) 60%, rgba(50,60,80,0.13) 100%);
}
body.dark footer {
  background: #0f0f0f;
  color: #aaa;
}
body.dark .contact {
  background: linear-gradient(120deg,rgba(78,168,255,0.09) 60%, rgba(50,60,80,0.13) 100%);
  box-shadow: 0 4px 24px rgba(255,255,255,0.08);
}
