/**
* Kerim Kahramaner — Backend & Gömülü Sistemler Mühendisi
* Custom Theme: Deep Cyber Navy
* Based on MyResume by BootstrapMade.com
*/

/* ============================================================
   CSS Custom Properties — Design System
   ============================================================ */
:root {
  /* Primary palette — deep cyber navy / dark tech tones */
  --primary: #0f2847;
  --primary-dark: #0a192f;
  --primary-light: #1a3a5c;
  --accent: #64ffda;
  --accent-glow: rgba(100, 255, 218, 0.25);
  --accent-secondary: #00b4d8;

  /* Text */
  --text-primary: #ccd6f6;
  --text-secondary: #8892b0;
  --text-dark: #e6f1ff;
  --text-body: #374151;
  --heading-color: #1e293b;

  /* Surfaces */
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --surface-dark: #112240;
  --border: #e2e8f0;

  /* Functional */
  --gradient-primary: linear-gradient(135deg, #0a192f 0%, #0f2847 50%, #1a3a5c 100%);
  --gradient-accent: linear-gradient(135deg, #64ffda 0%, #00b4d8 100%);
  --gradient-card: linear-gradient(145deg, rgba(15, 40, 71, 0.03) 0%, rgba(100, 255, 218, 0.05) 100%);
  --shadow-sm: 0 1px 3px rgba(10, 25, 47, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 25, 47, 0.1);
  --shadow-lg: 0 10px 40px rgba(10, 25, 47, 0.15);
  --shadow-glow: 0 0 20px rgba(100, 255, 218, 0.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Inter", "Open Sans", sans-serif;
  color: var(--text-body);
  background: var(--surface);
  line-height: 1.7;
  cursor: none;
  overflow-x: hidden;
}

body * {
  cursor: none !important;
}

@media (max-width: 992px), (hover: none) {
  body, body * {
    cursor: auto !important;
  }
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-secondary);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", "Inter", sans-serif;
  color: var(--heading-color);
}

::selection {
  background: var(--accent);
  color: var(--primary-dark);
}

/*--------------------------------------------------------------
# Custom Cursor
--------------------------------------------------------------*/
.cursor-dot {
  position: fixed;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transition: width 0.2s, height 0.2s, top 0.2s, left 0.2s;
  will-change: transform;
}

.cursor-dot.hover {
  width: 6px;
  height: 6px;
  top: -3px;
  left: -3px;
  background: #fff;
}

.cursor-dot.clicking {
  width: 16px;
  height: 16px;
  top: -8px;
  left: -8px;
}

.cursor-ring {
  position: fixed;
  top: -24px;
  left: -24px;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(100, 255, 218, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: width 0.3s, height 0.3s, top 0.3s, left 0.3s, border-color 0.3s, background 0.3s;
  will-change: transform;
}

.cursor-ring.hover {
  width: 64px;
  height: 64px;
  top: -32px;
  left: -32px;
  border-color: var(--accent);
  background: rgba(100, 255, 218, 0.06);
}

.cursor-ring.clicking {
  width: 36px;
  height: 36px;
  top: -18px;
  left: -18px;
  border-color: rgba(100, 255, 218, 0.8);
}

/*--------------------------------------------------------------
# Click Ripple
--------------------------------------------------------------*/
.click-ripple {
  position: fixed;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 255, 218, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99990;
  animation: ripple-expand 0.6s ease-out forwards;
}

@keyframes ripple-expand {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/*--------------------------------------------------------------
# Text Scramble
--------------------------------------------------------------*/
.scramble-char {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  transition: all 0.4s;
  border: 2px solid var(--accent);
}

.back-to-top i {
  font-size: 28px;
  color: var(--accent);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: var(--shadow-glow);
}

.back-to-top:hover i {
  color: var(--primary-dark);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: var(--primary-dark);
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 4px solid var(--primary-light);
  border-top-color: var(--accent);
  border-bottom-color: var(--accent);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 0.8s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 991px) {
  #header {
    width: 300px;
    background: var(--primary-dark);
    border-right: 1px solid rgba(100, 255, 218, 0.1);
    left: -300px;
  }
}

@media (min-width: 991px) {
  #main,
  #footer {
    margin-left: 100px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.nav-menu {
  padding: 0;
  display: block;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: var(--transition-base);
  font-size: 15px;
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  height: 56px;
  width: 100%;
  overflow: hidden;
  font-weight: 500;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
}

.nav-menu a span,
.nav-menu a:focus span {
  padding: 0 5px 0 7px;
  color: var(--text-secondary);
}

@media (min-width: 992px) {
  .nav-menu a,
  .nav-menu a:focus {
    width: 56px;
    background: rgba(15, 40, 71, 0.08);
  }

  .nav-menu a span,
  .nav-menu a:focus span {
    display: none;
    color: #fff;
  }
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover>a span {
  color: #fff;
}

.nav-menu a:hover,
.nav-menu li:hover>a {
  width: 100%;
  color: #fff;
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
  display: block;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 28px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 0;
  cursor: pointer;
  border-radius: var(--radius-full);
  padding: 5px;
}

.mobile-nav-toggle i {
  color: var(--heading-color);
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: var(--accent);
  background-color: var(--primary-dark);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/heronew.jpg") top right no-repeat;
  background-size: cover;
  position: relative;
}

@media (min-width: 992px) {
  #hero {
    padding-left: 160px;
  }
}

#hero:before {
  content: "";
  background: linear-gradient(
    135deg,
    rgba(10, 25, 47, 0.92) 0%,
    rgba(15, 40, 71, 0.88) 40%,
    rgba(26, 58, 92, 0.8) 100%
  );
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

/* Hero Canvas — particle constellation */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#hero:hover #hero-canvas {
  pointer-events: auto;
}

#hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: #e6f1ff;
  position: relative;
  z-index: 1;
  letter-spacing: -1px;
}

#hero h1 .text-accent {
  color: var(--accent);
}

#hero p {
  color: var(--text-secondary);
  margin: 20px 0 0 0;
  font-size: 26px;
  font-family: "JetBrains Mono", monospace;
  position: relative;
  z-index: 1;
}

