/* ============================================
   Jeslet Mariya Shaiju — Portfolio
   Theme: Green & Black
   ============================================ */

:root {
  --green-primary: #00c853;
  --green-light: #69f0ae;
  --green-dark: #00a844;
  --green-glow: rgba(0, 200, 83, 0.35);
  --black-bg: #0a0a0a;
  --black-surface: #111111;
  --black-card: #1a1a1a;
  --black-border: #2a2a2a;
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--black-border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(10, 10, 10, 0.95);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-primary);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-primary);
  transition: var(--transition);
}

/* ---- Section Layout ---- */
section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title span {
  color: var(--green-primary);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

/* ---- Portfolio Hero ---- */
.portfolio-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.portfolio-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  position: relative;
}

.portfolio-hero h1 span {
  color: var(--green-primary);
}

.portfolio-hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- About ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
    width: 320px;
    height: auto;
    border-radius: 20px;
    border: none;
    box-shadow: none;
}

.about-image::before {
    display: none;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.highlight-tag {
  padding: 0.5rem 1rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--green-light);
  font-weight: 500;
}

/* ---- Experience ---- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green-primary), var(--black-border));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  background: var(--green-primary);
  border-radius: 50%;
  border: 3px solid var(--black-bg);
  box-shadow: 0 0 12px var(--green-glow);
  transform: translateX(-6px);
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.95rem;
  color: var(--green-primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.timeline-list {
  list-style: none;
}

.timeline-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.timeline-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-size: 0.8rem;
}

/* ---- Projects ---- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.project-card:hover {
  border-color: rgba(0, 200, 83, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--green-glow);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.status-ongoing {
  background: rgba(0, 200, 83, 0.15);
  color: var(--green-light);
  border: 1px solid rgba(0, 200, 83, 0.3);
}

.status-completed {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--black-border);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tech-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: 6px;
  color: var(--text-secondary);
}

.project-list {
  list-style: none;
}

.project-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.project-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  background: var(--green-primary);
  border-radius: 50%;
}

/* SDG Icons */
.sdg-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--black-border);
}

.sdg-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sdg-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.sdg-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
  position: relative;
}

.sdg-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sdg-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.sdg-icon::after {
  content: attr(data-sdg);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 0.55rem;
  text-align: center;
  padding: 2px;
  opacity: 0;
  transition: var(--transition);
}

.sdg-icon:hover::after {
  opacity: 1;
}

/* ---- Education ---- */
.education-grid {
  display: grid;
  gap: 1.5rem;
}

.edu-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: var(--transition);
}

.edu-card:hover {
  border-color: rgba(0, 200, 83, 0.25);
}

.edu-card.current {
  border-color: rgba(0, 200, 83, 0.4);
  background: linear-gradient(135deg, var(--black-card), rgba(0, 200, 83, 0.05));
}

.edu-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 200, 83, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.edu-degree {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.edu-school {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.edu-meta {
  text-align: right;
}

.edu-percentage {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--green-primary);
}

.edu-year {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.edu-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 200, 83, 0.15);
  color: var(--green-light);
  border-radius: 4px;
  margin-top: 0.35rem;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--black-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-name {
  color: var(--green-primary);
  font-weight: 600;
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--black-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    margin: 0 auto;
  }

  .about-highlights {
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .edu-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .edu-meta {
    text-align: center;
  }

  section {
    padding: 4rem 1.25rem;
  }
}
/* ===========================
   Skills Section
=========================== */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
    gap:25px;
    margin-top:50px;
}

.skill-card{
    background:#151515;
    border:1px solid #2b2b2b;
    border-radius:18px;
    padding:25px 15px;
    text-align:center;
    transition:.4s;
    cursor:pointer;
    animation:float 4s ease-in-out infinite;
}

.skill-card:nth-child(even){
    animation-delay:1s;
}

.skill-card:nth-child(3n){
    animation-delay:2s;
}

