* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top right, #0b1b2b, #05070c 65%);
  color: #e5e7eb;
  overflow-x: hidden;
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 70px;
}

.section-title span {
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: #9ca3af;
  line-height: 1.8;
  font-size: 1rem;
}

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 7, 12, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1600px;
  margin: auto;
  padding: 18px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  font-size: 2rem;
  color: #7dd3fc;
}

nav a {
  margin-left: 26px;
  text-decoration: none;
  color: #9ca3af;
  font-size: 0.95rem;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: #7dd3fc;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 140px 20px 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(34,211,238,0.14), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(99,102,241,0.14), transparent 45%);
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-greeting {
  color: #7dd3fc;
  font-size: 2rem;
  margin-bottom: 2px;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-name {
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-role {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 14px;
  min-height: 36px;
  color: #9ca3af;
}

.hero-subtext {
  margin-top: 30px;
  font-size: 1.2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  margin-top: 44px;
}

.btn {
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  margin: 10px;
  transition: all 0.3s ease;
  align-items: center;
  gap: 8px;
}

.btn i {
  font-size: 1.1rem;
}

.primary {
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  color: #020617;
}

.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(99,102,241,0.35);
}

.ghost {
  border: 1px solid rgba(125,211,252,0.35);
  color: #7dd3fc;
}

.ghost:hover {
  background: rgba(125,211,252,0.08);
}

.orb {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7dd3fc;
  opacity: 0.5;
  filter: blur(1px);
  animation: float 14s infinite ease-in-out;
}

.orb-1 { top: 32%; left: 18%; animation-delay: 0s; }
.orb-2 { top: 62%; left: 72%; animation-delay: 5s; }
.orb-3 { top: 44%; left: 52%; animation-delay: 10s; }

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
  100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

.about {
  padding: 140px 20px;
  position: relative;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
}

.section-heading {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.section-heading span {
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* LEFT TEXT */
.about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #9ca3af;
  margin-bottom: 22px;
}

.about-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.12),
    0 30px 80px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-heading {
    font-size: 2.4rem;
  }
}
section {
  padding: 100px 20px;
}

.projects {
  padding-top: 50px;
}

.projects-container {
  max-width: 1100px;
  margin: auto;
}

.projects-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.7);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.project-header h3 {
  font-size: 1.35rem;
  color: #e5e7eb;
}

.project-type {
  font-size: 0.8rem;
  color: #7dd3fc;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #9ca3af;
  margin-bottom: 18px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-tech span {
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.22);
}

.project-card a {
  font-size: 0.9rem;
  color: #7dd3fc;
  text-decoration: none;
  font-weight: 500;
}

.project-card a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.certs {
  padding-top: 90px;
}

.certs-container {
  max-width: 1100px;
  margin: auto;
}

.certs-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}


.cert-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.08),
    0 18px 55px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.18),
    0 28px 75px rgba(0, 0, 0, 0.7);
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.cert-header h3 {
  font-size: 1.2rem;
  color: #e5e7eb;
}

.cert-date {
  font-size: 0.8rem;
  color: #7dd3fc;
}

.cert-card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #9ca3af;
}

@media (max-width: 900px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}

.skills {
  padding-top: 90px;
}

.skills-container {
  max-width: 1100px;
  margin: auto;
}

.skills-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.skill-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.08),
    0 18px 55px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.18),
    0 28px 75px rgba(0, 0, 0, 0.7);
}

.skill-card h3 {
  font-size: 1.1rem;
  color: #e5e7eb;
  margin-bottom: 16px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tags span {
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.22);
}

@media (max-width: 1100px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.education {
  padding-top: 80px;
}

.education-container {
  max-width: 1100px;
  margin: auto;
}

.education-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 30px;
}

.edu-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.07),
    0 14px 45px rgba(0, 0, 0, 0.55);
}

.edu-primary {
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.18),
    0 26px 70px rgba(0, 0, 0, 0.7);
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.edu-header h3 {
  font-size: 1.05rem;
  color: #e5e7eb;
}

.edu-duration {
  font-size: 0.75rem;
  color: #d4dfe3;
}

.edu-institute {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 10px;
}

.edu-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 12px;
}

.edu-highlight {
  color: #7dd3fc;
  font-weight: 500;
}

.edu-points {
  padding-left: 16px;
}

.edu-points li {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 6px;
}

@media (max-width: 1000px) {
  .education-grid {
    grid-template-columns: 1fr;
  }
}

.contact {
  padding-top: 80px;
}

.contact-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.contact-subtext {
  margin-top: 18px;
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.7;
}

.contact-grid {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 26px;
  flex-wrap: nowrap;
}

.contact-card {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.07),
    0 14px 45px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 280px;
  flex: 1;
}

