/* ===============================
   Portfolio Styles — Moulya S
   IMAGE & PDF LINKS (edit these):
   IMAGE_URL: assets/profile.jpg
   RESUME_PDF_URL: assets/Moulya_S_Resume.pdf
   INTERNSHIP_PDF_URL: assets/Cognifyz_Offer_Letter.pdf
   =============================== */

:root {
  --bg: #0f172a;          /* dark blue-gray background */
  --card: #1e293b;        /* card background */
  --text: #f1f5f9;        /* main text */
  --muted: #94a3b8;       /* muted text */
  --brand: #3b82f6;       /* primary blue */
  --brand-2: #06b6d4;     /* cyan accent */
  --radius: 14px;         /* rounded corners */
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  --transition: all 0.25s ease;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: radial-gradient(1000px 600px at 10% -10%, rgba(59,130,246,0.15), transparent),
              radial-gradient(800px 500px at 90% 0%, rgba(6,182,212,0.15), transparent),
              var(--bg);
  color: var(--text);
  line-height: 1.75;
}

/* Layout container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.id-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  background: #222;
}

.title {
  font-size: 1.8rem;
  font-weight: 700;
}

.subtitle {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 1rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: var(--transition);
}
.nav a:hover {
  opacity: 1;
  color: var(--brand-2);
}

/* Links (GitHub, LinkedIn, Resume) */
.links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.btn {
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
}
.btn.small {
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Cards */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}

/* Grid + Pills */
.grid {
  display: grid;
  gap: 1rem;
}
.skills-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-align: center;
}

/* Lists */
.list {
  padding-left: 1.25rem;
}
.list li {
  margin: 0.4rem 0;
  color: var(--text);
}

/* Project meta */
.project .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
  margin-top: 2rem;
}
.site-footer p {
  color: var(--muted);
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .nav {
    width: 100%;
    text-align: center;
    padding-bottom: 0.5rem;
  }
  .header-inner {
    justify-content: center;
  }
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  text-align: center;
  transition: var(--transition);
}
.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
}

.skill-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}
.skill-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.skill-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
/* Certificates Section */
#certificates {
  padding: 50px 20px;
  background: #0f172a; /* dark background (same as theme) */
  color: #fff;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #f8fafc;
}

/* Grid Layout */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Certificate Card */
.certificate-card {
  background: #1e293b;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.5);
}

/* Certificate Image */
.certificate-icon {
  width: 100%;
  max-height: 200px; /* keeps all same height */
  object-fit: contain; /* avoids stretching */
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff; /* white bg for PDF previews */
  padding: 5px;
}

/* Text Info */
.certificate-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #e2e8f0;
}

.certificate-info p {
  font-size: 0.95rem;
  color: #94a3b8;
}

.certificate-info .date {
  font-weight: bold;
  color: #facc15; /* highlight date (yellow) */
}
/* Interests Section */
#interests {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#interests .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#interests h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #38bdf8; /* light blue heading */
}

#interests .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

#interests .pill {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 20px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #f1f5f9; /* soft white */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#interests .pill:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}
/* Achievements Section */
#achievements {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#achievements .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#achievements h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #38bdf8; /* light blue heading */
}

#achievements .list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

#achievements .list li {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 20px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #f1f5f9; /* soft white */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: left;
}

#achievements .list li:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}

#achievements .btn.small {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 10px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

#achievements .btn.small:hover {
  background: #2563eb;
  color: #fff;
}
/* Personal Details Section */
#personal {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#personal .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#personal h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #38bdf8; /* light blue heading */
}

#personal .list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

#personal .list li {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 20px;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 500;
  color: #f1f5f9; /* soft white */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: left;
}

#personal .list li strong {
  color: #38bdf8; /* highlight labels */
}

#personal .list li:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}
/* ==========================
   Contact Section
   ========================== */
#contact {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#contact .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #38bdf8; /* light blue heading */
}

#contact .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#contact .list li {
  background: linear-gradient(135deg, #1e293b, #334155);
  margin: 12px 0;
  padding: 15px 20px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #f1f5f9; /* soft white */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#contact .list li a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#contact .list li a:hover {
  color: #fff;
}

#contact .list li:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}
/* Internships Section */
#internship {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#internship .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#internship h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #38bdf8; /* light blue heading */
}

#internship .card {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#internship .card h3 {
  font-size: 1.3rem;
  color: #f1f5f9;
  margin-bottom: 10px;
}

#internship .card p {
  font-size: 1rem;
  color: #cbd5e1; /* softer gray text */
  margin: 8px 0;
}

#internship .card a.btn.small {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

#internship .card a.btn.small:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  transform: translateY(-4px);
}

#internship .card:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient hover */
  transform: translateY(-8px);
  color: #fff;
}
/* Projects Section */
#projects {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#projects .container {
  max-width: 1000px;
  margin: auto;
}

#projects h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #3865f8; /* light blue heading */
}

#projects .card.project {
  background: linear-gradient(135deg, #1e293b, #334155);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#projects .card.project:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}

#projects .project-image img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#projects .project-content {
  flex: 1;
}

#projects .project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #38c5f8fa;
}

#projects .project-content p {
  margin: 5px 0;
  font-size: 1rem;
  color: #f1f5f9;
}

#projects .project-content .meta {
  font-size: 0.95rem;
  color: #cbd5e1;
}
/* Certificates Section */
#certificates {
  padding: 54px 23px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#certificates .container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

#certificates h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #38bdf8; /* light blue heading */
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.certificate-card {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 20px;
  border-radius: 15px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

.certificate-card:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}

.certificate-card:hover h3,
.certificate-card:hover p {
  color: #fff;
}

.certificate-icon {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.certificate-info h3 {
  font-size: 1.0rem;
  font-weight: 600;
  margin: 0 0 5px;
  color: #f1f5f9;
}

.certificate-info p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.certificate-info .date {
  color: #38bdf8; /* highlight date */
  font-weight: 500;
}
/* ===============================
   Skills Section
   =============================== */
#skills {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#skills .container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

#skills h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #38bdf8; /* light blue heading */
}

/* Skills Grid */
#skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* Skill Card */
#skills .skill-card {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  text-align: center;
}

#skills .skill-card:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}

/* Skill Icons */
#skills .skill-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
/* ===============================
   Education Section
   =============================== */
#education {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#education .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#education h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #38bdf8; /* light blue heading */
}

/* Education Cards */
#education .card {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#education .card:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}

#education .card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #f1f5f9;
}

#education .card p {
  font-size: 1rem;
  margin: 5px 0;
  color: #cbd5e1; /* soft gray */
}
/* ===============================
   Objective Section
   =============================== */
#objective {
  padding: 50px 20px;
  background: #0f172a; /* dark navy background */
  color: #f8fafc;
}

#objective .container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

#objective h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #38bdf8; /* light blue heading */
}

/* Objective Card */
#objective p {
  background: linear-gradient(135deg, #1e293b, #334155);
  padding: 25px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 400;
  color: #f1f5f9; /* soft white */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
  line-height: 1.7;
}

#objective p:hover {
  background: linear-gradient(135deg, #2563eb, #38bdf8); /* blue gradient */
  transform: translateY(-8px);
  color: #fff;
}

