/* ===========================
   GOOGLE FONT
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   ROOT VARIABLES
=========================== */
:root {
    --bg-dark: #160812;
    --bg-card: rgba(255, 255, 255, 0.05);
    --primary: #ff4f8b;
    --secondary: #ff78ac;
    --white: #ffffff;
    --light: #ea;
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow: 0 0 15px rgba(255, 79, 139, 0.4);
}
/* ===========================
   GLOBAL
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    background-color: var(--bg-dark);
    font-family: 'Poppins', sans-serif;
    color: var(--light);
    overflow-x: hidden;
}

*::before,
*::after {
    pointer-events: none !important;
}


a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 100px 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 0 3px rgba(255, 105, 180, 0.35); 
}
/* ===========================
   PARTICLE BG
=========================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -10;
}

/* ===========================
   LOADER
=========================== */
#loader {
    position: fixed;
    top: 0;   /* anchor to top */
    left: 0;  /* anchor to left */
    width: 100vw;  /* full viewport width */
    height: 100vh; /* full viewport height */
    background: #10050d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-text {
    font-size: 3rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.loader-text-p {
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.loading-bar {
    width: 250px;
    height: 5px;
    background: #333;
    border-radius: 20px;
    overflow: hidden; /* ensures progress stays inside */
}

.loading-progress {
    width: 0;
    height: 100%;
    background: var(--primary);
    box-shadow: var(--shadow);
    animation: load 3s forwards;
}

@keyframes load {
    100% {
        width: 100%;
    }
}

/* Loader is desktop-only: disabled completely on mobile */
@media (max-width: 768px) {
    #loader {
        display: none !important;
    }
}

/* ===========================
   CURSOR
=========================== */

.cursor{

    width:20px;
    height:20px;

    border-radius:50%;

    position:fixed;

    pointer-events:none;

    background:var(--primary);

    box-shadow:
    0 0 20px var(--primary),
    0 0 50px var(--primary);

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

    z-index:999;

}

/* ===========================
   NAVBAR
=========================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 80px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(22, 8, 18, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 60px;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.4s ease;
}

/* dark mode */
#theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--accent);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    margin-left: 20px;
}

#theme-toggle:hover {
    transform: scale(1.1) rotate(20deg);
    box-shadow: 0 0 15px var(--accent);
}

/* Mobile: hide nav-links, show toggle */
@media (max-width: 768px) {
    #theme-toggle {
        margin-left: auto;
    }
}

.navbar::before {
    content: '';
    position: absolute;
    top: -20px; /* covers the gap */
    left: 0;
    width: 100%;
    height: 20px;
    background: rgba(11, 12, 16, 0.95); /* same as body bg */
    border-radius: 60px 60px 0 0;
    z-index: -1;
} 
/* Gradient mask matching body bg */
.navbar::after {
    content: '';
    position: absolute;
    bottom: -35px;
    left: 0;
    width: 100%;
    height: 35px;
    background: linear-gradient(to bottom, rgba(11, 12, 16, 0.95), rgba(11, 12, 16, 0));
    pointer-events: none;
    border-radius: 0 0 60px 60px;
}

/* Logo */
/* Logo */
.logo {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff 0%, #ff78ac 50%, #ff4f8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.4s ease;
    text-shadow: 0 0 20px rgba(255, 79, 139, 0.3);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    min-width: 200px;
}

.logo span {
    color: #ff4f8b;
    font-weight: 800;
    -webkit-text-fill-color: #ff4f8b;
}

/* Animated underline */
.logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff4f8b, #ff78ac);
    border-radius: 2px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 79, 139, 0.5);
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    letter-spacing: 6px;
    filter: drop-shadow(0 0 15px rgba(255, 79, 139, 0.6));
}

/* Blinking cursor while typing */
@keyframes blink {
    0%, 50% { border-color: #ff4f8b; }
    51%, 100% { border-color: transparent; }
}

.logo.typing {
    animation: blink 0.8s infinite;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px; /* more spacing for elegance */
    list-style: none;
}

.nav-links a {
    font-size: 1.3rem; /* larger for readability */
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover effect with underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    left: 0;
    bottom: -6px;
    background: #ff4f8b;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ff4f8b;
    text-shadow: 0 0 10px #ff4f8b, 0 0 25px #ff4f8b;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Resume Button */
.resume-btn {
    padding: 12px 28px;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    background: linear-gradient(135deg, #000000, #000000);
    border-radius: 30px;
    border:solid 3px #ff4f8b ;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 79, 139, 0.4);
}

.resume-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 79, 139, 0.6);
}

/* ===========================
   HERO
=========================== */
/* ===========================
   HERO SECTION (Final Polished)
=========================== */
/* ================= HERO ================= */

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 60px 100px;
    color: #fff;
    overflow: hidden;
    margin-top:25px;
}

/* ================= LEFT SIDE ================= */

.hero-left {
    flex: 1;
    animation: fadeInLeft 1.2s ease forwards;
}

