:root {
  --bg-dark: #0b0b0b;
  --bg-dark-2: #111111;
  --text-light: #ffffff;
  --text-muted: #cfcfcf;
  --accent: #00f5ff;
}

* {
  font-family: "Poppins", sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.text-accent {
  color: var(--accent);
}

/* Navbar */
.custom-navbar {
  padding: 18px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.custom-navbar.scrolled {
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  transition: 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
}

.navbar .nav-link.active {
  color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: 12px;
  padding: 10px 18px;
  border: none;
  transition: 0.3s;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 18px rgba(0, 245, 255, 0.45);
}

/* Hero */
.hero-section {
  min-height: 100vh;
  padding-top: 120px;
  background: radial-gradient(circle at top left, rgba(0, 245, 255, 0.15), transparent 55%),
              radial-gradient(circle at bottom right, rgba(0, 245, 255, 0.12), transparent 55%);
}

.hero-subtitle {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-desc {
  color: var(--text-muted);
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.hero-social .social-link {
  width: 45px;
  height: 45px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  transition: 0.3s;
  font-size: 18px;
}

.hero-social .social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0px 0px 15px rgba(0, 245, 255, 0.35);
}

.hero-image-wrapper {
  width: 100%;
  max-width: 420px;
  margin: auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.55);
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-image {
    height: 420px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 15px;
  }
}

/* Navbar default background for mobile */
@media (max-width: 991px) {
  .custom-navbar {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 15px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Section Titles */
.section-subtitle {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.9;
  margin-top: 15px;
}

/* About */
.about-section {
  background: var(--bg-dark-2);
}

.about-image-wrapper {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.55);
}

.about-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-card {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
  height: 100%;
}

.about-card i {
  font-size: 28px;
  color: var(--accent);
}

.about-card h5 {
  margin-top: 14px;
  font-weight: 600;
  font-size: 17px;
}

.about-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 245, 255, 0.45);
  box-shadow: 0px 0px 18px rgba(0, 245, 255, 0.18);
}

/* Responsive */
@media (max-width: 576px) {
  .section-title {
    font-size: 30px;
  }

  .about-image {
    height: 380px;
  }
}

/* Services Section */
.services-section {
  background: var(--bg-dark);
}

.service-card {
  padding: 35px 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.35s ease;
  height: 100%;
}

.service-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: rgba(0, 245, 255, 0.08);
  color: var(--accent);
  transition: 0.3s;
}

.service-card h5 {
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.2);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: #000;
}

/* Portfolio Section */
.portfolio-section {
  background: var(--bg-dark-2);
}

/* Filter Buttons */
.portfolio-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  font-weight: 500;
  transition: 0.3s;
}

.filter-btn:hover {
  border-color: rgba(0, 245, 255, 0.55);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0px 0px 18px rgba(0, 245, 255, 0.35);
}

/* Portfolio Card */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.5);
}

.portfolio-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: 0.4s ease;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  opacity: 0;
  transition: 0.4s ease;
}

.portfolio-overlay h5 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.portfolio-overlay p {
  margin-top: 5px;
  font-size: 14px;
  color: var(--text-muted);
}

