:root{
  --bg:#0f1724;
  --card:#0b1220;
  --muted:#9aa4b2;
  --accent:#6ee7b7;
  --glass: rgba(255,255,255,0.03);
  --container: 1100px;
  --radius: 12px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: linear-gradient(180deg,#071026 0%, #07182a 100%);
  color:#e6eef6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
}

.container{max-width:var(--container);margin:0 auto;padding:1.25rem}

.site-header{backdrop-filter: blur(6px);position:sticky;top:0;z-index:40}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{font-weight:700;color:var(--accent);text-decoration:none;font-size:1.15rem}
.nav-links{list-style:none;display:flex;gap:14px;margin:0;padding:0}
.nav-links a{color:var(--muted);text-decoration:none;padding:8px;border-radius:8px}
.nav-links a:hover{color:#fff;background:var(--glass)}

.hamburger{display:none;background:none;border:0;color:var(--muted);font-size:20px}

.hero{display:flex;gap:2rem;align-items:center;padding:3rem 0}
.hero-left{flex:1}
.hero-right{width:320px}
.name{font-size:2rem;margin:0}
.role{color:var(--accent);margin:8px 0;font-weight:600}
.tagline{color:var(--muted);max-width:54ch}
.cta{margin-top:1rem;display:flex;gap:12px;align-items:center}
.btn{background:var(--accent);color:#042025;padding:10px 14px;border-radius:10px;text-decoration:none;font-weight:600}
.link{color:var(--muted);text-decoration:none}

.profile-card{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:16px;border-radius:12px;box-shadow:0 6px 18px rgba(4,8,15,0.6)}
.profile-item{padding:10px 0;border-bottom:1px solid rgba(255,255,255,0.02)}
.profile-item:last-child{border-bottom:0}
.profile-item a{color:var(--accent);text-decoration:none}

.section{padding:2.5rem 0}
.section-title{margin:0 0 10px;font-size:1.25rem;color:#fff}
.lead{color:var(--muted);margin-bottom:1rem}

.two-col{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
.bullets{padding-left:1rem}
.edu{padding-left:1rem}

.skills-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1rem}
.skill{background:var(--card);padding:12px;border-radius:12px}
.skill h4{margin:0 0 6px}
.progress{height:10px;background:rgba(255,255,255,0.03);border-radius:999px;overflow:hidden;margin-top:8px}
.progress > div{height:100%;background:linear-gradient(90deg,var(--accent),#34d399);border-radius:999px;transition:width 900ms ease}

.project{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);padding:14px;border-radius:12px;margin-bottom:12px}
.tags{display:flex;gap:8px;margin-top:8px}
.tags span{background:rgba(255,255,255,0.03);padding:6px 8px;border-radius:8px;color:var(--muted);font-size:0.85rem}

.clock{margin-top:10px;font-weight:700;background:rgba(255,255,255,0.02);display:inline-block;padding:12px 16px;border-radius:10px}

.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:12px}
.contact-card{background:rgba(255,255,255,0.02);padding:12px;border-radius:12px}
.footer-links{margin-top:12px;color:var(--muted)}

.site-footer{border-top:1px solid rgba(255,255,255,0.02);padding:18px 0;margin-top:30px;color:var(--muted)}

/* responsive */
@media (max-width:900px){
  .hero{flex-direction:column;align-items:flex-start}
  .hero-right{width:100%}
  .nav-links{display:none}
  .hamburger{display:inline-block}
  .two-col{grid-template-columns:1fr}
}

/* small animations */
.project, .skill, .profile-card {transform: translateY(8px); opacity: 0; animation: slideIn .6s ease forwards}
.project:nth-child(1){animation-delay:0.08s}
.project:nth-child(2){animation-delay:0.12s}
.project:nth-child(3){animation-delay:0.16s}
.skill:nth-child(1){animation-delay:0.08s}
@keyframes slideIn {
  to {transform:none; opacity:1}
}



/* ✨ GLOBAL FADE-IN ANIMATION */
section, .hero, .project, .skill, .contact-card {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ✨ HOVER EFFECT FOR CARDS */
.project, .skill, .contact-card, .profile-card {
    transition: 0.4s ease;
}
.project:hover,
.skill:hover,
.contact-card:hover,
.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* ✨ BUTTON ANIMATION */
.btn {
    transition: 0.3s ease;
}
.btn:hover {
    background: #34d399;
    transform: translateY(-4px);
}

/* ✨ NAVBAR LINK HOVER */


/* ✨ PROFILE PICTURE FLOAT ANIMATION */
.profile-pic {
    animation: floatPic 4s ease-in-out infinite;
}
@keyframes floatPic {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ✨ PROFILE PIC ON HOVER */
.profile-pic:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

/* ✨ PROJECT TAG HOVER */
.tags span {
    transition: 0.3s ease;
}
.tags span:hover {
    background: var(--accent);
    color: #042025;
    transform: translateY(-3px);
}

/* ✨ CONTACT CARD HOVER */
.contact-card:hover {
    background: rgba(255,255,255,0.08);
}

/* ✨ CLOCK HOVER */
.clock {
    transition: 0.3s ease;
}
.clock:hover {
    transform: scale(1.05);
}

/* RESPONSIVE FIXES */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .cta {
        justify-content: center;
    }
    .hero-right {
        display: flex;
        justify-content: center;
    }

    .nav-links a {
        padding: 10px;
        display: block;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {
    .name {
        font-size: 1.5rem;
    }
    .profile-pic {
        width: 150px;
        height: 150px;
    }
    .btn {
        padding: 8px 12px;
    }
}
.profile-pic {
    width: 180px;          /* Adjust size here */
    height: 180px;         /* Makes perfect square */
    object-fit: cover;     /* Keeps the face centered */
    border-radius: 50%;    /* Makes it a circle */
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.07);
}



/* MOBILE FIX */
@media (max-width: 900px) {
    .nav-logo {
        display: none; /* hide small screens or keep if you want */
    }
}

/* Right Logo */
.nav-right {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

/* Main Logo */
.nav-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;

    /* Gradient Border */
    padding: 3px;
    background: linear-gradient(135deg, #6c63ff, #ff6ec7, #00e5ff);
    display: inline-block;

    /* Glow + Pulse + Spin (subtle) */
    animation: glow 3s ease-in-out infinite,
               pulse 4s ease-in-out infinite,
               softSpin 12s linear infinite;

    /* Shadow hover */
    transition: transform 0.4s ease, 
                box-shadow 0.4s ease;
}

/* Hover Effect */
.nav-logo:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 0 25px rgba(108, 99, 255, 0.7);
}

/* Glow Animation */
@keyframes glow {
    0% { box-shadow: 0 0 6px rgba(108, 99, 255, 0.3); }
    50% { box-shadow: 0 0 18px rgba(108, 99, 255, 0.7); }
    100% { box-shadow: 0 0 6px rgba(108, 99, 255, 0.3); }
}

/* Pulse Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.07); }
    100% { transform: scale(1); }
}

/* Soft Spinning Animation */
@keyframes softSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.project-card {
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.35s ease;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
  backdrop-filter: blur(3px);
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}

.project-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.project-info {
  padding: 15px;
}
.project-info h3 {
  margin: 0;
  font-size: 1.1rem;
}

.project-info p {
  margin: 6px 0 10px;
  color: var(--muted);
}



.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #00eaff;
  transform: translateY(-2px);
}
