@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #e5e5e5;
  line-height: 1.7;
}

nav {
  background-color: rgba(26, 26, 46, 0.95);
  text-align: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(92, 225, 230, 0.2);
  border-bottom: 2px solid var(--border-color);
  backdrop-filter: blur(10px);
}

nav a {
  margin: 0 1.2rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.3s ease;
}

nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

nav a:hover {
  color: var(--border-color);
}

nav a:hover::after {
  width: 100%;
}


main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

header {
  width: 100vw;
  margin: 0;
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #ff5c8a, #5ce1e6);
  color: #0f0f1a;
  border-bottom: 4px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(255, 92, 138, 0.3);
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 92, 138, 0.3);
}

img {
  width: 100%;
  max-width: 300px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(92, 225, 230, 0.2);
  margin-top: 1rem;
}

.profile-box {
  width: 280px;
  height: 280px;
  padding: 12px;

  border: 4px dashed var(--border-color);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 30px rgba(255, 92, 138, 0.2);
  backdrop-filter: blur(8px);

  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  overflow: hidden;

  aspect-ratio: 1 / 1;
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-8px);
  border-radius: 50%;
  object-position: top center 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.typing-multi {
  border-right: 2px solid #fff;
  padding-right: 4px;
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}

.cursor {
  animation: blink 0.7s infinite;
  color: var(--accent-color, #5ce1e6);
  font-size: 2rem;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #5ce1e6;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(92, 225, 230, 0.4);
  z-index: 1000;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
#music-toggle:hover {
  transform: scale(1.1);
}

.skill-list {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-top: 1rem;
}

.skill-list li {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #eee;
}

.skill-list i {
  margin-right: 0.5rem;
  color: #5ce1e6;
}
.skill-list a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
}
.skill-list a:hover {
  color: #5ce1e6;
}

#contact .card {
  max-width: 100% !important;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;

  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 2rem;
}

.contact-list li {
  font-size: 1.2rem;
  color: #eee;
  display: flex;
  align-items: center;
}

.contact-list i {
  margin-right: 0.5rem;
  color: #5ce1e6;
}

.contact-list a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-list a:hover {
  color: #5ce1e6;
}

@media (max-width: 600px) {
  .contact-list {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--accent-color, #5ce1e6);
  color: #0f0f1a;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #ff5c8a;
  color: #fff;
  transform: scale(1.05);
}

a {
  position: relative;
  color: #5ce1e6;
  text-decoration: none;
  font-weight: bold;
}

a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: #5ce1e6;
  box-shadow: 0 0 5px #5ce1e6, 0 0 10px #5ce1e6, 0 0 20px #5ce1e6;
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: right;
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.cert-card img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(92, 225, 230, 0.2);
  object-fit: cover;
}

.cert-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--accent-color, #5ce1e6);
}

.cert-card a.btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.saran-container {
  min-height: 100vh;
  background: linear-gradient(to bottom, #0f0f2f, #070720);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.suggestion-form {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 0 30px rgba(92, 225, 230, 0.1);
  border: 1px solid rgba(92, 225, 230, 0.2);
  max-width: 500px;
  width: 100%;
  transition: all 0.3s ease;
}

.suggestion-form:hover {
  box-shadow: 0 0 35px rgba(92, 225, 230, 0.6);
  background: linear-gradient(
    to bottom right,
    rgba(92, 225, 230, 0.05),
    rgba(255, 255, 255, 0.03)
  );
  transform: translateY(-5px);
}

.suggestion-form h2 {
  color: #5ce1e6;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  text-align: center;
}

.suggestion-form input,
.suggestion-form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
}

.suggestion-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background-color: #5ce1e6;
  color: #000;
  border: none;
  padding: 0.9rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background-color: #4ed2d7;
  transform: scale(1.02);
}

.back-btn {
  display: inline-block;
  margin-top: 2rem;
  color: #5ce1e6;
  border: 2px solid #5ce1e6;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #5ce1e6;
  color: #000;
}



#popup-notif {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(92, 225, 230, 0.95);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(92, 225, 230, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 9998;
}

#popup-notif.popup-visible {
  opacity: 1;
  pointer-events: auto;
}

.hidden-video {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(255, 92, 138, 0.5);
  background-color: #000;
}

.show-video {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9) translate(-50%, -50%); }
  to   { opacity: 1; transform: scale(1) translate(-50%, -50%); }
}

.video-overlay {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 9997;
}

.video-overlay.show {
  visibility: visible;
  opacity: 1;
}


.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--accent-color, #5ce1e6);
  border: 2px solid var(--accent-color, #5ce1e6);
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.back-btn i {
  font-size: 1.2rem;
}

.back-btn:hover {
  background: #ff5c8a;
  border-color: #ff5c8a;
  color: #fff;
  box-shadow: 0 0 10px #ff5c8a,
              0 0 20px #ff5c8a,
              0 0 40px #ff5c8a;
  transform: scale(1.05);
}

.about-card {
  text-align: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-text {
  max-width: 700px;
  text-align: center;
}

.about-image img {
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.character-box {
  display: flex;
  gap: 40px; 
  justify-content: center;
  align-items: center;
}


.character-img {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(143, 97, 133, 0.078);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-img {
  max-width: 280px; 
  height: auto;
  border-radius: 10px;
}

.character-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgb(188, 140, 178);
}

.image-box {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.img-anim {
  width: 200px;
  opacity: 0;
  transform: translateY(30px);
  animation-fill-mode: forwards;
}

.img-left {
  animation: fadeUpLeft 1s ease-out;
}

.img-right {
  animation: fadeDownRight 1s ease-out 0.3s;
}

@keyframes fadeUpLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes fadeDownRight {
  0% {
    opacity: 0;
    transform: translateX(40px) translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #0ff, #f0f);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s ease-out;
  z-index: 9999;
  box-shadow: 0 0 10px #0ff, 0 0 20px #f0f;
}


.pdf-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top:12px;
}

.download-circle{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#5ce1e6;
  box-shadow: 0 0 12px rgba(92,225,230,.35);
  transition:all .25s ease;
  text-decoration:none;
}

.download-circle i{
  font-size:1.15rem;
  color:#0f0f1a;
  line-height:1;
  pointer-events:none;
}

.download-circle:hover{
  background:#ff5c8a;
  transform:scale(1.08);
  box-shadow:0 0 14px rgba(255,92,138,.55);
}