.portfolio-card:hover img {
  transform: scale(1.08);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* Portfolio Item hidden animation */
.portfolio-item.hide {
  display: none;
}

/* Responsive */
@media (max-width: 576px) {
  .portfolio-card img {
    height: 260px;
  }
}

/* Experience Section */
.experience-section {
  background: var(--bg-dark);
}

.timeline {
  position: relative;
  margin: auto;
  max-width: 900px;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.timeline-dot {
  position: absolute;
  left: 1px;
  top: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.5);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 24px;
  margin-left: 40px;
  transition: 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 255, 0.45);
  box-shadow: 0px 0px 20px rgba(0, 245, 255, 0.18);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.timeline-date {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-content h5 {
  margin-top: 8px;
  font-weight: 600;
  font-size: 18px;
}

.timeline-place {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.timeline-place i {
  color: var(--accent);
  margin-right: 6px;
}

.timeline-desc {
  margin-top: 15px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Bullet list */
.timeline-list {
  margin-top: 15px;
  padding-left: 18px;
}

.timeline-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Badge */
.timeline-badge {
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 245, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 245, 255, 0.3);
  white-space: nowrap;
}

.badge-blue {
  background: rgba(0, 150, 255, 0.12);
  color: #4db8ff;
  border: 1px solid rgba(0, 150, 255, 0.25);
}

.badge-purple {
  background: rgba(170, 80, 255, 0.12);
  color: #c18bff;
  border: 1px solid rgba(170, 80, 255, 0.25);
}

.badge-green {
  background: rgba(0, 255, 150, 0.12);
  color: #55ffb5;
  border: 1px solid rgba(0, 255, 150, 0.25);
}

/* Tags */
.timeline-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timeline-tags span {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  transition: 0.3s;
}

.timeline-tags span:hover {
  border-color: rgba(0, 245, 255, 0.4);
  color: var(--accent);
}

/* Responsive */
@media (max-width: 576px) {
  .timeline {
    padding-left: 22px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h5 {
    font-size: 16px;
  }

  .timeline-list li {
    font-size: 13px;
  }
}

/* Skills Section */
.skills-section {
  background: var(--bg-dark-2);
}

.skills-card {
  padding: 35px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  transition: 0.3s ease;
}

.skills-card:hover {
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow: 0px 0px 22px rgba(0, 245, 255, 0.12);
}

.skills-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills-title i {
  color: var(--accent);
  font-size: 22px;
}

/* Skill Item */
.skill-item {
  margin-bottom: 22px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.skill-bar {
  width: 100%;
  height: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  border-radius: 12px;
  background: var(--accent);
  box-shadow: 0px 0px 15px rgba(0, 245, 255, 0.45);
  transition: 0.6s ease;
}

/* Responsive */
@media (max-width: 576px) {
  .skills-card {
    padding: 28px 22px;
  }

  .skills-title {
    font-size: 18px;
  }
}

/* Contact Section */
.contact-section {
  background: var(--bg-dark);
}

.contact-card,
.contact-form-card {
  padding: 35px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  transition: 0.3s ease;
}

.contact-card:hover,
.contact-form-card:hover {
  border-color: rgba(0, 245, 255, 0.35);
  box-shadow: 0px 0px 22px rgba(0, 245, 255, 0.12);
}

.contact-title {
  font-size: 20px;
  font-weight: 600;
}

.contact-desc {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Contact Info */
.contact-info {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 245, 255, 0.1);
  color: var(--accent);
  font-size: 20px;
}

.contact-item h6 {
  margin: 0;
  font-weight: 600;
}

.contact-item p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Social */
.contact-social-link {
  width: 45px;
  height: 45px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-light);
  transition: 0.3s;
}

.contact-social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0px 0px 15px rgba(0, 245, 255, 0.35);
}

/* Custom Input */
.custom-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--text-light);
}

.custom-input:focus {
  border-color: rgba(0, 245, 255, 0.6);
  box-shadow: 0px 0px 12px rgba(0, 245, 255, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
}

.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#formStatus {
  font-size: 14px;
  font-weight: 500;
}

/* Footer */
.footer-section {
  background: var(--bg-dark-2);
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-logo {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 420px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 18px;
  transition: 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.footer-social-link:hover {
  color: var(--accent);
  border-color: rgba(0, 245, 255, 0.6);
  transform: translateY(-4px);
  box-shadow: 0px 0px 18px rgba(0, 245, 255, 0.25);
}

.footer-line {
  margin: 35px 0 20px;
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-dev {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-dev span {
  color: var(--accent);
  font-weight: 600;
}

.footer-dev:hover {
  color: var(--accent);
  text-shadow: 0px 0px 12px rgba(0, 245, 255, 0.35);
}

/* Responsive Footer */
@media (max-width: 576px) {
  .footer-top {
    text-align: center;
    justify-content: center;
  }

  .footer-desc {
    margin: auto;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}