@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  color: white;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

html, body {
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 5%;
  margin-top: 2em;
  padding-right: 5%;
  font-size: 19px;
}

.logo {
  font-size: 1.5em;
  letter-spacing: 2px;
}

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}

nav a:hover {
  opacity: 1;
  color: #ffffff;
}

nav a.active {
  opacity: 1;
  color: #ffffff;
}

.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3em;
  width: 70%;
  max-width: 900px;
  text-align: left;
}

.main-name {
  font-size: 4rem;
  margin-bottom: 0.3em;
}

.main-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1em;
}

.main-desc {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1em;
  max-width: 900px;
  text-align: left;
}

.intro {
  text-align: center;
}

.intro h2 {
  font-size: 2.5em;
  letter-spacing: 2px;
}

.intro h3 {
  color: #00ffff;
  margin-bottom: 1em;
}

.btn {
  display: inline-block;
  color: #ffffff;
  border: 1.1px solid #ffffff;
  background-color: transparent;
  padding: 0.7em 1.8em;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color 0.7s ease, color 0.3s ease, opacity 0.3s ease;
  margin-bottom: 1em;
  margin-top: 3em;
}

.btn:hover {
  background-color: #ffffff;
  color: #000000;
  transition: opacity 0.3s, color 0.3s;
}

.socials {
  margin-top: 2em;
}

.socials a {
  color: white;
  margin: 0 14px;
  opacity: 0.6;
  font-size: 1.3em;
  transition: opacity 0.3s, color 0.3s;
}

.socials a:hover {
  color: #ffffff;
  opacity: 1;
  transform: scale(1.2);
}

footer {
  text-align: center;
  padding: 2em 0;
}

/*  About Page */

.about-container {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 4em auto;
}

/* Left sidebar */
.about-sidebar {
  position: sticky;
  top: 100px;
  width: 25%;
  align-self: flex-start;
  color: white;
  padding-right: 2em;
  height: fit-content;
}

.about-sidebar h2 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.about-sidebar ul {
  list-style: none;
  margin-top: 1.5em;
}

.about-sidebar li {
  margin: 0.8em 0;
}

.about-sidebar a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s;
}

.about-sidebar a:hover {
  color: #ffffff;
}

/* Right scrollable section */
.about-content {
  width: 70%;
  overflow-y: auto;
  max-height: 80vh;
  padding-left: 2em;
  padding-right: 5%;
}

.about-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.about-content {
  scrollbar-width: none; /* Firefox */
}

.about-content h3 {
  position: relative;
  font-size: 1.5em;
  margin-bottom: 1em;
  padding-left: 30px;
}

.about-content h3::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffffff;
}

/* Section spacing */
.section {
  margin-bottom: 3em;
}

.profile-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
}

.profile-img {
  width: 250px;
  height: 250px;
  border-radius: 8px;
  object-fit: cover;
}

.profile-box h4 {
  font-size: 2em;
}

.profile-box p:first-of-type {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

.profile-box p {
  color: #ccc;
}

/* Personal Details + Interests Section */
.details-interests {
  display: flex;
  justify-content: space-between;
  margin-top: 2em;
  gap: 4em;
}

.personal-details h4,
.interests-box h4 {
  font-size: 1.4em;
  margin-bottom: 0.8em;
}

.personal-details p {
  margin-bottom: 0.6em;
  display: flex;
.personal-details {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5em;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.personal-details:hover,
.interests-box:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

  gap: 1em;
  color: #ccc;
}

.personal-details p strong {
  width: 90px;
  display: inline-block;
}

.interests-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5em;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  width: 50%;
}

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

.interest-item {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 1em;
  border-radius: 8px;
  text-align: center;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  color: #ccc;
  transition: background 0.3s, transform 0.3s;
}

.interest-item .emoji {
  font-size: 1.4em;
}

.interest-item .label {
  font-size: 0.9em;
}

.interest-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
}

.interest-item:hover .emoji {
  transform: scale(1.15);
}

.interest-item .emoji {
  transition: transform 0.3s ease;
}

