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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            overflow-x: hidden;
            background: #0a0a0a;
            color: white;
        }

        /* Animated Background */
        .bg-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0a0a0a 75%, #1a1a2e 100%);
            background-size: 400% 400%;
            animation: gradientShift 8s ease infinite;
        }

        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .shape {
            position: absolute;
            opacity: 0.1;
            animation: float 20s infinite linear;
        }

        .shape:nth-child(1) {
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
            border-radius: 50%;
            top: 20%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            width: 120px;
            height: 120px;
            background: linear-gradient(45deg, #a8e6cf, #ffd93d);
            border-radius: 20px;
            top: 60%;
            animation-delay: -5s;
        }

        .shape:nth-child(3) {
            width: 100px;
            height: 100px;
            background: linear-gradient(45deg, #ff8a95, #a8e6cf);
            border-radius: 50%;
            top: 40%;
            animation-delay: -10s;
        }

        .shape:nth-child(4) {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, #4ecdc4, #45b7d1);
            border-radius: 30px;
            top: 80%;
            animation-delay: -15s;
        }

        /* Hero Section */
/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;

    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;
}

/* Title with glow animation */
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

/* Subtitle fade-in delay */
.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 2rem;
    color: #A0D8EF;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

/* Description fade-in delay */
.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: #C0C0C0;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

/* CTA button */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: #667eea;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

.cta-button:hover {
    background: #556cd6;
    transform: scale(1.05);
}

/* Mini stats bar */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 1rem;
    color: #fff;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.2s;
}