.hero-left h3 {
    font-size: 1.8rem;
    color: #ff4f8b;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-left h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: 2px;

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

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

.hero-left h2 {
    font-size: 2rem;
    color: #ff4f8b;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.hero-left h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 70px;
    height: 3px;
    background: #ff4f8b;
    border-radius: 10px;
}

.hero-left p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d8d8d8;
    max-width: 650px;
}

.social-icon{
    width:28px;
    height:28px;
    object-fit:contain;
}

/* ================= SOCIAL LINKS ================= */

.social-links {
    display: flex;
    gap: 18px;
    margin: 35px 0;
}

.social-links a {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #ff4f8b;
    border-radius: 50%;

    color: #ff4f8b;
    font-size: 1.4rem;

    transition: 0.3s ease;
}

.social-links a:hover {
    background: #ff4f8b;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 79, 139, 0.5);
}

/* ================= BUTTONS ================= */
.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 34px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.primary-btn {
    background: linear-gradient(
        135deg,
        #ff4f8b,
        #ff7eb3
    );
    color: white;
    box-shadow: 0 5px 20px rgba(255, 79, 139, 0.4);
}

.secondary-btn {
    border: 2px solid #ff4f8b;
    background: #000;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.secondary-btn:hover {
    transform: translateY(-4px);
    border-color: #ff7eb3;
    box-shadow: 
        0 0 20px rgba(255, 79, 139, 0.6),
        0 0 40px rgba(255, 79, 139, 0.4);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 79, 139, 0.5);
}
/* ================= RIGHT SIDE ================= */

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-circle {
    width: 380px;
    height: 380px;

    border-radius: 50%;
    overflow: hidden;

    border: 5px solid #ff4f8b;

    box-shadow:
        0 0 25px rgba(255,79,139,0.4),
        0 0 60px rgba(255,79,139,0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@media (max-width: 992px) {

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 60px 30px;
        
    }

    .hero-left h1 {
        font-size: 3.2rem;
    }

    .hero-left h2 {
        font-size: 1.6rem;
    }

    .social-links {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-circle {
        width: 280px;
        height: 280px;
    }
}

/* ===========================
   HERO SPHERE
=========================== */
/* ===========================
   HERO SPHERE (Enhanced)
=========================== */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInRight 1.2s ease forwards;
}

/* Static Circle with Simple Glow */
.hero-circle {
  width: 360px;   /* slightly bigger */
  height: 360px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;

  /* remove double border, keep glow only */
  box-shadow: 0 0 70px rgba(255, 79, 139, 0.6);

  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 90px rgba(255, 79, 139, 0.8);
}

/* Profile Image */
.hero-circle img {
  width: 340px;   /* bigger image */
  height: 340px;
  border-radius: 50%;
  object-fit: cover;

  /* no extra border line, just glow */
  box-shadow: 0 0 35px rgba(255, 79, 139, 0.6);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-circle img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(255, 79, 139, 0.8);
}

/* Fade In Animation */
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}


/* ===========================
   GLASS CARD
=========================== */

.glass-card{

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

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

    backdrop-filter:
    blur(18px);

    border-radius:30px;

    padding:50px;

    box-shadow:
    0 0 40px rgba(255,79,139,.12);
}

/* ===========================
   ABOUT
=========================== */

.about-grid{

    margin-top:40px;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;
}

.about-item{

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

    padding:30px;

    border-radius:20px;

    text-align:center;

    transition:.4s;

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

.about-item:hover{

    transform:
    translateY(-10px);

    box-shadow:
    0 0 25px rgba(255,79,139,.3);
}

/* ===========================
   EDUCATION 
=========================== */

/* ==========================
   EDUCATION SECTION
========================== */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 70px auto;
    padding: 20px 0;
}

/* Center Line */

.timeline::before {
    content: '';
    position: absolute;

    left: 50%;
    top: 0;

    transform: translateX(-50%);

    width: 4px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        #00e5ff,
        #4facfe,
        #7b61ff
    );

    border-radius: 20px;

    box-shadow:
        0 0 15px #00e5ff,
        0 0 30px #00e5ff;
}

/* Timeline Item */

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    margin-bottom: 60px;
}

/* Left */

.timeline-item.left {
    left: 0;
}

/* Right */

.timeline-item.right {
    left: 50%;
}

/* Timeline Dot */

.timeline-item::before {
    content: '';

    position: absolute;

    top: 40px;
    right: -12px;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #00e5ff;

    z-index: 10;

    box-shadow:
        0 0 10px #00e5ff,
        0 0 25px #00e5ff;

    animation: pulseDot 2s infinite;
}

.timeline-item.right::before {
    left: -12px;
}

/* Card */

.timeline-content {
    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 20px;

    padding: 30px;

    transition: all 0.4s ease;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.25);
}

.timeline-content:hover {
    transform: translateY(-8px);

    border-color: rgba(0,229,255,0.4);

    box-shadow:
        0 0 20px rgba(0,229,255,0.15),
        0 15px 35px rgba(0,0,0,0.35);
}

/* Text */

.timeline-content h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.timeline-date {
    display: inline-block;

    margin-bottom: 15px;

    color: #00e5ff;
    font-weight: 600;
}