.intro-line {
  border-left: 2.5px solid rgba(255,255,255,0.35);
  padding-left: 2.6em;
  margin-left: -0.3em;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
  header {
    margin-top: 1.5em;
    padding: 1em 4%;
    font-size: 17px;
  }

  .center-content {
    width: 85%;
    padding: 2em;
  }

  .main-name {
    font-size: 3rem;
  }

  .main-title {
    font-size: 1.6rem;
  }

  .about-container {
    width: 95%;
  }

  .about-sidebar h2 {
    font-size: 2.5em;
  }

  .about-content {
    padding-right: 2em;
  }

  .profile-img {
    width: 200px;
    height: 200px;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet portrait and large phones - 768px and below */
@media (max-width: 768px) {
  header {
    margin-top: 1em;
    padding: 1em 5%;
    font-size: 16px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2em;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    right: 0;
  }

  nav a {
    margin: 0;
    font-size: 1.2em;
  }

  .center-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 90%;
    padding: 6em 1.5em 3em;
    margin: 0 auto;
  }

  .main-name {
    font-size: 2.5rem;
  }

  .main-title {
    font-size: 1.3rem;
  }

  .main-desc {
    font-size: 0.95rem;
  }

  .btn {
    padding: 0.6em 1.5em;
    font-size: 0.9rem;
    margin-top: 2em;
  }

  .socials a {
    margin: 0 10px;
    font-size: 1.2em;
  }

  /* About page responsive */
  .about-container {
    flex-direction: column;
    width: 90%;
    margin: 2em auto;
  }

  .about-sidebar {
    position: static;
    width: 100%;
    padding-right: 0;
    margin-bottom: 2em;
    text-align: center;
  }

  .about-sidebar h2 {
    font-size: 2em;
  }

  .about-sidebar ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 1em;
  }

  .about-sidebar li {
    margin: 0;
  }

  .about-content {
    width: 100%;
    max-height: none;
    overflow-y: visible;
    padding-left: 0;
    padding-right: 0;
  }

  .about-content h3 {
    padding-left: 25px;
  }

  .about-content h3::before {
    left: -5px;
    width: 10px;
    height: 10px;
  }

  .profile-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img {
    width: 180px;
    height: 180px;
  }

  .profile-box h4 {
    font-size: 1.6em;
  }

  .intro-line {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .details-interests {
    flex-direction: column;
    gap: 2em;
  }

  .personal-details {
    text-align: left;
  }

  .interests-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5em;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    width: 100%;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile phones - 480px and below */
@media (max-width: 480px) {
  header {
    margin-top: 0.5em;
    padding: 0.8em 4%;
    font-size: 14px;
  }

  .center-content {
    width: 95%;
    padding: 5em 1em 2em;
  }

  .main-name {
    font-size: 1.8rem;
  }

  .main-title {
    font-size: 1.1rem;
  }

  .main-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .btn {
    padding: 0.5em 1.2em;
    font-size: 0.85rem;
    margin-top: 1.5em;
  }

  .socials {
    margin-top: 1.5em;
  }

  .socials a {
    margin: 0 8px;
    font-size: 1.1em;
  }

  .about-container {
    margin: 1.5em auto;
  }

  .about-sidebar h2 {
    font-size: 1.6em;
  }

  .about-sidebar .subtitle {
    font-size: 0.9em;
  }

  .about-content h3 {
    font-size: 1.2em;
    padding-left: 20px;
  }

  .about-content h3::before {
    width: 8px;
    height: 8px;
    top: 6px;
  }

  .profile-img {
    width: 150px;
    height: 150px;
  }

  .profile-box h4 {
    font-size: 1.4em;
  }

  .profile-box p {
    font-size: 0.9em;
  }

  .personal-details h4,
  .interests-box h4 {
    font-size: 1.2em;
  }

  .personal-details p {
    font-size: 0.9em;
    flex-direction: column;
    gap: 0.2em;
  }

  .personal-details p strong {
    width: auto;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8em;
  }

  .interest-item {
    padding: 0.8em;
    min-height: 60px;
  }

  .interest-item .emoji {
    font-size: 1.2em;
  }

  .interest-item .label {
    font-size: 0.8em;
  }

  .section {
    margin-bottom: 2em;
  }
}

/* Extra small phones - 360px and below */
@media (max-width: 360px) {
  .main-name {
    font-size: 1.5rem;
  }

  .main-title {
    font-size: 1rem;
  }

  .interest-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6em;
  }

  .interest-item {
    padding: 0.6em;
  }
}

/* ========================================
   SKILLS CARDS
   ======================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  margin-top: 1em;
}

.skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.8em;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.skill-card h4 {
  font-size: 1.3em;
  margin-bottom: 0.8em;
  color: #fff;
}

.skill-card p {
  color: #aaa;
  font-size: 0.9em;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

.tools-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2em;
}

.tools-label {
  font-size: 0.85em;
  color: #888;
  display: block;
  margin-bottom: 1em;
}

.tools-icons {
  display: flex;
  gap: 1.2em;
  flex-wrap: wrap;
}

.tool-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
}

.tool-icon i {
  font-size: 2.2em;
  transition: transform 0.3s ease;
}

.tool-icon:hover i {
  transform: scale(1.15);
}

.tool-icon span {
  font-size: 0.7em;
  color: #888;
  text-transform: uppercase;
}

/* ========================================
   EDUCATION CARD
   ======================================== */

.education-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2em;
  margin-top: 1em;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.education-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.education-icon i {
  font-size: 1.8em;
  color: #fff;
}

.education-details h4 {
  font-size: 1.4em;
  margin-bottom: 0.3em;
  color: #fff;
}

.education-details .degree {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 1em;
}

.education-details .education-desc {
  font-size: 0.9em;
  color: #888;
  line-height: 1.6;
}

/* Sidebar socials */
.sidebar-socials {
  margin-top: 3em;
  display: flex;
  gap: 1em;
}

.sidebar-socials a {
  color: #888;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.sidebar-socials a:hover {
  color: #fff;
}

/* ========================================
   RESPONSIVE - SKILLS & EDUCATION
   ======================================== */

@media (max-width: 1024px) {
  .skills-grid {
    gap: 1.2em;
  }

  .skill-card {
    padding: 1.5em;
  }

  .skill-card h4 {
    font-size: 1.2em;
  }

  .tool-icon i {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skill-card {
    padding: 1.5em;
  }

  .education-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5em;
  }

  .education-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  .education-icon i {
    font-size: 1.5em;
  }

  .sidebar-socials {
    justify-content: center;
    margin-top: 2em;
  }
}

@media (max-width: 480px) {
  .skill-card {
    padding: 1.2em;
  }

  .skill-card h4 {
    font-size: 1.1em;
  }

  .skill-card p {
    font-size: 0.85em;
  }

  .tools-icons {
    gap: 1em;
  }

  .tool-icon i {
    font-size: 1.6em;
  }

  .tool-icon span {
    font-size: 0.6em;
  }

  .education-card {
    padding: 1.2em;
  }

  .education-details h4 {
    font-size: 1.2em;
  }

  .education-details .degree {
    font-size: 0.9em;
  }

  .education-details .education-desc {
    font-size: 0.85em;
  }
}

/* Tool icon images (for icons not in devicons) */
.tool-icon .tool-img {
  width: 2.2em;
  height: 2.2em;
  filter: invert(0) opacity(0.85);
  transition: transform 0.3s ease;
}

.tool-icon:hover .tool-img {
  transform: scale(1.15);
}

/* Colored tool icons using CSS filters */
.tool-icon .tool-img {
  filter: brightness(1) invert(0);
}

/* Adobe Lightroom - Blue #31A8FF */
.tool-icon .lightroom-icon {
  filter: invert(58%) sepia(89%) saturate(1282%) hue-rotate(186deg) brightness(102%) contrast(101%);
}

/* Adobe Premiere Pro - Purple #9999FF */
.tool-icon .premiere-icon {
  filter: invert(64%) sepia(68%) saturate(2274%) hue-rotate(212deg) brightness(101%) contrast(101%);
}

/* DaVinci Resolve - Custom PNG */
.tool-icon .davinci-icon {
  filter: none;
}

/* Ableton Live - White/Light */
.tool-icon .ableton-icon {
  filter: brightness(0) invert(1);
}

.education-details .education-years {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 1em;
}

.education-logo {
  margin-top: 8px;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* ========================================
   PROJECTS PAGE
   ======================================== */

.section-desc {
  color: #aaa;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 1.5em;
}

/* Coding Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
}

.project-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.project-info {
  padding: 1.5em;
}

.project-info h4 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #fff;
}

.project-info p {
  color: #aaa;
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 1em;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.75em;
  color: #ccc;
}

/* Photography Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
}

.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-item:hover img {
  transform: scale(1.08);
}

.photo-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.photo-item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

/* Music Grid */
.music-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2em;
}

.music-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.music-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.music-artwork {
  position: relative;
  aspect-ratio: 1/1;
}

.music-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.music-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 2.5em;
  color: white;
  transition: transform 0.3s ease;
}

