/* =========================
   GLOBAL
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{

  font-family:"Inter",sans-serif;

  background:#050816;

  color:white;

  overflow-x:hidden;
}

/* =========================
   HEADER
========================= */

.header{

  width:100%;

  padding:22px 70px;

  position:fixed;

  top:0;
  left:0;

  z-index:999;

  backdrop-filter:blur(20px);
}

@media(max-width:768px){

  .header{
    position:static;
  }

}
/* =========================
   NAVBAR
========================= */

.navbar{

  display:flex;

  align-items:center;

  justify-content:space-between;

  padding:18px 35px;

  background:
    rgba(5,8,22,.85);

  backdrop-filter:
    blur(18px);

  border:
    1px solid rgba(255,255,255,.08);

  border-radius:20px;

  box-shadow:
    0 0 25px rgba(124,58,237,.15);

  position:sticky;

  top:15px;

  z-index:1000;
}

/* =========================
   LOGO
========================= */

.logo{

  display:flex;

  align-items:center;

  gap:12px;
}

.logo img{

  width:45px;
}

.logo span{

  font-size:1rem;

  font-weight:800;

  color:#fff;

  letter-spacing:1px;
}

/* =========================
   NAV LINKS
========================= */

.nav-links{

  display:flex;

  gap:35px;
}

.nav-links a{

  color:#cbd5e1;

  text-decoration:none;

  font-weight:600;

  position:relative;

  transition:.3s;
}

.nav-links a:hover{

  color:#a855f7;
}

/* Hover Line */

.nav-links a::after{

  content:"";

  position:absolute;

  left:0;

  bottom:-6px;

  width:0;

  height:2px;

           background:
            linear-gradient(
              135deg,
              rgba(37,99,235,.08),
              rgba(168,85,247,.08)
            );

  transition:.3s;
}

.nav-links a:hover::after{

  width:100%;
}

/* =========================
   CV BUTTON
========================= */

.cv-btn{

  background:
    linear-gradient(
      135deg,
      #3b82f6 0%,
      #8b5cf6 100%
    );

  color:#fff;

  padding:14px 30px;

  border:none;

  border-radius:20px;

  font-weight:700;

  text-decoration:none;

  display:inline-flex;

  align-items:center;

  gap:10px;

  transition:.4s ease;

  box-shadow:
    0 10px 30px rgba(139,92,246,.35);
}

.cv-btn:hover{

  transform:
    translateY(-3px);

  box-shadow:
    0 15px 35px rgba(139,92,246,.5);

  background:
    linear-gradient(
      135deg,
      #2563eb 0%,
      #9333ea 100%
    );
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

  .navbar{

    flex-direction:column;

    gap:20px;
  }

  .nav-links{

    flex-wrap:wrap;

    justify-content:center;

    gap:20px;
  }
}
/* =========================
   HERO
========================= */

.hero{
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 70px 20px;
  overflow: hidden;
}
.hero-text{
  margin-top: 0;
}

/* LEFT */

.small-tag{

  display:inline-block;

  padding:12px 24px;

  border-radius:16px;

  border:
    1px solid rgba(255,255,255,.08);

  background:
    rgba(255,255,255,.03);

  margin-bottom:30px;
}

.hero-text h1{

  font-size:5rem;

  line-height:1.1;

  margin-bottom:10px;

  font-weight:800;

  background:
    linear-gradient(
      90deg,
      #ffffff,
      #a855f7
    );

  -webkit-background-clip:text;

  -webkit-text-fill-color:transparent;
}

.hero-text h1{

  font-size:2.3rem;

  margin-bottom:0px;

  color:#e2e8f0;
}

.hero-text p{

  max-width:620px;

  color:#94a3b8;

  line-height:1.8;

  font-size:1.1rem;
}

/* BUTTONS */

.hero-buttons{

  display:flex;

  gap:20px;

  margin-top:45px;
}