.timeline-content h4 {
    color: #d6d6d6;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #f0f0f0;
    font-size: 1rem;
}

.timeline-content strong {
    color: #00e5ff;
}

/* Dot Animation */

@keyframes pulseDot {

    0% {
        box-shadow:
        0 0 0 0 rgba(0,229,255,0.8);
    }

    70% {
        box-shadow:
        0 0 0 15px rgba(0,229,255,0);
    }

    100% {
        box-shadow:
        0 0 0 0 rgba(0,229,255,0);
    }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 60px;
        padding-right: 15px;
    }

    .timeline-item::before,
    .timeline-item.right::before {
        left: 10px;
    }
}


/* ===========================
   SKILLS
=========================== */
/* ===========================
   SKILLS SECTION (Enhanced)
=========================== */

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #ffffff, #ff78ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
/* Skill Card */
.skill-card {
    position: relative;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: 0.5s ease;
    animation: floatSkill 4s ease-in-out infinite;
}

/* Icon */
.skill-card i {
    font-size: 4rem;
    transition: 0.5s;
}

/* Label */
.skill-card span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
}

/* Hover Effects */
.skill-card:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 0 20px #ff4f8b,
                0 0 40px #ff4f8b,
                0 0 70px rgba(255, 79, 139, 0.5);
}

.skill-card:hover i {
    transform: scale(1.25) rotate(10deg);
    filter: drop-shadow(0 0 15px #ff4f8b)
            drop-shadow(0 0 30px #ff4f8b);
}

/* Animated Shine Effect */
.skill-card::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 79, 139, 0.2),
        transparent
    );
    transform: rotate(25deg);
    transition: 0.7s;
}

.skill-card:hover::before {
    top: 100%;
    left: 100%;
}









/* Floating Animation */
@keyframes floatSkill {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ===========================
   PROJECTS
=/* ===========================
   PROJECTS GRID
=========================== */
.projects-grid {
  display: flex;
  flex-direction: column; /* Stacks the wide row-cards vertically */
  align-items: center;
  gap: 35px; /* Spacing between rows */
  margin-top: 40px;
  width: 100%;
  max-width: 800px; /* Controls the maximum layout width on desktop */
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 40px;
}


.project-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* When visible */
.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:nth-child(1).visible { transition-delay: 0.1s; }
.project-card:nth-child(2).visible { transition-delay: 0.2s; }
.project-card:nth-child(3).visible { transition-delay: 0.3s; }

/* ===========================
   PROJECT CARD (Horizontal Row Layout)
=========================== */
.project-card {
  position: relative;
  width: 100%; /* Spans the full grid container width */
  min-height: 340px; /* Balances height with the left content */
  display: flex;
  flex-direction: row; /* Split into horizontal columns */
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.6s ease;
  box-shadow: 0 0 20px rgba(255, 79, 139, 0.15);
  animation: floatCard 5s ease-in-out infinite;
}


/* Hover Animation */
.project-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 0 25px rgba(255, 79, 139, 0.4),
              0 0 60px rgba(255, 79, 139, 0.25);
}

/* Animated Border Glow */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 25px;
  padding: 2px;
  background: linear-gradient(135deg, #ff4f8b, #ff7eb3, #ffb6d5);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderGlow 4s linear infinite;
  pointer-events: none;
}

@keyframes borderGlow {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Column 1: Left Side Image */
.project-image {
  flex: 1; /* Takes exactly 50% width */
  height: 100%;
  align-self: stretch; /* Stretches vertically to fill container height */
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-image img { 
  transform: scale(1.08); 
}

/* Column 2: Right Side Layout Container */
.project-content {
  flex: 1; /* Takes remaining 50% width */
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* Left-aligns text layouts */
  text-align: left;
}

/* Layer 1: Topic / Project Name */
.project-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff4f8b;
  margin: 0 0 12px 0;
}

/* Layer 2: Tech Stack */
.tech-stack {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tech {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
}

.tech i { font-size: 1.1rem; }
.tech span { font-size: 0.85rem; font-weight: 600; color: #fff; }

.tech:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 79, 139, 0.4);
}


.lc-logo
{
    height:90px;
    width: 90px;
}
/* Layer 3: Description (Enforced 3-Line Limit) */
/* Layer 3: Description */
.project-content p {
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 24px 0;
  max-width: 100%;
}

/* Layer 4: Links (GitHub & Live Server) */
.project-links {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.project-links a {
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-links .live-btn {
  background: linear-gradient(135deg, #ff4f8b, #ff7eb3);
  color: white;
}

.project-links .github-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #ff4f8b;
  color: white;
}

.project-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 79, 139, 0.5);
}

.project-links .github-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ff4f8b;
}

