body, html {
    margin: 0;
    padding: 0;
    background-color: rgb(168, 205, 234);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
}

@media (max-width: 600px) {/*480 for mobile*/
  /* mobile responsive */
  body {
    font: 10px;
  }
  .header-section {
    display: flex;
    flex-direction: row;
    justify-content: left!important;
    align-items: baseline!important;
    gap: 14px!important;
  }

  .home-btn, .about-btn, .projects-btn, .contact-btn, .resume-btn {
    font-weight: bold;
    font-size: 10px!important;
    padding: 5px 10px!important;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
}

  .intro h1 {
    font-size: 30px;
}

#cd-player {
  top: 90px;
  left: 10px;
  position: relative;
  width: 200px!important;
  height: 200px!important;
  margin: 60px auto!important;
}

/* === Vinyl Record === */
.vinyl {
  width: 180px!important;
  height: 180px!important;
}

.checkout-btn{
  font-size: 10px!important;
  padding: 10px 12px!important;
}

.about-container h1 {
  font-size: 40px!important;
}
 
.about-image img {
  width: 100px!important;
  height: 100px!important;
}
.about-image {
  margin-top: 100px!important;
}


.details-title {
  font-size: 30px!important;
}

.first-left p {
  font-size: 14px!important;
}

.tech-stack-wrapper {
  padding: 0!important;
  margin: 0!important;
}

.third-section {
  padding: 0px 40px!important;
}

.third-value {
  padding: 0!important;
}

.cert {
  padding: 0!important;
  width: 200px!important;
  height: 100px!important;
  
}

.link {
  margin-left: 50px;
}


}

.site-footer {
    font-size: 14px;
  background-color: rgba(101, 133, 178, 0.772);
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  border-top: 1px solid rgba(131, 149, 169, 0.253);
  position: relative;
  margin: 0;
}

.footer-content {
  max-width: 900px;
  margin: auto;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}


@keyframes wobble-left {
	0%, 100% {
		transform: translateY(0) rotate(0);
		transform-origin: 50% 50%;
	}
	15% { transform: translateY(-30px) rotate(-6deg); }
	30% { transform: translateY(15px) rotate(6deg); }
	45% { transform: translateY(-15px) rotate(-3.6deg); }
	60% { transform: translateY(9px) rotate(2.4deg); }
	75% { transform: translateY(-6px) rotate(-1.2deg); }
}

.header-section {
    animation: fadeIn 1.2s ease-out forwards;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 30px;
  
}

.home-btn, .about-btn, .projects-btn, .contact-btn {
    font-weight: bold;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    padding: 10px 20px;
    border: none;
    background: none;
    color: white;
    margin-right: 20px;
    cursor: pointer;
}
.home-btn:hover, .about-btn:hover, .projects-btn:hover, .contact-btn:hover {
    background-color: rgb(234, 220, 150);
}

.resume-btn {
    font-weight: bold;
    font-size: 14px;
    border: 2px solid;
    border-radius: 6px;
    padding: 6px 20px;
    background: none;
    color: white;
    margin-right: 10px;
    cursor: pointer;
}
.resume-btn:hover {
    color: rgb(168, 205, 234);
    background-color: white;
}

.home {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.intro {
    animation: fadeIn 1s ease-out forwards;
    padding-left: 10%;
    padding-top: 5%;
    width: 30%;
}
.intro p, .intro h1 {
    color: white;
}

.checkout-btn {
    animation: fadeIn 1.2s ease-out forwards;
    font-weight: bold;
    font-size: 14px;
    border: 2px solid;
    border-radius: 8px;
    padding: 10px 20px;
    color: rgb(168, 205, 234);
    background: white;
    margin-right: 10px;
    cursor: pointer;
     display: inline-block;
}
.checkout-btn:hover {
  color: rgb(239, 231, 19);
  background-color: rgba(255, 255, 255, 0.726);
  box-shadow:
    0 0 8px rgba(255, 215, 0, 0.6),
    0 0 10px rgba(255, 223, 100, 0.5),
    0 0 14px rgba(255, 240, 150, 0.4);
  transform: scale(2);
}
.desc { font-size: 12px; }

.intro p { margin-bottom: 40px; }

/* === Name wave + scale === */
.name {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 3px;
    color: #222;
    cursor: pointer;
    white-space: pre; 
    margin: 0;
    padding: 0;
   
}

.name span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.name:hover span {
   animation: wave 0.6s ease-in-out forwards;
}


/* === Vinyl Player === */
#cd-player {
  animation: wobble-left 1.4s ease-in;
  position: relative;
  width: 280px;
  height: 280px;
  margin: 80px auto;
}