.primary-btn,
.secondary-btn{

  display:flex;

  align-items:center;

  gap:12px;

  padding:18px 34px;

  border-radius:18px;

  text-decoration:none;

  font-weight:700;

  transition:.3s;
}

.primary-btn{

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #9333ea
    );

  color:white;

  box-shadow:
    0 0 25px rgba(124,58,237,.4);
}

.secondary-btn{

  border:
    1px solid rgba(255,255,255,.08);

  background:
    rgba(255,255,255,.02);

  color:white;
}

.primary-btn:hover,
.secondary-btn:hover{

  transform:
    translateY(-6px);
}

/* SOCIAL */

.social-links{

  display:flex;

  gap:18px;

  margin-top:35px;
}

.social-links a{

  width:58px;

  height:58px;

  display:flex;

  align-items:center;

  justify-content:center;

  border-radius:50%;

  background:
    linear-gradient(
      135deg,
      #2563eb,
      #a855f7
    );

  color:#fff;

  font-size:1.3rem;

  text-decoration:none;

  transition:.4s ease;

  box-shadow:
    0 0 20px rgba(124,58,237,.25);
}

.social-links a:hover{

  transform:
    translateY(-8px)
    scale(1.08);

  box-shadow:
    0 0 30px rgba(168,85,247,.5);
}
/* =========================
   HERO IMAGE
========================= */

.hero-image{
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0;
  margin-top: 0;
  transform: none;
}
/* RUNNING CIRCLES */

.hero-image::before{

  content:"";

  position:absolute;

  top:50%;
  left:50%;

  width:360px;
  height:360px;

  border-radius:50%;

  border:
    1px solid rgba(168,85,247,.3);

  border-top:
    2px solid #a855f7;

  transform:
    translate(-50%, -50%);

  animation:
    rotateCircle 12s linear infinite;
}

.hero-image::after{

  content:"";

  position:absolute;

  top:50%;
  left:50%;

  width:460px;
  height:460px;

  border-radius:50%;

  border:
    1px dashed rgba(59,130,246,.25);

  border-bottom:
    2px solid #3b82f6;

  transform:
    translate(-50%, -50%);

  animation:
    rotateReverse 18s linear infinite;
}

/* GLOW */

.glow{

  position:absolute;

  width:380px;
  height:380px;

  border-radius:50%;

  background:
    linear-gradient(
      135deg,
      rgba(59,130,246,.5),
      rgba(168,85,247,.5)
    );

  filter:blur(100px);
}

/* IMAGE */

.image-box{
  overflow: hidden;
  position: relative;
  width: 440px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}
.image-box img{
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transform: translateX(0px);
  filter: drop-shadow(0 0 40px rgba(124,58,237,.45));
}
/* IMAGE BOTTOM FADE */
.image-box::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 140px;
  background: linear-gradient(
    to top,
    #050816 10%,
    rgba(5,8,22,.95) 30%,
    rgba(5,8,22,.7) 60%,
    transparent 100%
  );
  z-index: 10;
  pointer-events: none;
  filter: blur(4px);
}

/* ORBIT */
.orbit{
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
  font-size: 1.8rem;
  z-index: 10;
  box-shadow: 0 0 35px rgba(124,58,237,.2);
}

/* POSITIONS */
.orbit-1{
  top: 40px;
  left: 40px;
  color: #61dafb;
  animation: float 4s ease-in-out infinite;
}

.orbit-2{
  top: 50px;
  right: 30px;
  color: #ffd43b;
  animation: float 5s ease-in-out infinite;
}

.orbit-3{
  bottom: 90px;
  right: 20px;
  color: #22c55e;
  animation: float 6s ease-in-out infinite;
}

.orbit-4{
  bottom: 80px;
  left: 30px;
  color: #38bdf8;
  animation: float 5s ease-in-out infinite;
}

.orbit-5{
  bottom: 10px;
  right: 90px;
  color: #42a5f5;
  animation: float 7s ease-in-out infinite;
}

/* AVAILABLE */
.available{
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  z-index: 20;
  box-shadow: 0 0 30px rgba(124,58,237,.18);
}