.music-card:hover .play-overlay i {
  transform: scale(1.1);
}

.music-info {
  padding: 1em;
}

.music-info h4 {
  font-size: 1em;
  margin-bottom: 0.3em;
  color: #fff;
}

.music-info p {
  color: #888;
  font-size: 0.85em;
}

/* ========================================
   PROJECTS PAGE - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .music-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .music-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .music-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8em;
  }

  .project-image img {
    height: 150px;
  }

  .project-info {
    padding: 1.2em;
  }

  .project-info h4 {
    font-size: 1.1em;
  }

  .music-info {
    padding: 0.8em;
  }

  .music-info h4 {
    font-size: 0.9em;
  }
}

/* ========================================
   CONTACT PAGE
   ======================================== */

/* Contact Cards Grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1em;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.3em;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 1.3em;
  color: #fff;
}

.contact-details h4 {
  font-size: 1em;
  color: #fff;
  margin-bottom: 0.2em;
}

.contact-details p {
  font-size: 0.85em;
  color: #888;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

.form-group {
  margin-bottom: 1.5em;
}

.form-group label {
  display: block;
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 0.5em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9em 1em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95em;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.5em;
}

.submit-btn i {
  font-size: 0.9em;
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(4px);
}

/* ========================================
   CONTACT PAGE - RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 1.5em;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 1em;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
  }

  .contact-icon i {
    font-size: 1.1em;
  }

  .contact-details h4 {
    font-size: 0.95em;
  }

  .contact-details p {
    font-size: 0.8em;
  }

  .contact-form {
    padding: 1.2em;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.8em;
    font-size: 0.9em;
  }
}

/* ========================================
   PROJECTS PAGE - NEW LAYOUT
   ======================================== */