#hero p span {
  color: var(--accent);
  letter-spacing: 1px;
}

#hero .social-links {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

#hero .social-links a {
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text-secondary);
  line-height: 1;
  margin-right: 12px;
  transition: var(--transition-base);
  border: 1px solid rgba(136, 146, 176, 0.3);
  border-radius: var(--radius-sm);
  background: transparent;
}

#hero .social-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(100, 255, 218, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(100, 255, 218, 0.15);
}

/* Hero CTA */
.hero-cta {
  margin-top: 40px;
  position: relative;
  z-index: 1;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  transition: var(--transition-base);
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
}

.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  transition: var(--transition-base);
  text-decoration: none;
  border: 1px solid var(--accent);
}

.btn-cv:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
}

@media (max-width: 992px) {
  #hero {
    text-align: center;
  }

  #hero h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  #hero p {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.4;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-badge {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--heading-color);
  letter-spacing: 1px;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: var(--border);
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gradient-accent);
  bottom: 0;
  left: calc(50% - 20px);
  border-radius: 2px;
}

.section-title p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

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

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--border);
  transition: var(--transition-slow);
}

.about .about-img:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.about .content h3 {
  font-weight: 700;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 16px;
}

.about .about-description {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 12px;
}

.about .about-description-sub {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 16px;
  margin-bottom: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
  color: var(--heading-color);
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-secondary);
  line-height: 0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/* Education Card */
.about-education-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 20px;
  transition: var(--transition-base);
}

.about-education-card:hover {
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-md);
}

.about-education-card .edu-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-education-card .edu-icon i {
  font-size: 24px;
  color: var(--accent);
}

.about-education-card .edu-info h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--heading-color);
}

.about-education-card .edu-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 0;
  font-family: "JetBrains Mono", monospace;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skills .skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--transition-base);
}

.skills .skill-category:hover {
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.skills .skill-category h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skills .skill-category h4 i {
  font-size: 22px;
  color: var(--accent-secondary);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(15, 40, 71, 0.06);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  font-family: "JetBrains Mono", monospace;
  border: 1px solid rgba(15, 40, 71, 0.1);
  transition: var(--transition-fast);
  cursor: default;
}

.skill-tag:hover {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--primary);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 1.4;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: var(--primary);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 14px;
  background: rgba(100, 255, 218, 0.1);
  color: var(--primary);
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
  border-radius: var(--radius-sm);
  font-family: "JetBrains Mono", monospace;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
  line-height: 1.7;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--surface);
  border: 2px solid var(--primary);
}