.available span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 15px #22c55e;
}

/* =========================
   ANIMATION
========================= */

@keyframes rotateCircle{

  from{
    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }

  to{
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }

}

@keyframes rotateReverse{

  from{
    transform:
      translate(-50%, -50%)
      rotate(360deg);
  }

  to{
    transform:
      translate(-50%, -50%)
      rotate(0deg);
  }

}

@keyframes float{

  0%{
    transform:
      translateY(0px);
  }

  50%{
    transform:
      translateY(-18px);
  }

  100%{
    transform:
      translateY(0px);
  }

}

 /* =========================
   INFO SECTION
========================= */

.info-section{

  display:grid;

  grid-template-columns:
    repeat(3,1fr);

  gap:20px;

  padding:20px 35px 20px;

  margin-top:50px;
}

.info-card{

  background:
    rgba(255,255,255,.03);

  border:
    1px solid rgba(255,255,255,.08);

  border-radius:25px;

  padding:30px;

  backdrop-filter:
    blur(15px);

  transition:.4s;
}

.info-card:hover{

  transform:
    translateY(-10px);

  border-color:
    rgba(168,85,247,.4);

  box-shadow:
    0 0 30px rgba(124,58,237,.2);
}

.mini-title{

  display:flex;

  align-items:center;

  gap:10px;

  margin-bottom:18px;

  font-weight:600;
}

.mini-title span{

  width:10px;
  height:10px;

  border-radius:50%;

  background:#a855f7;
}

.info-card h2{

  font-size:1.5rem;

  margin-bottom:15px;
}

.info-card p{

  color:#94a3b8;

  line-height:1.8;
}

.stats-grid{

  display:grid;

  grid-template-columns:
    repeat(2,1fr);

  gap:12px;

  margin-top:20px;
}

.single-stat{

  text-align:center;

  padding:15px;

  border-radius:15px;

  background:
    rgba(255,255,255,.03);
}

.single-stat h3{

  color:#60a5fa;
}

.resume-buttons{

  display:flex;

  gap:15px;

  margin-top:20px;

  flex-wrap:wrap;
}

.resume-btn{

  flex:1;

  display:flex;

  align-items:center;

  justify-content:center;

  gap:10px;

  padding:14px 22px;

  border-radius:14px;

  color:#fff;

  font-weight:600;

  text-decoration:none;

  transition:.3s ease;
}

/* Download CV */

.cv-download{

  background:
  linear-gradient(
    135deg,
    #2563eb,
    #3b82f6
  );
}

.cv-download:hover{

  background:
  linear-gradient(
    135deg,
    #1e40af,
    #7c3aed
  );

  transform:translateY(-4px);
}

.github-btn{

  background:
  linear-gradient(
    135deg,
    #7c3aed,
    #a855f7
  );
}

.github-btn:hover{

  background:
  linear-gradient(
    135deg,
    #581c87,
    #ec4899
  );

  transform:translateY(-4px);
}
/* GitHub */

.github-btn{

  background:
  linear-gradient(
    135deg,
    #7c3aed,
    #a855f7
  );
}

/* Hover */

.cv-download:hover,
.github-btn:hover{

  transform:translateY(-4px);

  box-shadow:
  0 10px 25px rgba(139,92,246,.35);
}
/* RESPONSIVE */

@media(max-width:1100px){

  .info-section{

    grid-template-columns:1fr;
  }

}
.skills-list{

  display:flex;

  flex-direction:column;

  gap:18px;

  margin-top:20px;
}

.skill-row{

  display:grid;

  grid-template-columns:
    110px 1fr 45px;

  align-items:center;

  gap:12px;
}

.skill-row span{

  font-size:.95rem;

  color:#fff;
}

.bar{

  height:8px;

  background:
    rgba(255,255,255,.08);

  border-radius:50px;

  overflow:hidden;
}

.fill{

  height:100%;

  border-radius:50px;

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #a855f7
    );
}