/* Floating Animation */
@keyframes floatCard {
  0% {
    transform: translateY(0px);
  }

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

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

/* Mobile Responsive */
@media (max-width: 768px) {

  .project-card {
    flex-direction: column;
    min-height: auto;
  }

  .project-image {
    width: 100%;
    height: 240px;
  }

  .project-content {
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
  }

  .tech-stack,
  .project-links {
    justify-content: center;
  }

  .github-btn {
    border: solid 2px #ff4f8b;
  }
}

/* ===========================
   ACHIEVEMENTS SECTION
=========================== */

.achievements-section {
    padding: 120px 8%;
    position: relative;
}
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.section-title {
    text-align: center;
    font-size: 4rem;
    font-weight: 450;
    margin-bottom: 80px;
    color: #ff7eb3;
    text-shadow:
        0 0 10px #ff4fa3,
        0 0 10px #ff4fa3,
        0 0 10px #ff4fa3; 
}

/* Grid */

.achievements-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Card */

.achievement-card {
    text-decoration: none;
    color: white;

    background: rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 126, 179, 0.15);

    border-radius: 25px;

    padding: 35px;

    min-height: 420px;

    transition: all 0.4s ease;

    position: relative;

    overflow: hidden;
}

/* Glow Layer */

.achievement-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    background: radial-gradient(
        circle,
        rgba(255, 105, 180, 0.20),
        transparent 70%
    );

    top: -150px;
    right: -150px;

    opacity: 0;

    transition: 0.5s;
}

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

/* Hover */

.achievement-card:hover {

    transform: translateY(-12px);

    border-color: #ff4fa3;

    box-shadow:
        0 0 20px rgba(255, 79, 163, 0.4),
        0 0 40px rgba(255, 79, 163, 0.3),
        0 0 60px rgba(255, 79, 163, 0.2);
}

/* Logo */

.achievement-logo {
    margin-bottom: 25px;
}

.achievement-logo img {
    width: 70px;
    height: 70px;

    object-fit: contain;

    transition: 0.4s ease;
}

.achievement-card:hover .achievement-logo img {
    transform: scale(1.1);
}

/* Heading */

.achievement-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;

    color: #ffffff;
}

/* Badge */

.achievement-badge {

    display: inline-block;

    padding: 8px 16px;

    border-radius: 50px;

    margin-bottom: 25px;

    font-size: 0.95rem;

    font-weight: 600;

    color: #ff9dc8;

    background: rgba(255, 126, 179, 0.12);

    border: 1px solid rgba(255, 126, 179, 0.25);
}

/* Description */

.achievement-card p {

    color: #d8d8d8;

    line-height: 1.9;

    font-size: 1rem;
}

/* Responsive */

@media (max-width: 1100px) {

    .achievements-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .section-title {
        font-size: 2.8rem;
    }

    .achievements-container {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   CERTIFICATES SECTION
=========================== */

.certificates-section {
    padding: 120px 8%;
    position: relative;
}

.certificates-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* Card */

.certificate-card {
    text-decoration: none;
    color: white;

    background: rgba(255, 255, 255, 0.04);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255, 126, 179, 0.15);

    border-radius: 25px;

    padding: 35px;

    min-height: 430px;

    transition: all 0.4s ease;

    position: relative;

    overflow: hidden;
}

/* Shimmer Effect */

.certificate-card::after {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.15),
        transparent
    );

    transition: 0.8s;
}

.certificate-card:hover::after {
    left: 150%;
}

/* Glow Background */

.certificate-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    background: radial-gradient(
        circle,
        rgba(255, 105, 180, 0.18),
        transparent 70%
    );

    top: -150px;
    right: -150px;

    opacity: 0;

    transition: 0.5s ease;
}

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

/* Hover */

.certificate-card:hover {

    transform: translateY(-12px);

    border-color: #ff4fa3;

    box-shadow:
        0 0 20px rgba(255, 79, 163, 0.4),
        0 0 40px rgba(255, 79, 163, 0.3),
        0 0 60px rgba(255, 79, 163, 0.2);
}

/* Logo */

.certificate-logo {
    margin-bottom: 25px;
}

.certificate-logo img {

    width: 75px;
    height: 75px;

    object-fit: contain;

    transition: 0.4s ease;
}

.certificate-card:hover .certificate-logo img {
    transform: scale(1.12);
}

/* Title */

.certificate-card h3 {

    font-size: 1.45rem;

    color: #ffffff;

    margin-bottom: 15px;

    line-height: 1.4;
}

/* Provider */

.certificate-provider {

    display: inline-block;

    padding: 8px 16px;

    margin-bottom: 20px;

    border-radius: 50px;

    background: rgba(255, 126, 179, 0.12);

    border: 1px solid rgba(255, 126, 179, 0.25);

    color: #ff9dc8;

    font-size: 0.9rem;

    font-weight: 600;
}

/* Description */

.certificate-card p {

    color: #d8d8d8;

    line-height: 1.9;

    font-size: 0.98rem;
}

/* Responsive */

@media (max-width: 1100px) {

    .certificates-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .certificates-container {
        grid-template-columns: 1fr;
    }
}

/* Floating
/* ===================================
   CODING PROFILES
=================================== */

.profile-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:32px;

    max-width:900px;
    margin:50px auto 0;
    padding:0 20px;
}

/* ===================================
   CARD
=================================== */

.profile-card{
    position:relative;

    min-height:320px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;
    text-decoration:none;

    padding:35px 25px;

    border-radius:24px;

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(255,255,255,0.08);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    overflow:hidden;

    transition:.4s ease;
}

