/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #0d0d0d;
  --text-color: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --hover-fill: #ffffff;
  --highlight-color: #00ffe1;
}


}

/* Body */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Hero Section */
.hero-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.main-heading .highlight {
  color: var(--highlight-color);
  text-shadow: 0 0 10px var(--highlight-color);
  
}

/* Typing Effect */
#typed-text {
  font-size: 1.2rem;
  font-weight: 500;
}

.cursor {
  display: inline-block;
  background: var(--text-color);
  width: 2px;
  height: 1.2rem;
  animation: blink 0.7s infinite;
  vertical-align: bottom;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* Spotify & Map Section */
.side-info {
  .side-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 1rem;
  }
}
.embed-box {
  flex: 1 1 45%;
  min-width: 320px;
  max-width: 600px;
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}



/* Fade In Sections */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

/* Work Boxes */
.work-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  height: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.05);
  cursor: pointer;
}

.work-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.15);
}

.work-box img {
  width: 120px;
  height: 100px;
  margin-bottom: 1rem;
  object-fit: contain;
}

/* Skill Cards */
.skills-showcase {
  padding: 4rem 2rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.skill-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  width: 140px;
  height: 160px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.05);
  position: relative;
}

.skill-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 0.7rem;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%) brightness(0.8);
}

.skill-card span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
}

/* Hover Effects */
.skill-card:hover {
  background: var(--hover-fill);
  transform: translateY(-5px);
}

.skill-card:hover img {
  filter: none;
  transform: scale(1.1);
}

.skill-card:hover span {
  color: var(--bg-color);
}

/* Quote Section */
.quote-section {
  margin: 4rem auto;
  padding: 2rem;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  width: 90%;
  max-width: 800px;
  color: var(--text-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
/* Center all subheadings inside Coding Proficiency */
.skills-category h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 4rem; /* Top spacing */
  margin-bottom: 2rem; /* Bottom spacing */
  color: var(--text-color);
}

/* Make Quote of the Day section neater */
.quote-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--highlight-color);
}

.quote-box {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-color);
}

#quoteAuthor {
  font-size: 1.2rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--highlight-color);
}


/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #111;
  color: #fff;
  font-size: 14px;
}

/* Scroll To Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  font-size: 18px;
  padding: 10px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background: var(--hover-fill);
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    padding: 4rem 2rem;
  }
}

@media screen and (max-width: 600px) {
  .hero-img {
    width: 160px;
    height: 160px;
  }
  .glass-box {
    width: 90vw;
max-width: 900px;
margin: auto;

  }
  .responsive-iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 12px;
  }
  
  
  .map-box {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
    filter: invert(90%) hue-rotate(180deg);
  }
  @media screen and (max-width: 600px) {
    .glass-box,
    .embed-box {
      width: 90vw;
      max-width: 100%;
      margin: auto;
    }
  
    .responsive-iframe {
      height: 300px;
    }
  }
  