.skill-row small{

  color:#cbd5e1;

  font-size:.85rem;
}

/* =========================
   FEATURED PROJECTS
========================= */

.projects-section{
  padding: 20px 70px 60px;
  margin-top: 0;
}
.projects-header{

  display:flex;

  justify-content:space-between;

  align-items:center;

  flex-wrap:wrap;

  gap:15px;
}
.view-all{

  color:#a855f7;

  font-weight:600;

  white-space:nowrap;

  display:flex;

  align-items:center;

  gap:8px;
}
@media(max-width:768px){

  .projects-header{

    flex-direction:column;

    align-items:flex-start;
  }

  .view-all{

    margin-top:10px;
  }

}
.projects-header{

  display:flex;

  justify-content:space-between;

  align-items:center;

  margin-bottom:30px;
}

.projects-header h2{

  font-size:2rem;

  color:#fff;
}

.projects-header a{

  color:#a855f7;

  text-decoration:none;

  font-weight:600;
}

.projects-grid{

  display:grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap:25px;
}

.project-card{

  background:
    rgba(255,255,255,.03);

  border:
    1px solid rgba(255,255,255,.08);

  border-radius:20px;

  overflow:hidden;

  transition:.4s cubic-bezier(0.16, 1, 0.3, 1);

  backdrop-filter:blur(12px);

  display:flex;

  flex-direction:column;
}

.project-card:hover{

  transform:
    translateY(-8px);

  border-color:
    rgba(168,85,247,.5);

  box-shadow:
    0 15px 35px rgba(124,58,237,.25);
}

.project-card img{

  width:100%;

  aspect-ratio:16/9.5;

  height:auto;

  object-fit:cover;

  object-position:center top;

  display:block;

  border-radius:20px 20px 0 0;

  transition:transform .4s ease;
}

.project-card:hover img{

  transform:scale(1.04);
}

.project-content{

  padding:22px;

  flex:1;

  display:flex;

  flex-direction:column;

  justify-content:space-between;
}

.project-content h3{

  color:#fff;

  font-size:1.25rem;

  font-weight:700;

  margin-bottom:8px;
}

.project-content p{

  color:#94a3b8;

  font-size:.92rem;

  line-height:1.6;

  margin-bottom:16px;

  flex:1;
}

.project-tags{

  display:flex;

  gap:10px;

  margin-top:auto;
}

.project-tags a{

  flex:1;

  padding:10px 14px;

  font-size:.82rem;

  font-weight:600;

  display:flex;

  align-items:center;

  justify-content:center;

  gap:7px;

  border-radius:12px;

  text-decoration:none;

  color:#fff !important;

  transition:.3s ease;
}

/* Live Project */

.project-tags a:first-child{

  background:
    linear-gradient(
      135deg,
      #06b6d4,
      #2563eb
    );

  box-shadow:0 4px 15px rgba(37,99,235,.25);
}

/* GitHub */

.project-tags a:last-child{

  background:
    linear-gradient(
      135deg,
      #7c3aed,
      #ec4899
    );

  box-shadow:0 4px 15px rgba(236,72,153,.25);
}

/* Hover Effect */

.project-tags a:hover{

  background:
    linear-gradient(
      135deg,
      #f59e0b,
      #ef4444
    );

  color:#fff;

  transform:
    translateY(-3px);

  box-shadow:
    0 8px 20px rgba(239,68,68,.4);
}

/* RESPONSIVE */

@media(max-width:1100px){

  .projects-grid{

    grid-template-columns:
      repeat(2,1fr);

    gap:20px;
  }
}

@media(max-width:768px){

  .projects-grid{

    grid-template-columns:1fr;

    gap:20px;
  }

  .projects-header{

    flex-direction:column;

    gap:10px;
  }
}
/* ==========================
   TECH MARQUEE
========================== */