/* === Vinyl Record === */
.vinyl {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(255,255,255,0.9) 0%, rgba(200,220,255,0.4) 25%, rgba(100,150,220,0.2) 55%, rgba(30,60,130,0.7) 90%, rgba(15,25,70,1) 100%),
    conic-gradient(from 0deg,
      rgba(255,255,255,0.6),
      rgba(255,0,255,0.1),
      rgba(0,255,255,0.2),
      rgba(255,255,255,0.6),
      rgba(255,255,0,0.15),
      rgba(0,0,255,0.2),
      rgba(255,255,255,0.4));
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow:
    inset 0 0 25px rgba(255,255,255,0.3),
    inset 0 0 35px rgba(80,150,255,0.3),
    0 0 25px rgba(100,160,255,0.4);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.6s ease, transform 0.8s ease;
  cursor: pointer;
  animation: idlePulse 3s ease-in-out infinite; /* ✅ idle effect */
}

/* === Idle Pulse === */
@keyframes idlePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(120, 180, 255, 0.3); }
  50% { transform: scale(1.03); box-shadow: 0 0 35px rgba(150, 200, 255, 0.6); }
}

/* === Reflection Overlay === */
.vinyl::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 45deg,
    rgba(255,255,255,0.5) 0deg,
    rgba(150,200,255,0.2) 60deg,
    rgba(255,255,255,0.5) 120deg,
    rgba(100,150,255,0.2) 180deg,
    rgba(255,255,255,0.4) 360deg);
  mix-blend-mode: screen;
  opacity: 0.6;
}

/* === Center Hole === */
.vinyl::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 12px rgba(255,255,255,0.25);
}

/* === Spindle Hole === */
.hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #0a0a0a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4px rgba(255,255,255,0.2);
}

/* === Spin Animation === */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl.spin {
  animation: spin 5s linear infinite;
  box-shadow:
    inset 0 0 40px rgba(255,255,255,0.4),
    0 0 55px rgba(100,200,255,0.7);
}