.hero-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.hero-stats span:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #667eea, 0 0 20px #764ba2;
    }
    to {
        text-shadow: 0 0 20px #667eea, 0 0 30px #764ba2;
    }
}


        .cta-button {
            display: inline-block;
            padding: 15px 40px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            animation-delay: 0.9s;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        /* About Section */
        .about-section   {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 100px 20px;
            position: relative;
        }

        .about-container {
            max-width: 1200px;
            width: 100%;
        }

        .about-header {
            text-align: center;
            margin-bottom: 80px;
        }

        .about-title  {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease;
        }

        .about-subtitle  {
            font-size: clamp(1.1rem, 3vw, 1.4rem);
            color: #A0D8EF;
            font-weight: 300;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease 0.2s;
        }

        .about-title.animate,
        .about-subtitle.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-text {
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease 0.4s;
        }

        .about-text.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .about-paragraph {
            font-size: 1.2rem;
            line-height: 1.8;
            color: #e8e8e8;
            margin-bottom: 1.5rem;
            overflow: hidden;
        }

        .typing-text {
            border-right: 2px solid #4ecdc4;
            animation: blink 1s ;
        }

        .terminal-container {
            opacity: 1;
            transform: translateX(50px);
            transition: all 0.8s ease 0.6s;
        }

        .terminal-container.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .terminal {
            background: rgba(20, 20, 20, 0.9);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .terminal-header {
            background: rgba(40, 40, 40, 0.8);
            padding: 12px 20px;
            display: flex;
            gap: 8px;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .terminal-button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .terminal-red { background: #ff5f56; }
        .terminal-yellow { background: #ffbd2e; }
        .terminal-green { background: #27ca3f; }

        .terminal-content {
            padding: 20px;
            font-family: 'Monaco', 'Menlo', monospace;
            font-size: 14px;
            line-height: 1.6;
        }

        .terminal-line {
            margin-bottom: 8px;
            opacity: 0;
            transform: translateY(10px);
            animation: terminalFadeIn 0.6s ease forwards;
        }

        .terminal-line:nth-child(1) { animation-delay: 1s; }
        .terminal-line:nth-child(2) { animation-delay: 2.5s; }
        .terminal-line:nth-child(3) { animation-delay: 4s; }
        .terminal-line:nth-child(4) { animation-delay: 5.5s; }
        .terminal-line:nth-child(5) { animation-delay: 6s; }

        .prompt {
            color: #ff79c6;
        }

        .command {
            color: #50fa7b;
        }

        .output {
            color: #f1fa8c;
        }

        .cursor {
            background: #4ecdc4;
            animation: blink 1s infinite;
        }

        .cursor::after {
            content: '█';
            color: #4ecdc4;
        }

        /* Quotes Section */
        .quotes-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 100px 20px;
            position: relative;
        }

        .quotes-container {
            max-width: 1000px;
            text-align: center;
        }

        .section-title {
            font-size: clamp(2.5rem, 6vw, 4rem);
            font-weight: 700;
            margin-bottom: 4rem;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease;
        }

        .section-title.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .quote-carousel {
            position: relative;
            height: 300px;
            perspective: 1000px;
        }

        .quote-card {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 700px;
            padding: 40px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            opacity: 0;
            transform: translateX(-50%) rotateY(90deg);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .quote-card.active {
            opacity: 1;
            transform: translateX(-50%) rotateY(0deg);
        }

        .quote-text {
            font-size: clamp(1.3rem, 3vw, 1.8rem);
            line-height: 1.5;
            margin-bottom: 2rem;
            color: #e8e8e8;
            font-style: italic;
            position: relative;
        }

        .quote-text::before,
        .quote-text::after {
            content: '"';
            font-size: 4rem;
            color: #667eea;
            position: absolute;
            font-family: serif;
        }

        .quote-text::before {
            top: -20px;
            left: -20px;
        }

        .quote-text::after {
            bottom: -40px;
            right: -10px;
        }

        .quote-author {
            font-size: 1.2rem;
            color: #b8b8b8;
            font-weight: 500;
        }

        .quote-nav {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 3rem;
        }

        .quote-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .quote-dot.active {
            background: #667eea;
            transform: scale(1.3);
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-indicator::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            width: 6px;
            height: 10px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 3px;
            animation: scroll 2s infinite;
        }

        .scroll-indicator:hover {
            border-color: #667eea;
        }

        /* Animations */
        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        @keyframes float {
            0% { 
                transform: translateX(-100px) rotate(0deg);
                opacity: 0;
            }
            10% { opacity: 0.1; }
            90% { opacity: 0.1; }
            100% { 
                transform: translateX(calc(100vw + 100px)) rotate(360deg);
                opacity: 0;
            }
        }

        @keyframes fadeInUp {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes glow {
            from { text-shadow: 0 0 20px rgba(102, 126, 234, 0.5); }
            to { text-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 0 0 40px rgba(118, 75, 162, 0.3); }
        }

        @keyframes scroll {
            0% { 
                transform: translateX(-50%) translateY(0);
                opacity: 0; 
            }
            50% { opacity: 1; }
            100% { 
                transform: translateX(-50%) translateY(15px);
                opacity: 0; 
            }
        }

        @keyframes blink {
            0%, 50% { opacity: 1; }
            51%, 100% { opacity: 0; }
        }

        @keyframes terminalFadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content {
                padding: 0 10px;
            }
            
            .quote-card {
                padding: 30px 20px;
            }
            
            .quote-text::before,
            .quote-text::after {
                font-size: 3rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .about-text,
            .terminal-container {
                transform: translateY(30px);
            }

            .about-text.animate,
            .terminal-container.animate {
                transform: translateY(0);
            }

            .terminal-content {
                font-size: 12px;
            }
        }



/* Glassmorphism for items */
.glassmorphism {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Better mobile adjustments */
@media (max-width: 768px) {
  .timeline-dot {
    left: -18px;
  }

  .timeline-line {
    left: -12px;
  }

  .glassmorphism {
    padding: 1rem;
  }
}





    /* Projects Section (Matches About Section Logic) */
.projects-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  position: relative;
  background-color: transparent; /* match body background */
}

.projects-container {
  max-width: 1200px;
  width: 100%;
}

.projects-header {
  text-align: center;
  margin-bottom: 80px;
}

.projects-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg,  #FF6F91);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.projects-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color:#A0D8EF;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.projects-title.animate,
.projects-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

.projects-content {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.4s;
}

.projects-content.animate {
  opacity: 1;
  transform: translateX(0);
}

.projects-scroll {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.projects-scroll::-webkit-scrollbar {
  height: 8px;
}

.projects-scroll::-webkit-scrollbar-thumb {
  background: #4ecdc4;
  border-radius: 10px;
}

/* Individual Card */
.project-card {
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  border-radius: 18px;
  min-width: 340px;
  max-width: 360px;
  flex: 0 0 auto;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
}

/* Image + Tag */
.project-image {
  position: relative;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #4ecdc4;
  color: #0e0e0e;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Text Content */
.project-content {
  padding: 20px;
}

.project-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
}

.project-content p {
  font-size: 0.95rem;
  color: #cccccc;
  margin: 10px 0 20px;
  line-height: 1.5;
}

/* Skills Pills */
.project-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.skill-pill {
  background-color: #2c2c2c;
  color: #4ecdc4;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 999px;
}

/* Links */
.project-links a {
  font-size: 0.85rem;
  color: #4ecdc4;
  margin-right: 15px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.project-links a:hover {
  color: #76f9f0;
}





.skills-section {
    min-height: 100vh;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.skills-container {
    max-width: 1200px;
    width: 100%;
}

.skills-header {
    text-align: center;
    margin-bottom: 80px;
}

.skills-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg,  #667EEA);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.skills-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #A0D8EF;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.skills-title.animate,
.skills-subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skills-card {
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.skills-card:hover {
    transform: translateY(-5px);
}

.skills-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.skills-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.skills-icon {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.skill-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-bar .skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.skill-bar .bar {
    background-color: #e5e7eb;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.skill-bar .bar > div {
    height: 8px;
    border-radius: 10px;
    background: linear-gradient(to right, #4ecdc4, #44a08d);
}






.stacks-section {
  min-height: 100vh;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stacks-container {
  max-width: 1200px;
  width: 100%;
}

.stacks-header {
  text-align: center;
  margin-bottom: 80px;
}

.stacks-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg,#FFD93D );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.stacks-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: #A0D8EF;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.stacks-title.animate,
.stacks-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

.stacks-content {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease 0.4s;
}
.stacks-content.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Tech tags */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.tech-tag {
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan, #00ffff);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tech-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
  border-color: var(--neon-cyan, #00ffff);
}

.tech-tag:hover::before {
  left: 100%;
}






.experience-section {
  min-height: 100vh;
  background: transparent; /* Show body background */
  padding: 100px 20px;
  position: relative;
}

.experience-container {
  max-width: 1200px;
  margin: 0 auto;
}

.experience-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg , #FF8A95 );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.experience-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: #A0D8EF;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.experience-title.animate,
.experience-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline line gradient */
.timeline-line {
  position: absolute;
  left: -23px;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(99,102,241,0.9), rgba(255,255,255,0.1));
}

/* Timeline dots with glow */
.timeline-dot {
  width: 16px;
  height: 16px;
  background-color: #6366f1;
  border-radius: 50%;
  position: absolute;
  left: -30px;
  top: 12px;
  z-index: 10;
  box-shadow: 0 0 10px rgba(99,102,241,0.8);
}

/* Glassmorphism cards */
.glassmorphism {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .timeline-dot { left: -18px; }
  .timeline-line { left: -12px; }
  .glassmorphism { padding: 1rem; }
}




/* ===== Research & Publications ===== */
.research-section {
  background: transparent;
  position: relative;
  padding: 80px 20px; /* vertical padding + horizontal padding */
  max-width: 1200px;
  margin: 0 auto; /* center horizontally */
  box-sizing: border-box;
}

.research-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #ff6f91, #ff9671);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  margin-bottom: 0.5rem;
  text-align: center;
}

.research-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: #A0D8EF;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
  margin-bottom: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.research-title.animate,
.research-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Add a container inside for content with padding */
.research-container {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Optional: style individual publication cards */
.timeline-item .glassmorphism {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(255, 105, 135, 0.1);
  transition: background 0.3s ease;
}

.timeline-item .glassmorphism:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Button links */
.btn-link {
  padding: 6px 14px;
  background: #ff6f91;
  color: white;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-link:hover {
  background: #ff4757;
}

/* ===== Contact Section ===== */
.contact-section {
  background: transparent;
}

.contact-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  background: linear-gradient(135deg, #4ecdc4, #556270);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.contact-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color:  #A0D8EF ;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.contact-title.animate,
.contact-subtitle.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons in research section */
.btn-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-link:hover {
  background: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

/* Inputs in contact form */
.contact-section input,
.contact-section textarea {
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
  background: rgba(255, 255, 255, 0.03);
  border-color: #6366f1;
}