.projects-container {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 4em auto;
}

.projects-content {
  width: 75%;
  padding-left: 2em;
}

/* Featured Navigation */
.featured-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1em;
  margin-bottom: 1.5em;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-text {
  color: #888;
  font-size: 0.9em;
}

/* Featured Project */
.featured-project {
  display: flex;
  gap: 3em;
  margin-bottom: 2em;
}

.featured-image {
  flex: 1;
  max-width: 55%;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-title {
  font-size: 2.2em;
  margin-bottom: 0.3em;
  color: #fff;
}

.featured-subtitle {
  font-size: 1em;
  color: #888;
  margin-bottom: 1.5em;
}

.featured-desc {
  font-size: 0.95em;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 2em;
}

.featured-buttons {
  display: flex;
  gap: 1em;
}

.featured-btn {
  padding: 0.8em 2em;
  font-size: 0.9em;
}

.featured-btn.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.featured-btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Project Number Indicator */
.project-indicator {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 3em;
}

.current-num {
  font-size: 8em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

/* Other Projects Section */
.other-projects {
  margin-top: 2em;
}

.other-projects-header {
  display: flex;
  align-items: center;
  gap: 2em;
  margin-bottom: 2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1em;
}

.other-projects-header h3 {
  font-size: 1.2em;
  color: #fff;
  white-space: nowrap;
}

.filter-tabs {
  display: flex;
  gap: 0.5em;
}

.filter-btn {
  padding: 0.5em 1.2em;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #888;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.filter-btn.active {
  background: #fff;
  border-color: #fff;
  color: #000;
}

/* Projects Grid - Updated */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.project-card .project-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.project-card .project-info {
  padding: 1.2em;
}

.project-card .project-info h4 {
  font-size: 1.1em;
  margin-bottom: 0.4em;
  color: #fff;
}

.project-card .project-info p {
  font-size: 0.85em;
  color: #888;
  margin-bottom: 1em;
}

/* ========================================
   PROJECTS PAGE - RESPONSIVE (NEW)
   ======================================== */

@media (max-width: 1024px) {
  .projects-content {
    width: 70%;
  }

  .featured-project {
    gap: 2em;
  }

  .featured-title {
    font-size: 1.8em;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .current-num {
    font-size: 6em;
  }
}

@media (max-width: 768px) {
  .projects-container {
    flex-direction: column;
    width: 90%;
    margin: 2em auto;
  }

  .about-sidebar {
    position: static;
    width: 100%;
    padding-right: 0;
    margin-bottom: 2em;
    text-align: center;
  }

  .projects-content {
    width: 100%;
    padding-left: 0;
  }

  .featured-nav {
    justify-content: center;
  }

  .featured-project {
    flex-direction: column;
    gap: 1.5em;
  }

  .featured-image {
    max-width: 100%;
  }

  .featured-title {
    font-size: 1.6em;
  }

  .featured-subtitle {
    font-size: 0.9em;
  }

  .featured-desc {
    font-size: 0.9em;
  }

  .featured-buttons {
    flex-direction: column;
    gap: 0.8em;
  }

  .featured-btn {
    text-align: center;
  }

  .project-indicator {
    justify-content: center;
  }

  .current-num {
    font-size: 5em;
  }

  .other-projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
  }

  .filter-tabs {
    flex-wrap: wrap;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .featured-title {
    font-size: 1.4em;
  }

  .featured-btn {
    padding: 0.7em 1.5em;
    font-size: 0.85em;
  }

  .current-num {
    font-size: 4em;
  }

  .filter-btn {
    padding: 0.4em 0.9em;
    font-size: 0.8em;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card .project-image img {
    height: 180px;
  }
}


/* ========================================
   AUDIO PLAYER
   ======================================== */

.audio-player {
  display: flex;
  align-items: center;
  gap: 0.75em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55em 0.8em;
  margin: 0.8em 0;
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.75em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.audio-progress-wrap {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  position: relative;
}

.audio-progress {
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.audio-time {
  font-size: 0.72em;
  color: #777;
  flex-shrink: 0;
  min-width: 2.8em;
  text-align: right;
}

/* ========================================
   PHOTO CARDS
   ======================================== */

.photo-card {
  cursor: pointer;
}

.photo-gallery-preview {
  position: relative;
  overflow: hidden;
}

.photo-count-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.78em;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.photo-card:hover .photo-gallery-preview img {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

/* ========================================
   LIGHTBOX OVERLAY
   ======================================== */

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 80vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 80vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.lightbox-counter {
  position: absolute;
  bottom: -2em;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85em;
  white-space: nowrap;
}

.lightbox-close {
  position: fixed;
  top: 1.4em;
  right: 1.4em;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Card external link button */
.card-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.9em;
  padding: 0.45em 1em;
  font-size: 0.8em;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.card-link-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.card-link-btn i {
  font-size: 0.75em;
}

/* Hero buttons */
.hero-btns {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-top: 3em;
  margin-bottom: 1em;
}

.hero-btns .btn {
  margin-top: 0;
  margin-bottom: 0;
}

.btn-filled {
  background-color: #ffffff;
  color: #000000 !important;
}

.btn-filled:hover {
  background-color: transparent;
  color: #ffffff !important;
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */

.experience-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.experience-entry {
  display: flex;
  align-items: flex-start;
  gap: 1.4em;
  padding: 1.8em 2em;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  transition: background 0.2s, border-color 0.2s;
}

.experience-entry:first-child {
  border-radius: 12px 12px 0 0;
}

.experience-entry:last-child {
  border-radius: 0 0 12px 12px;
}

.experience-entry:only-child {
  border-radius: 12px;
}

.experience-entry + .experience-entry {
  border-top: none;
}

.experience-entry:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.exp-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.exp-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
}

.exp-details {
  flex: 1;
}

.exp-details h4 {
  font-size: 1.05em;
  color: #fff;
  margin-bottom: 0.2em;
}

.exp-company {
  font-size: 0.88em;
  color: #bbb;
  margin-bottom: 0.2em;
}

.exp-meta {
  font-size: 0.82em;
  color: #666;
  margin-bottom: 0.9em;
}

.exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.exp-bullets li {
  font-size: 0.87em;
  color: #999;
  line-height: 1.6;
  padding-left: 1em;
  position: relative;
}

.exp-bullets li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #555;
}

@media (max-width: 768px) {
  .experience-entry {
    padding: 1.4em;
    gap: 1em;
  }

  .exp-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

/* ========================================
   VIDEO CARDS
   ======================================== */

.video-card {
  cursor: pointer;
}

.video-thumb {
  width: 100%;
  height: 160px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.video-card:hover .video-play-icon {
  background: rgba(0, 0, 0, 0.5);
}

.video-play-icon i {
  font-size: 3em;
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.3s, color 0.3s;
}

.video-card:hover .video-play-icon i {
  color: #fff;
  transform: scale(1.1);
}

/* ========================================
   VIDEO OVERLAY
   ======================================== */

.video-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-overlay.active {
  display: flex;
}

.video-overlay-content {
  width: 85vw;
  max-width: 1100px;
}

.video-overlay-content video {
  width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  outline: none;
  display: block;
}

.video-overlay-close {
  position: fixed;
  top: 1.4em;
  right: 1.4em;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: background 0.2s;
}

.video-overlay-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
