
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #07152b;
  --bg-alt: #0b1c35;
  --surface: #102541;
  --surface-hover: #163254;
  --primary: #2486ff;
  --primary-light: #67b5ff;
  --text: #f1f6ff;
  --muted: #a0b2cd;
  --border: #24405e;
  --green: #35dda6;
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1140px, 90%);
  margin: auto;
}

.section {
  padding: 110px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.accent {
  color: var(--primary-light);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 21, 43, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: .3s;
}

.header.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
}

.navbar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: .3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px auto;
  background: white;
  transition: .3s;
}

/* HERO */
.hero {
  padding-top: 180px;
  background:
    radial-gradient(ellipse at 80% 30%,
      rgba(24,99,193,.17), transparent 45%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  align-items: center;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  background: rgba(53,221,166,.08);
  border: 1px solid rgba(53,221,166,.23);
  border-radius: 50px;
  color: var(--green);
  font-size: 12px;
  margin-bottom: 25px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
}

.hero-intro {
  font-size: 17px;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.2;
  letter-spacing: -2px;
  margin: 10px 0;
}

.hero h2 {
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  font-weight: 600;
}

.hero-description {
  max-width: 550px;
  color: var(--muted);
  font-size: 15px;
  margin: 24px 0 30px;
}

.hero-actions,
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 12px 22px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  transition: .3s;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #0869e5;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(36,134,255,.25);
}