.resume .resume-item:hover::before {
  background: var(--accent);
  border-color: var(--accent);
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-full);
  padding: 4px 15px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 5px;
  transition: var(--transition-base);
  border-radius: var(--radius-full);
  font-family: "JetBrains Mono", monospace;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: var(--primary);
  background: rgba(15, 40, 71, 0.06);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

/* Portfolio image placeholder */
.portfolio-img-placeholder {
  width: 100%;
  height: 250px;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.portfolio-img-placeholder::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(100, 255, 218, 0.03) 20px,
    rgba(100, 255, 218, 0.03) 40px
  );
  animation: pattern-move 20s linear infinite;
}

@keyframes pattern-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.portfolio-img-placeholder i {
  font-size: 48px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.portfolio-img-placeholder span {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: "JetBrains Mono", monospace;
  position: relative;
  z-index: 1;
}

.backend-placeholder {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.payload-placeholder {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.portfolio .portfolio-wrap {
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: var(--primary-dark);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(10, 25, 47, 0.85);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 18px;
  color: #e6f1ff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-family: "JetBrains Mono", monospace;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
  margin-top: 16px;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: var(--text-primary);
  margin: 0 6px;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: var(--primary-dark);
  background: var(--accent);
  border-color: var(--accent);
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/* Portfolio Description Card */
.portfolio-description-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 20px;
  margin-bottom: 10px;
}

.portfolio-description-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.portfolio-description-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-tech-tags span {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(15, 40, 71, 0.06);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  border: 1px solid rgba(15, 40, 71, 0.1);
}

/* Section subtitle */
.section-subtitle {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 24px;
}

.section-subtitle h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--heading-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-subtitle h3 i {
  color: var(--accent-secondary);
}

/* Gallery */
.gallery-row {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 4px !important;
}

.gallery-item a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: var(--transition-slow);
  border: 1px solid var(--border);
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-secondary);
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid var(--primary);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Certifications
--------------------------------------------------------------*/
.certifications {
  background: var(--surface);
}

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  margin-bottom: 24px;
  min-height: 140px;
}

.cert-card:hover {
  border-color: var(--accent-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cert-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon i {
  font-size: 26px;
  color: var(--accent);
}

.cert-content h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 6px;
}

.cert-content p {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 8px;
  line-height: 1.6;
}

.cert-date {
  font-size: 12px;
  color: var(--text-secondary);
  font-family: "JetBrains Mono", monospace;
  background: rgba(15, 40, 71, 0.06);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--primary-dark);
  color: var(--text-primary);
  font-size: 14px;
  text-align: center;
  padding: 40px 0 30px;
}

#footer h3 {
  font-size: 30px;
  font-weight: 700;
  position: relative;
  font-family: "Raleway", sans-serif;
  padding: 0;
  margin: 0 0 10px 0;
  color: #e6f1ff;
}

#footer p {
  font-size: 14px;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
  color: var(--text-secondary);
}

#footer .social-links {
  margin: 0 0 30px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  line-height: 1;
  margin: 0 6px;
  border-radius: var(--radius-sm);
  text-align: center;
  width: 40px;
  height: 40px;
  transition: var(--transition-base);
  border: 1px solid rgba(136, 146, 176, 0.3);
}

#footer .social-links a:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(100, 255, 218, 0.2);
}

#footer .copyright {
  margin: 0 0 5px 0;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: "JetBrains Mono", monospace;
}

/*--------------------------------------------------------------
# 3D Tilt Cards
--------------------------------------------------------------*/
.tilt-card {
  --card-bg: #ffffff;
  transition: transform 0.1s ease-out, box-shadow var(--transition-base);
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(10, 25, 47, 0.15), 0 0 30px rgba(100, 255, 218, 0.08);
}

/*--------------------------------------------------------------
# Smooth Skill Tag Transitions
--------------------------------------------------------------*/
.skill-tag {
  transition: transform 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out, color 0.2s ease-out;
}

/*--------------------------------------------------------------
# Scroll Reveal Animations
--------------------------------------------------------------*/
.skill-tag,
.resume-item,
.gallery-item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.skill-tag.revealed,
.resume-item.revealed,
.gallery-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Smooth scrolling
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}