/* Color system */
:root {
  --bg: #143765;
  --bg-alt: #0b173b;
  --text: #ffffff;
  --muted: #ffffff;
  --primary: #8aa4ff;
  --accent: #7ee787;
  --card: #12172a;
  --border: rgba(203, 186, 186, 0.596);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg); color: var(--text); scroll-behavior: smooth;
}

h2{
  color: royalblue;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,14,20,.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav__link {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  transition: color .2s ease;
}

.nav_link:hover, .nav_link.active {
  color: var(--text);
  background: rgba(138,164,255,.12);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform .2s ease;
  opacity: 0.2s ease;
}

/* Sections */
.section {
  padding: 72px 0;
  justify-content: center;
}

.section.alt {
  background: var(--bg-alt);
}

h1, h2, h3 {
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  color: var(--muted); 
  line-height: 1.7;
}

.subtitle {
  color: var(--accent);
  font-weight: 600; margin-bottom: 8px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
}

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

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

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(162,121,255,0.3);
}

/* Hero */
.hero {
  padding-top: 100px;
}

.hero .cta-group { 
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text);
  transition: transform .25s ease, .25s ease, border-color .25s ease, color .25s ease;
  cursor: pointer;
  text-align: center;
  min-width: 100px;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Primary button */
.btn.primary {
  background: linear-gradient(135deg, var(--primary), #5c7cff);
  border-color: transparent;
  color: #fff;
}

.btn.primary:hover {
  filter: brightness(1.08);
}

/* Outline button */
.btn.outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn.outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Accent button (e.g. form submit) */
.btn.accent {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: #0b0e14;
}

.btn.accent:hover {
  filter: brightness(1.1);
}

.quick-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
}

.quick-stats li {
  background: #0d1224;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.quick-stats strong {
  display: block;
  font-size: 1.1rem;
  color: var(--accent);
}

.about-desc{
  padding: 0px;
}

.about-card{
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.06);
  padding: 10px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.avatar{
  height: 200px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,92,255,.35), rgba(33,212,253,.35));
}

/* for that quote */
.quote {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
  max-width: 700px;
  margin: 40px auto;
  background: linear-gradient(90deg, #96a78d, #ee0979); 
  -webkit-background-clip: text;   
  -webkit-text-fill-color: transparent; 

}

.skills-imgs{
  display: flex;
}

.cards a img{
  padding: 5px;
  width: 40px;
  height: 40px;
}

.skills-github{
  background: transparent;
  border-radius: 50%;
}

/* Project links */
.project .links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.project .links a {
  text-decoration: none;
}

/* Education Section */
.education {
  background: #0a1e3a; /* Dark blue background */
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #00f0ff; /* Neon blue underline */
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 16px;
  color: #a0c4ff;
  margin-top: 10px;
}

/* Timeline */
.education-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00f0ff, #8c52ff);
  opacity: 0.4;
  border-radius: 2px;
}

/* Timeline items */
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 100px;
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

/* Marker */
.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #00f0ff, #8c52ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #0a1e3a;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.6), 0 0 30px rgba(140, 82, 255, 0.4);
  transition: transform 0.3s ease, 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.1);
}

/* Glass card effect for dark background */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 240, 255, 0.5);
}

/* Education header */
.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.education-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  flex: 1;
  min-width: 200px;
}

.education-year {
  background: linear-gradient(135deg, #00f0ff, #8c52ff);
  color: #0a1e3a;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Education details */
.education-details h4 {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.education-details h4 i {
  color: #00f0ff;
}

.education-location {
  font-size: 14px;
  color: #a0c4ff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.education-location i {
  color: #8c52ff;
}

.education-description {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Achievements */
.education-achievements h5 {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.education-achievements h5 i {
  color: #8c52ff;
}

.education-achievements ul {
  list-style: none;
  padding-left: 20px;
}

.education-achievements li {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

.education-achievements li::before {
  content: '•';
  color: #00f0ff;
  position: absolute;
  left: 0;
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cert-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cert-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
}

.cert-item i, .cert-item .cert-logo {
  font-size: 36px;
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
  color: #00f0ff;
}

.cert-item h4 {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}

.cert-item p {
  font-size: 14px;
  color: #a0c4ff;
  line-height: 1.4;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .timeline-item {
    padding-left: 80px;
  }

  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .education-header h3 {
    font-size: 18px;
  }

  .education-year {
    font-size: 12px;
    padding: 3px 8px;
  }

  .cert-item i, .cert-item .cert-logo {
    width: 50px;
    height: 50px;
  }
}

/* Contact Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: flex-start;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  gap: 18px;
}

.contact-form input, .contact-form textarea {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  background: var(--card);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: royalblue;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  align-self: flex-start;
  padding: 12px 24px;
  border-radius: 10px;
}

/* Contact Right */
.contact-right h2 {
  margin-bottom: 18px;
  color: royalblue;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

/* Footer Section */
.footer {
  background: #0d1b2a;
  color: #fff;
  padding: 50px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer h2, .footer h3 {
  color: royalblue;
  margin-bottom: 14px;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: royalblue;
}

/* Social Icons */
.footer-social .social-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #fff;
  color: #0d1b2a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s, 0.3s;
}

.footer-social a:hover {
  transform: scale(1.1);
  background: royalblue;
  color: #fff;
}

.footer-social img {
  width: 22px;
  height: 22px;
}

/* Bottom Line */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social .social-icons {
    justify-content: center;
  }
}


  