.btn-outline {
  border: 1px solid var(--border);
  color: white;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(36,134,255,.08);
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: .3s;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

/* TERMINAL */
.hero-visual {
  position: relative;
  min-width: 0;
}

.terminal {
  background: #09111e;
  border: 1px solid #304866;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 30px 65px rgba(0,0,0,.28);
}

.terminal-header {
  padding: 13px 17px;
  background: #17253b;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #9eafc5;
  font-size: 11px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.terminal-dots span:nth-child(2) {
  background: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
  background: #28c840;
}

.terminal-body {
  padding: 25px;
  font-family: Consolas, monospace;
  font-size: 12px;
  line-height: 2.1;
  overflow-wrap: anywhere;
}

.term-green,
.term-success {
  color: var(--green);
}

.term-output {
  color: #83b6e8;
  padding-left: 15px;
}

.cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.floating-label {
  position: absolute;
  right: -15px;
  bottom: -18px;
  background: #123b3b;
  color: var(--green);
  border: 1px solid #2b766a;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.stats-grid {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat {
  padding: 28px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.stat:not(:last-child) {
  border-right: 1px solid var(--border);
}

.stat strong {
  color: var(--primary-light);
  font-size: 27px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

/* SECTION HEADINGS */
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.eyebrow {
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-heading h2,
.resume-box h2 {
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.25;
  margin: 15px 0;
  letter-spacing: -1px;
}

.section-heading p,
.resume-box p {
  color: var(--muted);
  font-size: 14px;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 65px;
}

.about-photo {
  position: relative;
  height: 400px;
  background: linear-gradient(145deg,#153e70,#07152b);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font-size: 110px;
  font-weight: 800;
  color: rgba(255,255,255,.15);
}

.about-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 25px;
  margin: 30px 0;
}

.info-grid div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-grid small {
  color: var(--primary-light);
  font-size: 10px;
  letter-spacing: 1px;
}

.info-grid strong {
  font-size: 13px;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.skill-card,
.project-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: .3s;
}

.skill-card {
  padding: 28px;
}

.skill-card:hover,
.project-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.skill-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(36,134,255,.13);
  color: var(--primary-light);
  font-size: 25px;
  border-radius: 12px;
  margin-bottom: 22px;
}

.skill-card h3,
.project-body h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.skill-card p,
.project-body p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  background: rgba(36,134,255,.1);
  color: #a0ceff;
  border: 1px solid rgba(36,134,255,.15);
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 10px;
}

/* EXPERIENCE */
.timeline {
  max-width: 850px;
  margin: auto;
  border-left: 2px solid var(--border);
  padding-left: 30px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border: 3px solid var(--bg-alt);
  border-radius: 50%;
  left: -38px;
  top: 25px;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-content {
  background: var(--surface);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.timeline-date {
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 600;
}

.timeline-content h3 {
  font-size: 21px;
  margin: 12px 0 5px;
}

.timeline-content h4 {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 20px;
}

.timeline-content ul {
  list-style: disc;
  padding-left: 18px;
}

.timeline-content li {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.project-card {
  overflow: hidden;
}

.project-banner {
  height: 175px;
  background:
    radial-gradient(circle at 75% 25%,
      rgba(72,154,255,.4),transparent 50%),
    linear-gradient(135deg,#112b4b,#07152b);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 25px;
  font-size: 54px;
  font-weight: 800;
  color: rgba(255,255,255,.15);
}

.project-banner span {
  font-size: 11px;
  color: var(--primary-light);
  letter-spacing: 1px;
}

.project-body {
  padding: 25px;
}

/* RESUME */
.resume-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 45px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.resume-box > div {
  max-width: 650px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 204px);
  justify-content: center;
  gap: 22px;
  width: 100%;
  margin: 50px auto 0;
}

/* TABLET */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 204px));
    justify-content: center;
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

.contact-card {
  padding: 25px;
  position: relative;
  display: block;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  background: rgba(36,134,255,.13);
  color: var(--primary-light);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 16px;
}

.contact-card p {
  font-size: 12px;
  color: var(--muted);
}

.contact-arrow {
  position: absolute;
  right: 20px;
  top: 20px;
  color: var(--primary-light);
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer p,
.back-top {
  font-size: 12px;
  color: var(--muted);
}

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 650px;
    width: 100%;
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .about-grid {
    gap: 35px;
  }

  .contact-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .nav-links {
    gap: 14px;
  }

  .nav-link {
    font-size: 12px;
  }
}

/* MOBILE NAVIGATION */
@media (max-width: 768px) {
  .section {
    padding: 75px 0;
  }

  .hero {
    padding-top: 125px;
  }

  .navbar {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 5%;
    background: #0b1c35;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px rgba(0,0,0,.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    display: block;
    padding: 13px 10px;
    font-size: 14px;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .stats-grid {
    margin-top: 65px;
    grid-template-columns: repeat(2,1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    height: 350px;
    max-width: 400px;
    width: 100%;
  }

  .resume-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* SMALL PHONES */
@media (max-width: 540px) {
  .hero h1 {
    font-size: 43px;
  }

  .hero h2 {
    font-size: 21px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .skills-grid,
  .projects-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .terminal-body {
    padding: 18px;
    font-size: 10px;
  }

  .floating-label {
    right: 0;
    font-size: 9px;
  }

  .stat strong {
    font-size: 22px;
  }

  .stat span {
    font-size: 10px;
  }

  .info-grid {
    gap: 18px;
  }

  .timeline {
    padding-left: 22px;
  }

  .timeline-dot {
    left: -30px;
  }

  .timeline-content {
    padding: 20px;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .logo {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* CONTACT CARDS - UPDATED */

.contact-grid {
  display: grid;  
  gap: 22px;
}

.contact-card {
  position: relative;
  display: block;
  padding: 30px;
  background: #102541;
  border: 1px solid #24405e;
  border-radius: 16px;
  text-decoration: none;
  color: #f1f6ff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-7px);
  border-color: #2486ff;
  background: #163254;
  box-shadow: 0 12px 30px rgba(36, 134, 255, 0.15);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(36, 134, 255, 0.13);
  border-radius: 12px;
  margin-bottom: 22px;
  color: #67b5ff;
  font-size: 25px;
  transition: 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: #2486ff;
  color: #ffffff;
}

.contact-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact-card p {
  font-size: 13px;
  color: #a0b2cd;
}

.contact-arrow {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #67b5ff;
  font-size: 17px;
  transition: 0.3s;
}

.contact-card:hover .contact-arrow {
  transform: translate(3px, -3px);
}

/* TABLET */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 540px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 25px;
  }
}


/* HERO SOCIAL MEDIA */

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #102541;
  border: 1px solid #24405e;
  border-radius: 10px;
  color: #67b5ff;
  font-size: 19px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #2486ff;
  border-color: #2486ff;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(36, 134, 255, 0.25);
}


/* ==================================
   PROJECTS - 4 COLUMNS RESPONSIVE
================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #102541;
  border: 1px solid #24405e;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #2486ff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1c35;
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.07);
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 21, 43, 0.65),
    transparent 60%
  );
  pointer-events: none;
}

.project-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(7, 21, 43, 0.85);
  border: 1px solid rgba(103, 181, 255, 0.35);
  border-radius: 6px;
  color: #67b5ff;
  font-size: 11px;
  font-weight: 700;
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.project-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f1f6ff;
}

.project-body p {
  font-size: 12px;
  line-height: 1.8;
  color: #a0b2cd;
  margin-bottom: 20px;
}

.project-body .tags {
  margin-top: auto;
}

/* LAPTOP KECIL & TABLET */
@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* SMARTPHONE */
@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #102541;
  border: 1px solid #24405e;
  border-radius: 16px;
  transition: transform 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: #2486ff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* IMAGE CONTAINER */

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1c35;
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

/* IMAGE ZOOM ON HOVER */

.project-card:hover .project-image img {
  transform: scale(1.07);
}

/* IMAGE DARK GRADIENT */

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7,21,43,0.65),
    transparent 60%
  );
  pointer-events: none;
}

/* CATEGORY LABEL */

.project-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  padding: 6px 12px;
  background: rgba(7,21,43,0.85);
  border: 1px solid rgba(103,181,255,0.35);
  border-radius: 6px;
  color: #67b5ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* PROJECT CONTENT */

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px;
}

.project-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #f1f6ff;
}

.project-body p {
  font-size: 13px;
  line-height: 1.8;
  color: #a0b2cd;
  margin-bottom: 20px;
}

.project-body .tags {
  margin-top: auto;
}

/* ==================================
   TABLET - 2 COLUMNS
================================== */

@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

/* ==================================
   MOBILE - 1 COLUMN
================================== */

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-image {
    aspect-ratio: 16 / 10;
  }

  .project-body {
    padding: 22px;
  }

  .project-body h3 {
    font-size: 17px;
  }

  .project-body p {
    font-size: 13px;
  }
}


/* ==================================
   CERTIFICATIONS SECTION
================================== */

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch;
}

.certificate-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #102541;
  border: 1px solid #24405e;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-6px);
  border-color: #2486ff;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* CERTIFICATE IMAGE */

.certificate-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b1c35;
}