.profile-card::before{
    content:"";
    position:absolute;
    inset:0;

    background:radial-gradient(
        circle,
        rgba(255,255,255,.12),
        transparent 70%
    );

    opacity:0;

    transition:.4s ease;
}

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

.profile-card:hover{
    transform:translateY(-10px);
}

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

.profile-icon{
    width:100px;
    height:100px;

    display:flex;
    justify-content:center;
    align-items:center;

    margin-bottom:20px;

    border-radius:20px;

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

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

    transition:.4s ease;

    z-index:2;
}

.profile-icon img{
    width:70px;
    height:70px;

    object-fit:contain;

    transition:.4s ease;
}

.profile-card:hover .profile-icon img{
    transform:scale(1.1);
}

/* ===================================
   TEXT
=================================== */

.profile-card h3{
    color:#fff;
    font-size:1.4rem;
    font-weight:700;

    margin-bottom:12px;

    z-index:2;
}

.profile-card p{
    color:#bdbdbd;

    line-height:1.6;
    font-size:.95rem;

    min-height:50px;

    margin-bottom:25px;

    z-index:2;
}

.profile-link-text{
    color:#ff4f8b;

    font-weight:600;
    font-size:.85rem;

    letter-spacing:1px;
    text-transform:uppercase;

    z-index:2;
}

/* ===================================
   GITHUB
=================================== */

.profile-card.github:hover{
    border-color:#ffffff50;

    box-shadow:
    0 15px 40px rgba(255,255,255,.08);
}

/* ===================================
   LEETCODE
=================================== */

.profile-card.leetcode:hover{
    border-color:#ffa116;

    box-shadow:
    0 15px 40px rgba(255,161,22,.2);
}

.profile-card.leetcode:hover h3{
    color:#ffa116;
}

/* ===================================
   GFG
=================================== */

.profile-card.gfg:hover{
    border-color:#2ecc71;

    box-shadow:
    0 15px 40px rgba(46,204,113,.2);
}

.profile-card.gfg:hover h3{
    color:#2ecc71;
}

/* ===================================
   LINKEDIN
=================================== */

.profile-card.linkedin:hover{
    border-color:#0077b5;

    box-shadow:
    0 15px 40px rgba(0,119,181,.2);
}

.profile-card.linkedin:hover h3{
    color:#0077b5;
}

/* ===================================
   MOBILE
=================================== */

@media(max-width:768px){

    .profile-grid{
        grid-template-columns:1fr;
        max-width:450px;
    }

    .profile-card{
        min-height:280px;
    }

}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 768px) {

    .profile-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .profile-card {
        min-height: 300px;
    }
}
/* ===========================
   CONTACT
=========================== */

#contact{

    text-align:center;

}

#contact h3{

    margin-bottom:15px;

    color:var(--primary);

}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(255, 79, 139, 0.4);
}

/* ===========================
   FOOTER
=========================== */

footer {
    text-align: center;
    padding: 40px;
    color: var(--light);
    color: white;
    font-size: 0.95rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 40px;
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

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

@media(max-width:992px){

    .hero-left{
        padding-left:100px;
    }

    .hero{

        flex-direction:column;

        text-align:center;

    }

    .hero-left h1{

        font-size:3rem;

    }

    .about-grid{

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

    }

}

@media(max-width:768px){

    .navbar{

        flex-direction:column;

        gap:15px;

    }

    .nav-links{

        flex-wrap:wrap;
        justify-content:center;

    }

    .about-grid{

        grid-template-columns:1fr;

    }

    .hero-sphere{

        width:260px;
        height:260px;

    }

}

/* ===========================
   contact me 
=========================== */
/* ==========================================
   CONTACT SECTION
========================================== */

.contact-section {
    position: relative;
    overflow: hidden;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 100px;
    margin-top:10px;
    padding-bottom: 20px;
}

/* Background Glow */

.contact-glow {
    position: absolute;
    width: 550px;
    height: 550px;

    top: 50%;
    left: 50%;

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

    background: radial-gradient(
        circle,
        rgba(255, 92, 168, 0.18),
        transparent 70%
    );

    filter: blur(90px);

    z-index: -1;

    animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        transform: translate(-50%, -50%) scale(1);
    }

    to {
        transform: translate(-50%, -50%) scale(1.25);
    }
}

/* ==========================================
   AVAILABILITY BADGE
========================================== */

.availability {
    display: table;
    margin: 0 auto 30px;

    padding: 12px 24px;

    border-radius: 50px;

    background: rgba(0, 255, 157, 0.08);

    border: 1px solid rgba(0, 255, 157, 0.3);

    color: #00ff9d;

    font-weight: 600;

    box-shadow:
        0 0 15px rgba(0, 255, 157, 0.15);

    backdrop-filter: blur(10px);
}

/* ==========================================
   TITLE
========================================== */

.contact-title {
    text-align: center;

    font-size: 3.2rem;
    font-weight: 800;

    margin-bottom: 50px;

    color: #ff5ca8;

    text-shadow:
        0 0 15px #ff5ca8,
        0 0 35px #ff5ca8;
}