.tech-marquee{

  width:100%;

  overflow:hidden;

  padding:20px 0;
}
.tech-title{

  text-align:center;

  font-size:2.2rem;

  font-weight:800;

  margin-bottom:25px;

  width:100%;

  letter-spacing:1px;

  background:linear-gradient(
    90deg,
    #ffffff,
    #60a5fa,
    #8b5cf6,
    #ec4899
  );

  background-size:200% auto;

  -webkit-background-clip:text;

  -webkit-text-fill-color:transparent;

  animation:gradientText 4s linear infinite;
}

@keyframes gradientText{

  0%{
    background-position:0% center;
  }

  100%{
    background-position:200% center;
  }
}

.marquee-track{

  display:flex;

  align-items:center;

  gap:80px;

  width:max-content;

  animation:marquee 10s linear infinite;
}

.marquee-track img{

  width:65px;

  height:65px;

  flex-shrink:0;

  object-fit:contain;
}

.marquee-track img:hover{

  transform:scale(1.15);

  transition:.3s;
}

@keyframes marquee{

  0%{
    transform:translateX(0);
  }

  100%{
    transform:translateX(-33.33%);
  }
}
/* Footer Section*/
.footer{

  margin-top:0px;

  padding:10px 10px 10px;

  background:
  linear-gradient(
    135deg,
    rgba(37,99,235,.08),
    rgba(168,85,247,.08)
  );

  border-top:
  1px solid rgba(255,255,255,.08);
}

/* GRID */

.footer-container{

  max-width:1300px;

  margin:auto;

  display:grid;

  grid-template-columns:
  1.5fr 1fr 1.5fr;

  gap:60px;
}

/* COLUMN */

.footer-column h3,
.footer-column h4{

  color:#fff;

  margin-bottom:18px;
}

.footer-column p{

  color:#94a3b8;

  line-height:1.8;
}

/* LOGO */

.footer-logo{

  width:80px;

  margin-bottom:15px;
}

/* LINKS */

.footer-column ul{

  list-style:none;
}

.footer-column ul li{

  margin-bottom:12px;
}

.footer-column ul li a{

  color:#94a3b8;

  text-decoration:none;

  transition:.3s;
}

.footer-column ul li a:hover{

  color:#a855f7;

  padding-left:5px;
}

/* SOCIAL */

.footer-social{

  display:flex;

  gap:15px;

  margin-bottom:20px;
}

.footer-social a{

  width:55px;

  height:55px;

  border-radius:50%;

  display:flex;

  align-items:center;

  justify-content:center;

  background:
  linear-gradient(
    135deg,
    #2563eb,
    #8b5cf6
  );

  color:#fff;

  font-size:1.3rem;

  text-decoration:none;

  transition:.3s;
}

.footer-social a:hover{

  transform:translateY(-5px);

  box-shadow:
  0 0 20px rgba(168,85,247,.4);
}

/* AVAILABILITY */

.availability{

  margin-top:20px;

  display:flex;

  align-items:center;

  gap:10px;

  color:#22c55e;

  font-weight:600;
}

.dot{

  width:10px;

  height:10px;

  border-radius:50%;

  background:#22c55e;

  box-shadow:0 0 10px #22c55e;
}

/* BOTTOM */

.footer-bottom{

  text-align:center;

  margin-top:40px;

  padding-top:20px;

  border-top:
  1px solid rgba(255,255,255,.08);

  color:#94a3b8;
}

/* RESPONSIVE */

@media(max-width:768px){

  .footer-container{

    grid-template-columns:1fr;

    text-align:center;
  }

  .footer-social{

    justify-content:center;
  }

  .availability{

    justify-content:center;
  }
}
/* AI Study Assistant Card Hover - Matching Red / Amber-Yellow Glow */
.project-card.ai-study-assistant-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card.ai-study-assistant-card:hover {
  transform: translateY(-10px);
  border-color: rgba(245, 158, 11, 0.75) !important;
  box-shadow: 0 20px 45px rgba(244, 63, 94, 0.25), 0 0 35px rgba(245, 158, 11, 0.25) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(244, 63, 94, 0.06), rgba(245, 158, 11, 0.06)) !important;
}