@media (max-width: 900px) {
  .contact-grid {
    flex-wrap: wrap;
  }
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.16),
    0 24px 65px rgba(0, 0, 0, 0.7);
}

.contact-card h3 {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 8px;
}

.contact-card a {
  font-size: 0.9rem;
  color: #7dd3fc;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-cta {
  margin-top: 70px;
}

.footer {
  margin-top: 40px;
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
  font-size: 1rem;
  color: #9ca3af;
}

.footer span {
  color: #7dd3fc;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* Contact Icons */
.contact-icon {
  font-size: 1.8rem;
  color: #d7eff9;
  margin-bottom: 10px;
}

.refined-card {
  padding: 32px;
}


.about-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.about-label {
  font-size: 0.85rem;
  color: #7dd3fc;
  font-weight: 500;
}

.about-value {
  font-size: 0.9rem;
  color: #cbd5f5;
  line-height: 1.6;
}

.about-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 26px 0;
}

.about-stats {
  display: flex;
  gap: 40px;
}

.about-build {
  margin-bottom: 28px;
}

.about-build span {
  font-size: 0.75rem;
  color: #7dd3fc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-build p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-top: 6px;
  line-height: 1.6;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.about-stat h3 {
  font-size: 1.5rem;
  color: #7dd3fc;
  margin-bottom: 4px;
}

.about-stat p {
  font-size: 0.75rem;
  color: #9ca3af;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.scroll-indicator p {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9ca3af;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(125, 211, 252, 0.6);
  border-radius: 20px;
  position: relative;
}

.mouse span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 6px;
  background: #7dd3fc;
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
  }
  60% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 14px);
  }
}

.cert-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.cert-modal.active {
  display: flex;
}

.cert-modal-content {
  position: relative;
  background: rgba(15, 23, 42, 0.92);
  border-radius: 20px;
  padding: 0;
  width: 90vw;
  height: 90vh;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.15),
    0 30px 90px rgba(0, 0, 0, 0.8);
  animation: certFadeIn 0.35s ease;
  overflow: hidden;
}

@keyframes certFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cert-modal-content img {
  max-width: 100%;
  max-height: calc(90vh - 70px);
  object-fit: contain;
}

.cert-close:hover {
  color: #7dd3fc;
}

.view-cert-btn {
  margin-top: 14px;
  background: transparent;
  border: 1px solid rgba(125, 211, 252, 0.35);
  color: #7dd3fc;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-cert-btn:hover {
  background: rgba(125, 211, 252, 0.08);
  transform: translateY(-2px);
}
#resumeFrame {
  flex: 1;
  width: 100%;
  border: none;
  border-radius: 0 0 20px 20px;
  display: none;
  min-height: 0;
  overflow-y: auto;
}

.cert-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cert-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.cert-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cert-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cert-modal-header h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #e5e7eb;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

#certDownload {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.15);
  color: #7dd3fc;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

#certDownload:hover {
  background: rgba(125, 211, 252, 0.3);
  transform: translateY(-1px);
}

.cert-close {
  position: absolute;
  top: 20px;
  right: 5px;
  font-size: 1.6rem;
  color: #9ca3af;
  cursor: pointer;
  z-index: 5;
}

.cert-close:hover {
  color: #7dd3fc;

}

@media (max-width: 768px) {

  .nav-container {
    padding: 14px 20px;
  }

  nav a {
    margin-left: 16px;
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.4rem;
  }

   nav {
    display: none;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .hero-title {
    font-size: 2.6rem;
    line-height: 1.1;
  }

  .hero-greeting {
    font-size: 1.2rem;
  }

  .hero-role {
    font-size: 1.2rem;
    min-height: 28px;
  }

  .hero-subtext {
    font-size: 1rem;
  }

  .hero-actions .btn {
    display: inline-block;
    margin: 8px 6px;
    padding: 10px 24px;
    font-size: 0.85rem;
  }

  section {
    padding: 70px 18px;
  }

  .section-title,
  .section-heading {
    font-size: 2.1rem;
    margin-bottom: 40px;
  }

  .about {
    padding: 90px 18px;
  }

  .about-card {
    padding: 26px;
  }

  .about-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .certs-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .edu-card {
    padding: 20px;
  }

  .contact {
    padding-top: 60px;
  }

  .contact-grid {
    flex-direction: column;
    gap: 22px;
  }

  .contact-card {
    min-width: 100%;
    padding: 22px;
  }

  .footer p {
    font-size: 0.9rem;
  }

  .scroll-indicator {
    bottom: 18px;
  }
}

@media (max-width: 420px) {

  .hero-title {
    font-size: 2.2rem;
  }

  .section-title,
  .section-heading {
    font-size: 1.9rem;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 260px;
  }
}
.contact-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap; 
}

@media (max-width: 600px) {
  .contact-cta {
    flex-direction: column;
    align-items: center;
  }

  .contact-cta .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
}