/* ==========================================
   MAIN CARD
========================================== */

.contact-card {
    position: relative;

    max-width: 1150px;
    margin: auto;

    padding: 60px 45px;

    text-align: center;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    overflow: hidden;
}

/* Animated Border */

.contact-card::before {
    content: "";

    position: absolute;
    inset: -2px;

    border-radius: 32px;

    

    background-size: 300%;

    z-index: -1;

    opacity: 0.6;

    animation: borderMove 8s linear infinite;
}

@keyframes borderMove {
    0% {
        background-position: 0%;
    }

    100% {
        background-position: 300%;
    }
}

/* ==========================================
   HEADING
========================================== */

.contact-card h3 {
    font-size: 2.2rem;
    color: #ff5ca8;

    margin-bottom: 18px;
}

.contact-card p {
    max-width: 750px;

    margin: 0 auto 40px;

    color: #bfbfbf;

    line-height: 1.8;
    font-size: 1rem;
}

/* ==========================================
   BUTTONS
========================================== */

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;

    margin-bottom: 50px;
}

.contact-btn {
    text-decoration: none;

    padding: 14px 30px;

    border-radius: 50px;

    font-weight: 600;

    transition: all 0.35s ease;
}

/* Email */

.email-btn {
    color: white;

    background: linear-gradient(
        135deg,
        #ff5ca8,
        #ff2d8d
    );

    box-shadow:
        0 0 20px rgba(255, 92, 168, 0.4);
}

.email-btn:hover {
    transform: translateY(-4px);

    box-shadow:
        0 0 35px rgba(255, 92, 168, 0.7);
}

/* LinkedIn */

.linkedin-btn {
    color: #00d4ff;
    border: 1px solid #00d4ff;
}

.linkedin-btn:hover {
    background: #00d4ff;
    color: #000;

    transform: translateY(-4px);
}

/* GitHub */

.github-btn {
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.github-btn:hover {
    background: white;
    color: black;

    transform: translateY(-4px);
}

/* ==========================================
   CONTACT INFO CARDS
========================================== */
/* ==========================================
   CONTACT SECTION
========================================== */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

/* Background Glow */
.contact-glow {
    position: absolute;
    width: 550px;
    height: 550px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 92, 168, 0.18), transparent 70%);
    filter: blur(90px);
    z-index: -1;
    animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.25); }
}

/* ==========================================
   AVAILABILITY BADGE
========================================== */
.availability {
    display: table;
    margin: 0 auto 30px;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.3);
    color: #00ff9d;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.15);
    backdrop-filter: blur(10px);
    margin-top: 25px;
}

/* ==========================================
   TITLE
========================================== */
.contact-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    color: #ff5ca8;
    text-shadow: 0 0 15px #ff5ca8, 0 0 35px #ff5ca8;
}

/* ==========================================
   MAIN CARD
========================================== */
.contact-card {
    position: relative;
    max-width: 1150px;
    margin: auto;
    padding: 60px 45px;
    text-align: center;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.contact-card h3 {
    font-size: 2.2rem;
    color: #ff5ca8;
    margin-bottom: 18px;
}

.contact-card p {
    max-width: 750px;
    margin: 0 auto 40px;
    color: #bf;
    line-height: 1.8;
    font-size: 1rem;
}

/* ==========================================
   BUTTONS - OPTION 1
========================================== */
.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.contact-btn {
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.35s ease;
}

/* Email */
.email-btn {
    color: white;
    background: linear-gradient(135deg, #ff5ca8, #ff2d8d);
    box-shadow: 0 0 20px rgba(255, 92, 168, 0.4);
}

.email-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(255, 92, 168, 0.7);
}

/* WhatsApp - Option 1 Button */
.whatsapp-btn {
    color: #25D366;
    border: 2px solid #25D366;
    background: transparent;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.5);
}
/* LinkedIn */
.linkedin-btn {
    color: #00d4ff;
    border: 1px solid #00d4ff;
}

.linkedin-btn:hover {
    background: #00d4ff;
    color: #000;
    transform: translateY(-4px);
}

/* GitHub */
.github-btn {
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.github-btn:hover {
    background: white;
    color: black;
    transform: translateY(-4px);
}

/* Linktree Button */
.linktree-btn {
    background: linear-gradient(135deg, #39E09B, #00C76F);
    color: #ffffff;
    border: 1px solid rgba(57, 224, 155, 0.4);
    box-shadow: 0 4px 15px rgba(57, 224, 155, 0.25);
}

.linktree-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #4AF2AC, #00D977);
    box-shadow: 0 8px 25px rgba(57, 224, 155, 0.4);
}

.linktree-btn::before {
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================
   CONTACT INFO CARDS - OPTION 2
========================================== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.contact-info-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    border-radius: 20px;
    text-decoration: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}



.contact-info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,92,168,0.15), rgba(123,97,255,0.12));
    opacity: 0;
    transition: 0.4s ease;
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,92,168,0.35);
    box-shadow: 0 0 25px rgba(255,92,168,0.18);
}