.certificate-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.4s ease;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.04);
}

.certificate-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 6px 12px;
  background: rgba(7,21,43,0.9);
  border: 1px solid #24405e;
  border-radius: 6px;
  color: #67b5ff;
  font-size: 11px;
  font-weight: 700;
}

/* CERTIFICATE CONTENT */

.certificate-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px;
}

.certificate-body h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #f1f6ff;
  margin-bottom: 12px;
}

.certificate-body p {
  font-size: 13px;
  line-height: 1.8;
  color: #a0b2cd;
  margin-bottom: 20px;
}

.certificate-body .tags {
  margin-bottom: 22px;
}

/* VIEW CERTIFICATE BUTTON */

.certificate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 13px 20px;
  background: #2486ff;
  color: #ffffff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.certificate-btn:hover {
  background: #0869e5;
  box-shadow: 0 8px 20px rgba(36,134,255,0.25);
}

/* TABLET & MOBILE */

@media (max-width: 600px) {
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .certificate-body {
    padding: 20px;
  }

  .certificate-body h3 {
    font-size: 16px;
  }
}


/* NAVBAR PROFILE LOGO */

.navbar .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.navbar-profile {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  border: 2px solid #2486ff;
  transition: 0.3s ease;
}

.navbar-profile:hover {
  transform: scale(1.08);
  border-color: #67b5ff;
}

.navbar-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 600px) {
  .navbar-profile {
    width: 36px;
    height: 36px;
  }

  .navbar .logo {
    gap: 9px;
  }

  .navbar-name {
    font-size: 12px;
    white-space: normal;
    line-height: 1.3;
  }
}


/* FOOTER RIGHT & BACK TO TOP */

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.footer-copyright {
  text-align: right;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #67b5ff;
  background: rgba(36, 134, 255, 0.08);
  border: 1px solid #24405e;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-top:hover {
  color: #ffffff;
  background: #2486ff;
  border-color: #2486ff;
  transform: translateY(-4px);
}

.back-top i {
  font-size: 12px;
}


/* ==================================
   MODERN FOOTER - LET'S CONNECT
================================== */

.footer {
  background: #07152b;
  border-top: 1px solid #24405e;
  padding: 45px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-connect {
  max-width: 530px;
}

/* STATUS LABEL */

.footer-availability {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #35dda6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.footer-dot {
  width: 7px;
  height: 7px;
  background: #35dda6;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(53,221,166,.65);
}

/* MAIN TITLE */

.footer-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-title span {
  background: linear-gradient(
    90deg,
    #2486ff,
    #67b5ff,
    #a4d8ff
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */

.footer-description {
  font-size: 13px;
  line-height: 1.8;
  color: #a0b2cd;
  margin-bottom: 17px;
}

/* FOOTER LINK */

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #67b5ff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: .3s ease;
}

.footer-link:hover {
  color: #ffffff;
  gap: 16px;
}

.footer-link i {
  font-size: 12px;
}

/* COPYRIGHT */

.footer-copyright {
  text-align: right;
}

.footer-copyright p {
  color: #a0b2cd;
  font-size: 12px;
  line-height: 1.8;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 25px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer-copyright {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #24405e;
  }
}

@media (max-width: 480px) {
  .footer-title {
    font-size: 29px;
  }

  .footer-description {
    font-size: 12px;
  }
}