.skill-card i{
    font-size:55px;
    margin-bottom:15px;
    color:#00c853;
    transition:.4s;
}

.skill-card span{
    display:block;
    font-size:15px;
    font-weight:600;
    color:white;
}

.skill-card:hover{
    transform:translateY(-12px) scale(1.08);
    box-shadow:0 0 25px rgba(0,200,83,.45);
    border-color:#00c853;
}

.skill-card:hover i{
    transform:rotate(10deg) scale(1.2);
}

@keyframes float{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}
.skill-logo{
    width:55px;
    height:55px;
    margin:0 auto 15px;
    display: block;
    transition:.4s;
}

.skill-card:hover .skill-logo{
    transform:rotate(10deg) scale(1.2);
}
/* ===== Footer Social ===== */

.footer-heading{
    font-size:1.8rem;
    margin-bottom:10px;
    color:var(--text-primary);
}

.footer-description{
    max-width:600px;
    margin:0 auto 30px;
    color:var(--text-secondary);
    line-height:1.7;
}

.social-links{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:35px;
}

.social-links a{
    width:55px;
    height:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--black-card);
    border:1px solid var(--black-border);
    color:var(--green-primary);
    font-size:1.4rem;
    transition:0.3s;
}

.social-links a:hover{
    background:var(--green-primary);
    color:#000;
    transform:translateY(-6px);
    box-shadow:0 0 20px var(--green-glow);
}

.footer-line{
    width:120px;
    margin:25px auto;
    border:none;
    border-top:1px solid var(--black-border);
}

.footer a{
    color:var(--green-primary);
    transition:.3s;
}

.footer a:hover{
    color:var(--green-light);
}
/*=========================
      SDG SECTION
=========================*/

.sdg-intro{
    max-width:850px;
    margin:auto;
    text-align:center;
    color:var(--text-secondary);
    line-height:1.8;
    margin-bottom:50px;
}

.sdg-grid{
    display:grid;
    gap:25px;
}

.sdg-card{

    display:flex;
    align-items:center;
    gap:25px;

    background:var(--black-card);
    border:1px solid var(--black-border);

    border-radius:18px;

    padding:22px;

    transition:.35s;
}

.sdg-card img{

    width:90px;
    border-radius:10px;
    flex-shrink:0;

}

.sdg-card h3{

    color:var(--green-primary);
    margin-bottom:10px;

}

.sdg-card p{

    color:var(--text-secondary);
    line-height:1.7;

}

.sdg-card:hover{

    transform:translateY(-6px);
    box-shadow:0 0 20px var(--green-glow);
    border-color:var(--green-primary);

}

@media(max-width:768px){

.sdg-card{

flex-direction:column;
text-align:center;

}

}
/*==========================
   CERTIFICATION PREVIEW
===========================*/

.cert-preview{

    display:flex;
    align-items:center;
    gap:35px;

    background:var(--black-card);

    border:1px solid var(--black-border);

    padding:35px;

    border-radius:20px;

    transition:.35s;

}

.cert-preview:hover{

    border-color:var(--green-primary);

    box-shadow:0 0 30px rgba(0,200,83,.25);

}

.cert-icon{

    width:110px;
    height:110px;

    background:rgba(0,200,83,.12);

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-shrink:0;

}

.cert-icon i{

    font-size:50px;
    color:var(--green-primary);

}

.cert-info h3{

    margin-bottom:12px;

    font-size:1.6rem;

}

.cert-info p{

    color:var(--text-secondary);

    line-height:1.8;

    margin-bottom:25px;

}

.cert-preview-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:var(--green-primary);

    color:#000;

    padding:14px 26px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.cert-preview-btn:hover{

    transform:translateY(-3px);

    background:var(--green-light);

}

.cert-preview-btn i{

    transition:.3s;

}

.cert-preview-btn:hover i{

    transform:translateX(5px);

}

@media(max-width:768px){

.cert-preview{

    flex-direction:column;

    text-align:center;

}

}