/* ==========================================
   ICON BOX
=/* ICON BOX - APP STYLE SQUARE, NO OVERFLOW */
.icon-box {
  width: 45px;
  height: 45px;
  border-radius: 12px; /* App icon mathiri 12px radius */
  display: grid; /* FLEX REMOVE */
  place-items: center; /* Perfect center */
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff5ca8, #7b61ff);
  box-shadow: 0 0 20px rgba(255,92,168,0.45);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  box-sizing: border-box;
  padding: 0; /* Extra padding illa */
}

/* WhatsApp icon box - same pink gradient */
.whatsapp-gradient {
  background: linear-gradient(135deg, #ff5ca8, #7b61ff);
  box-shadow: 0 0 20px rgba(255, 92, 168, 0.45) !important;
}

/* LOGO IMG - BOX KUULLA FIT AAGUM */
.icon-box img,
.icon-box svg {
  width: 22px !important; /* 35px box la 22px dhan - 8px gap left+right */
  height: 22px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(255,92,168,0.6));
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block; /* Inline gap remove */
}

.icon-box:hover img,
.icon-box:hover svg {
  transform: scale(1.1);
  opacity: 1;
}

/* MOBILE - KONJAM SMALL */
@media (max-width: 768px) {
  .icon-box {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
  }
  
  .icon-box img,
  .icon-box svg {
    width: 20px !important;
    height: 20px !important;
  }
}
/* ==========================================
   CARD TEXT
========================================== */
.contact-info-card h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-info-card span {
    color: #d4d4d4;
    font-size: 0.95rem;
}

/* ==========================================
   CTA BUTTON
========================================== */
.build-btn {
    display: inline-block;
    margin-top: 50px;
    padding: 18px 42px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #000, #000);
    box-shadow: 0 0 25px rgba(255,92,168,0.4);
    transition: all 0.4s ease;
}

.build-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(255,92,168,0.7);
}
/* ==================================================
   MOBILE RESPONSIVE - FINAL CLEAN VERSION
/* ==================================================
 /* ==================================================
   MOBILE RESPONSIVE v128 - FINAL FIX
 /* ==================================================
   MOBILE NAVBAR v130 - LOADER MUDINJA PIragu MATTUM SHOW
   ================================================== */