/* === Tone Arm === */
.tone-arm {
  position: absolute;
  width: 120px;
  height: 6px;
  background: linear-gradient(to right, #e8f1ff, #bcd4fa);
  top: 110px;
  right: -15px;
  border-radius: 3px;
  transform-origin: top left;
  transform: rotate(28deg);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  transition: transform 0.6s ease;
}

/* Arm head */
.tone-arm::before {
  content: "";
  position: absolute;
  right: -10px;
  top: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 4px rgba(255,255,255,0.3);
}

/* Move tone arm when playing */
.vinyl.spin ~ .tone-arm {
  transform: rotate(10deg);
}

.about {
    display: flex;
    flex-direction: row;
}
.about-container, .contact{
    animation: fadeIn 1s ease-out forwards;
    color: white;
    padding-left: 16%;
}

.about-container {
    padding-right: 5%;
}
.about .title, .contact .title{
    animation: wobble-left 1.2s ease-in 0s 1 normal forwards;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 64px;
     color: transparent; /* make inside empty */
  -webkit-text-stroke: 1px white; /* gold outline */
  transition: color 0.3s ease;
  
}


.about .title:hover, 
.contact .title:hover {
  color: white;
}
.about p {
    transform: rotateZ('40');
    color: white;
}
@keyframes wobble-left {
	0%,
	100% {
		transform: translateY(0) rotate(0);
		transform-origin: 50% 50%;
	}

	15% {
		transform: translateY(-30px) rotate(-6deg);
	}

	30% {
		transform: translateY(15px) rotate(6deg);
	}

	45% {
		transform: translateY(-15px) rotate(-3.6deg);
	}

	60% {
		transform: translateY(9px) rotate(2.4deg);
	}

	75% {
		transform: translateY(-6px) rotate(-1.2deg);
	}
}

.about-image {
    animation: fadeIn 1s ease-out forwards;
    padding: 0;
    margin: 0;
    padding-top: 4%;
    padding-right: 14%;
}
.about-image img {
  width: 300px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%; /* make round */
  border: 5px solid #ecedc9; /* frame color */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: rotate(16deg);
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.contact {
    animation: fadeIn 1s ease-out forwards;
    color: white;
    margin-bottom: 10%;
}

.contact .title {
    padding-top: 8%;;
}

.contact p {
    width: 50%;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 30px;
}
.social-links i {
    color: white;
    transform: scale(2);

}

.social-links i:hover {
    color: rgb(234, 220, 150);
}

.about-link {
    color: gold;
    text-decoration: wavy;
}
.about-link:hover {
    text-decoration: underline;
    color: goldenrod;
}

.skills-section{
    padding: 10% 10% 0 10%;
}
.tech-title{
    animation: wobble-left 1.2s ease-in 0s 1 normal forwards;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
     color: white;
  -webkit-text-stroke: 1px white; 
  text-align: right;
   transition: color 0.3s ease;
}

.tech-title:hover {
    color: transparent;
}

.skills-box {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.lang-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.skills, .lang {
    background-color: transparent;
    color: white;
    border: 1px solid;
    border-radius: 16px; 
    padding: 10px 30px;
}

.skills:hover {
    background: rgb(234, 220, 150);
    border-color: rgb(234, 220, 150);
    cursor: none;
    transform: scale(1.1);
}

.language-section {
    padding: 8% 10% 0 10%;
}
.lang-title{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
     color: white;
  -webkit-text-stroke: 1px white; 
  text-align: left;
   transition: color 0.3s ease;
}
.lang-title:hover, .projects-container .title:hover {
    color: transparent;
}
.lang:hover {
    background-color: rgb(92, 92, 137);
    border-color: rgb(92, 92, 137);
    transform: scale(1.1);
    cursor: none;
}

.floating-corner {
    height: 250px;
    width: 60%;
    text-align: center;
    margin-top: 20px;
    left: 210px;
    position: relative;
    overflow: hidden;
}

/* floating word animation */
.word {
  position: absolute;
  color: #fff7c2;
  opacity: 0.8;
  animation-name: floatWord;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes floatWord {
  0%   { transform: translateY(0); opacity: 0.8; }
  50%  { transform: translateY(-25px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.8; }
}

.projects-container {
  padding: 50px 100px;
}
.projects-container .title {
  
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
     color: white;
  -webkit-text-stroke: 1px white; 
  text-align: center;
   transition: color 0.3s ease;
   margin-bottom: 30px;
}

.card-container {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  border-radius: 4%;
  width: 260px;
  height: 300px;
  perspective: 1000px;
  background-color:white;
  padding: 40px 20px;
}

.card:hover {
  transform: scale(1.1);
}
.card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 50px solid rgb(253, 223, 52);
  border-left: 60px solid transparent;
}

.card-badge i {
  position: absolute;
  top: -46px;
  right: 10px;
  font-size: 20px;
  color: white;
  transform: scale(0.8);
}

.project-title {
  text-align: center;
}


.project-image, .project-cover {
    padding: 0;
    margin: 0;
}
.project-image img {
  width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: 5%; /* make round */
}

.project-cover img {
  margin-left: 30px;
  width: 760px;
  height: 350px;
  object-fit: cover;
  border-radius: 6px; /* make round */
}

.project-desc {
  padding: 10px 16px;
  text-align: center;
  font-weight: 100;
  font-size: 12px;
  height: 70px;
}

.view-btn {
  border: none;
  padding: 10px 50px;
  border-radius: 4px;
  margin-top: 10px;
}

.view-btn:hover {
  background-color: rgb(168, 205, 234);
  color: white;
}

.coming-btn {
  border: none;
  padding: 10px 50px;
  border-radius: 4px;
  margin-top: 10px;
  cursor: none;
}

.header-section {
  display: flex;
  justify-content: right;
}

.header-section-return {
  display: flex;
  justify-content: left;
}
.details-section {
  animation: projectfade 1.2s ease-in 0s 1 normal forwards;
}

.return-btn {
  border: 1px solid white;
  width: 30px;
  height: 30px;
  padding: 24px;
  border-radius: 50%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-top: 20px;
  margin-bottom: 80px;
  margin-left: 50px;
}

.return-btn i {
  color: white;
  padding: 0;
  margin: 0;
}

.return-btn:hover{
  color: rgb(234, 220, 150);
  border-color: rgb(234, 220, 150);
  background-color: rgb(234, 220, 150);
}

.first-section {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

.first-left {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  margin-left: 60px;

}

.project-cover {
  display: flex;
  justify-content: center;
}
.first-section img {
  height: 300px;
  
  padding: 0;
  margin: 0;

}
.first-left p {
  font-size: 20px;
  color: white;

}
.details-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 80px;
  color: white;
  -webkit-text-stroke: 1px white;
}


@keyframes projectfade {
  0%   { transform: translateY(0); opacity: 0.8; }
  50%  { transform: translateY(-25px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.8; }
}

.showcase {
  display: flex;
  background-color: transparent;
}

.link {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 50px;
}
.second-section {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 100px 0px;
}

.link-btn {
  color: white;
  background-color: transparent;
  padding: 10px 20px;
  border: 1px solid white;
  border-radius: 4px;
}

.link-btn:hover {
  color: rgb(168, 205, 234);
  background-color: white;
}
.tech-stack {
  font-size: 40px;
  font-weight: 300;
  color: rgb(168, 205, 234);
  display: flex;
  justify-content: center;
}

.tech-stack img {
  width: 60%;  
  height: auto;
}

.third-section {
  color: rgb(46, 72, 132);
  padding: 0px 200px;
}

.third-title {
  padding-bottom: 20px;
  color: rgb(22, 34, 62);
  font-weight: bolder;
}

.third-value {
  width: 50%;
  font-weight: 100;
  padding-bottom: 40px;
}

.explaination {
  width: 70%;
   padding-bottom: 40px;
}

.question, .feature, .number  { 
  font-size: 40px;
  padding-bottom: 20px;
}

.feature {
  width: 50%;
}

.new-title {
  padding-top: 40px;
  padding-bottom: 20px;
  color: rgb(22, 34, 62);
  font-weight: bolder;
}

.figure img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

/* Base hidden state */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* When visible */
.show {
  opacity: 1;
  transform: translateY(0);
}

.last-section {
  display: flex;
  justify-content: flex-end;
  padding: 50px;
}

.next-btn {
  border: none;
  background-color: transparent;
  font-size: 70px;
  text-align: right;
  line-height: 80px;

  font-weight: bold;
  transform: rotateY(70deg);
  color: transparent; /* make inside empty */
  -webkit-text-stroke: 1px white;
}

.next-btn:hover {
  transform: rotateY(0deg);
  color: rgb(22, 34, 62);
  -webkit-text-stroke:1px rgb(22, 34, 62);
}

.project-cover img {
  width: 90%;
}

.tech-stack-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.second-section .title {
  font-size: 40px;
  color: white;
  font-weight: bold;
  text-align: center;
}

.third-section {
  padding: 10px 20px;
}

.third-value {
  width: 80vw!important;
  padding-bottom: 30px!important;
}

.scope {
  padding-top: 40px;
  padding-bottom: 20px;
  color: rgb(22, 34, 62);
  font-weight: bolder;
}

.scope-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.project-tech {
  color:  white;
  border: 1px solid  rgb(46, 72, 132);
  padding: 10px 20px;
  background-color:  rgb(46, 72, 132);
  border-radius: 10px;
}

.project3{
  background-color: rgb(90, 63, 90);
}



#project3-value {
  color: white;
}

#project3-next {
  border-color: white;
}
#project3-next:hover {
  color: white;
  border-color: white;
}

.project4 {
  background-color: rgb(78, 93, 78);
}

.project5 {
  background-color: rgb(93, 109, 93);
}

.space {
  padding: 0px 20px;
}

.content-wrapper {
  display: flex;
}
.content-wrapper img {
  width: 30rem;
  height: 20rem;
}

.context-wrapper {
  display: flex;
  flex-direction: column;
}