@media (max-width: 768px) {

     
    
    /* NAVBAR ALWAYS VISIBLE & STICKY ON MOBILE (no more show/hide on scroll) */
    .navbar {
        position: fixed !important;
        top: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 95% !important;
       min-height: 65px !important;
padding: 10px 15px !important;
        flex-direction: column !important;
        gap: 8px !important;
        border-radius: 20px !important;
        background: rgba(22, 8, 18, 0.85) !important;
        backdrop-filter: blur(25px) !important;
        border: 1px solid var(--glass-border) !important;
        box-shadow: var(--shadow) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transition: background 0.4s ease, box-shadow 0.4s ease !important;
        z-index: 9999 !important;
        box-sizing: border-box !important;
        
    }

    .logo {
        font-size: 1.4rem !important;
        text-align: center !important;
        width: 100% !important;
        min-width: auto !important;
        
    }

    .nav-links {
        gap: 6px 10px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        
    }

    /* Mobile nav shows only Home, Skills, Projects, Contact */
    .nav-links .nav-desktop-only {
        display: none !important;
    }

    .nav-links a {
        font-size: 0.82rem !important;
        padding: 4px 0 !important;
        color: #fff !important;
    }

    /* Mobile active underline */
    .nav-links a.active::after,
    .nav-links a:hover::after {
        height: 2.5px !important;
        bottom: -4px !important;
        background: #ff4f8b !important;
        content: '' !important;
        position: absolute !important;
        width: 100% !important;
        left: 0 !important;
        border-radius: 2px !important;
    }

    .nav-links a {
        position: relative !important;
    }

    .resume-btn, #theme-toggle {
        display: none !important;
    }

    /* BODY PADDING - NAVBAR IS ALWAYS FIXED ON MOBILE NOW */
    body {
        padding-top: 130px !important;
    }

    html {
        scroll-padding-top: 130px !important;
    }

    section,
    #home,
    #Education,
    #Skills,
    #Projects,
    #Achievements,
    #Profiles,
    #Contact {
        scroll-margin-top: 130px !important;
    }

    /* Section Headlines */
    section h2,
    .section-title,
    .heading,
    h2 {
        font-size: 1.6rem !important;
        font-weight: 600 !important;
        text-align: center !important;
        margin: 0 0 25px 0 !important;
        padding: 0 15px !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    /* Hero */
    .hero {
        flex-direction: column-reverse !important;
        padding: 30px 20px !important;
        margin-top: 0 !important;
        gap: 35px !important;
        min-height: 100vh !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-left {
        width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    .hero-left h3 {
        font-size: 1.1rem !important;
        margin: 0 0 8px 0 !important;
        text-align: center !important;
    }

    .hero-left h1 {
        font-size: 2.2rem !important;
        margin: 5px 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    .hero-left h2 {
        font-size: 1.2rem !important;
        margin: 5px 0 15px 0 !important;
        white-space: normal !important;
        word-break: break-word !important;
        padding: 0 10px !important;
        line-height: 1.4 !important;
        text-align: center !important;
    }

    .hero-left p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        padding: 0 10px !important;
        text-align: justify !important;
        text-justify: inter-word !important;
        hyphens: auto !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Photo */
    .hero-circle {
        width: 220px !important;
        height: 220px !important;
        margin: 0 auto !important;
        padding-top: 0 !important;
        box-sizing: border-box !important;
    }

    .hero-circle img {
        width: 200px !important;
        height: 200px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }

    /* Buttons */
    .hero-buttons {
        justify-content: center !important;
        gap: 12px !important;
        flex-wrap: wrap !important;
        margin-top: 10px !important;
    }

    .btn {
        padding: 12px 24px !important;
        font-size: 0.95rem !important;
        min-width: 140px !important;
    }

    /* Social icons */
    .social-links {
        justify-content: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        margin-top: 15px !important;
    }

    .social-links a {
        width: 50px !important;
        height: 50px !important;
    }

    /* Tech Stack */
    .skills-grid, 
    .tech-stack,
    .achievements-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .skills-grid .skill-card,
    .tech-stack .tech-card,
    .achievements-grid .achievement-card {
        width: 100% !important;
        padding: 18px 12px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .skills-grid .skill-card img,
    .tech-stack .tech-card img,
    .achievements-grid .achievement-card img {
        width: 45px !important;
        height: 45px !important;
        margin: 0 auto 8px auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    .skills-grid .skill-card h3,
    .tech-stack .tech-card h3,
    .achievements-grid .achievement-card h3 {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
        word-break: break-word !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    /* CONTACT CARD - GRID 1/3 LOGO + 2/3 TEXT */
    .contact-info {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-info-card {
        width: 100% !important;
        height: 85px !important;
        display: grid !important;
        grid-template-columns: 1fr 2fr !important;
        align-items: center !important;
        padding: 0 15px !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--glass-border) !important;
        border-radius: 18px !important;
        backdrop-filter: blur(15px) !important;
        box-sizing: border-box !important;
    }

    .icon-box {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #ff5ca8, #7b61ff) !important;
        box-shadow: 0 0 20px rgba(255,92,168,0.45) !important;
        overflow: hidden !important;
        position: relative !important;
        display: block !important;
        justify-self: center !important;
        margin: 0 !important;
    }

    .icon-box img,
    .icon-box svg {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        object-fit: contain !important;
    }

    .contact-info-card div {
        display: grid !important;
        gap: 4px !important;
        padding-left: 12px !important;
        min-width: 0 !important;
    }

    .contact-info-card h4 {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        text-align: left !important;
        color: var(--primary) !important;
    }

    .contact-info-card span,
    .contact-info-card p,
    .contact-info-card a {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        text-align: left !important;
        margin: 0 !important;
        color: var(--white) !important;
    }

    /* TYPING PINK LINE REMOVE */
    #typing-text::after,
    #typing-text::before,
    .typing-cursor,
    .typing-line {
        display: none !important;
        content: none !important;
        border: none !important;
    }

    /* MOBILE CURSOR FIX */
    .cursor,
    .cursor-follower,
    .custom-cursor,
    [class*="cursor"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    body, a, button {
        cursor: default !important;
    }
}

/* Extra Small 380px */
@media (max-width: 380px) {
    .hero {
        padding: 25px 20px !important;
    }

    .hero-circle {
        width: 180px !important;
        height: 180px !important;
    }

    .hero-circle img {
        width: 160px !important;
        height: 160px !important;
    }

    .nav-links a.active::after,
    .nav-links a:hover::after {
        height: 2px !important;
        bottom: -3px !important;
    }
    
    .contact-info-card {
        height: 80px !important;
    }
    
    .icon-box {
        width: 40px !important;
        height: 40px !important;
        border-radius: 9px !important;
    }
    
    .icon-box img,
    .icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }
    


}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: #0a0a0f;
}


body {
   /* background: radial-gradient(circle at 20% 50%, #000000 0%, #0a0a0f 100%); */
   background: transparent;
}
/* Desktop Active Navigation */
@media (min-width: 769px) {

    /* ===== PREMIUM ACTIVE NAVBAR ===== */

    .nav-links a {
        position: relative;
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 8px 12px;
        border-radius: 10px;
    }

    /* Active Link */
    .nav-links a.active {
        color: #ff69b4;
        background: rgba(255, 105, 180, 0.12);
        box-shadow: 0 0 15px rgba(255, 105, 180, 0.15);
        font-weight: 600;
        transform: translateY(-2px);
    }

    /* Animated Underline */
    .nav-links a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -6px;
        width: 0;
        height: 3px;
        background: linear-gradient(90deg, #ff69b4, #ff1493);
        border-radius: 10px;
        transform: translateX(-50%);
        transition: width 0.35s ease;
    }

    .nav-links a.active::after {
        width: 80%;
    }

    /* Hover Effect */
    .nav-links a:hover {
        color: #ff69b4;
    }

    .nav-links a:hover::after {
        width: 80%;
    }
}