@import url("https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Common Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
  outline: none;
  font-family: "Jura", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main Button */
.main-btn {
  position: absolute;
  bottom: 3rem;
  width: 13rem;
  height: 13rem;
  background-color: #9b0e0e;
  border-radius: 50%;
  border: 0.2rem dotted #fff;
  padding: 0.1rem;
  overflow: hidden;
}

.main-btn-content {
  width: 100%;
  height: 100%;
  border: 0.2rem dotted #e7be08;
  border-radius: 50%;
  transform: rotate(40deg);
  transition: transform 0.2s, border 0.2s;
}

.main-btn:hover .main-btn-content {
  transform: rotate(60deg);
  border: 0.2rem dotted #9b0e0e;
  transition: transform 0.2s 0.5s, border 0.2s;
}

.main-btn-line {
  position: absolute;
  top: 4rem;
  width: 3rem;
  height: 0.5rem;
  border: 0.1rem solid #fff;
}

.main-btn-line:nth-child(1) {
  transform: rotateZ(-45deg) translateX(-0.65rem);
  transform-origin: left center;
  border-right: none;
}

.main-btn-line:nth-child(2) {
  transform: rotateZ(45deg) translateX(0.65rem);
  transform-origin: right center;
  border-left: none;
}

.main-btn-line:nth-child(3) {
  transform: rotateZ(90deg) translateX(0.5rem);
  border-left: none;
}

.main-btn span {
  position: absolute;
  bottom: 3rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ripple {
  position: absolute;
  width: 0;
  height: 0;
  background-color: #e7be08;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rippleAnim 0.5s forwards;
}

@keyframes rippleAnim {
  0% {
    width: 0;
    height: 0;
  }
  100% {
    width: 210%;
    height: 210%;
  }
}
/* End of Main Button */

/* Section Heading */
.section-heading {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 10rem;
  transform: translateY(-50%);
  width: 0;
  word-break: break-all;
  line-height: 4;
}
/* End of Section Heading */
/* End of Common Styles */

/* Mouse Circle */
.mouse-circle,
.mouse-dot {
  border-radius: 50%;
  position: fixed;
  z-index: 300;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.mouse-circle {
  width: 6rem;
  height: 6rem;
  border: 0.1rem solid #c7a622;
  animation: mouseCircleAnim 10s infinite linear;
}

@keyframes mouseCircleAnim {
  0% {
    width: 6rem;
    height: 6rem;
  }
  25% {
    width: 8rem;
    height: 8rem;
  }
  35% {
    width: 4rem;
    height: 4rem;
  }
  70% {
    width: 8rem;
    height: 8rem;
  }
  100% {
    width: 6rem;
    height: 6rem;
  }
}

.mouse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #9b0e0e;
  animation: mouseDotAnim 10s infinite linear;
}

@keyframes mouseDotAnim {
  0% {
    width: 0.5rem;
    height: 0.5rem;
  }
  55% {
    width: 1.5rem;
    height: 1.5rem;
  }
  100% {
    width: 0.5rem;
    height: 0.5rem;
  }
}
/* End of Mouse Circle */

/* Page BG */
.page-bg {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/bg.jpg) center no-repeat;
  background-size: cover;
}
/* End of Page BG */

/* Progress Bar */
.progress-bar {
  position: fixed;
  bottom: 4rem;
  right: 4rem;
  width: 8rem;
  height: 8rem;
  background-color: #fff;
  border-radius: 50%;
  z-index: 200;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.3);
}

.progress-bar:hover {
  box-shadow: 0 0 25px rgba(255, 153, 0, 0.5);
  transform: translate(-50%, -50%) scale(1.1);
}

.half-circle,
.half-circle-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  transform-origin: right center;
  pointer-events: none;
}

.half-circle:nth-child(1) {
  background-color: #b60000;
}

.half-circle:nth-child(2) {
  background-color: #b60000;
}

.half-circle-top {
  background-color: #fff;
}

.progress-bar-circle {
  width: 7.8rem;
  height: 7.8rem;
  background-color: #000;
  border-radius: 50%;
  color: #fff;
  font-size: 4rem;
  z-index: 200;
  transition: transform 0.5s;
  pointer-events: none;
}
/* End of Progress Bar */

/* Navigation */
/* Menu Icon */
.menu-icon {
  position: fixed;
  top: 3.5rem;
  right: 0;
  width: 12rem;
  height: 7rem;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}

.menu-icon-line {
  width: 4rem;
  height: 0.1rem;
  background-color: #fff;
  margin: 0.5rem 0;
  box-shadow: 0 0.3rem 0.5rem #000;
}

.show-menu-icon {
  opacity: 1;
  visibility: visible;
}
/* End of Menu Icon */

/* Modern Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 153, 0, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff9900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-icon {
  font-size: 2.2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(231, 190, 8, 0.1),
    rgba(155, 14, 14, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover::before {
  opacity: 1;
}

.nav-icon-wrapper {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 153, 0, 0.15);
  transition: all 0.3s ease;
}

.nav-svg {
  width: 1.6rem;
  height: 1.6rem;
  color: #ff9900;
  transition: all 0.3s ease;
}

.nav-label {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.nav-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.nav-item:hover .nav-icon-wrapper {
  background: rgba(255, 153, 0, 0.3);
  transform: scale(1.1);
}

.nav-item:hover .nav-svg {
  color: #fff;
  transform: rotate(5deg);
}

.nav-item:hover .nav-label {
  opacity: 1;
  color: #ff9900;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: rgba(232, 90, 79, 0.2);
  border: 2px solid rgba(255, 153, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.social-icon-wrapper {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 153, 0, 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.2);
}

.social-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.3), transparent);
  border-radius: 50%;
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.social-link:hover::before {
  width: 100%;
  height: 100%;
}

.social-svg {
  width: 1.8rem;
  height: 1.8rem;
  color: #ff9900;
  transition: all 0.3s ease;
  z-index: 1;
}

.social-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: #ff9900;
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
  background: rgba(232, 90, 79, 0.3);
}

.social-link:hover .social-icon-wrapper {
  background: rgba(255, 153, 0, 0.3);
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.4);
}

.social-link:hover .social-svg {
  color: #fff;
  transform: rotate(360deg);
}

.social-link:hover .social-text {
  color: #ff9900;
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
}

.hide-navbar {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
}
/* End of Navbar */
/* End of Navigation */

/* Section 1 */
.section-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 8rem;
}

/* Logo */
.logo {
  position: absolute;
  top: 2rem;
  left: 5rem;
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
}
/* End of  Logo */

/* Animated Circles */
.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.circle {
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  align-self: center;
  justify-self: center;
  opacity: 0.5;
  position: relative;
  top: 0;
  left: 0;
  transition: all 2s ease;
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.2);
}

.circle:hover {
  opacity: 0.8;
  box-shadow: 0 0 35px rgba(255, 153, 0, 0.5);
  transform: scale(1.05);
}

.circle-1 {
  background: url(images/landing/AWS.jpeg) center no-repeat;
  background-size: cover;
  background-clip: content-box;
  border: 0.5rem dotted #a14b1a;
  margin-left: -10rem;
}

.circle-2 {
  background: url(images/landing/AmazonBedrock.png) center no-repeat;
  background-size: cover;
  background-clip: content-box;
  border: 0.5rem dashed #ffbd07;
  margin-right: -10rem;
}

.circle-3 {
  background: url(images/landing/S3.jpg) center no-repeat;
  background-size: cover;
  background-clip: content-box;
  border: 1rem double #9b0e0e;
  margin-left: -10rem;
}

.circle-4 {
  background: url(images/landing/lambda.jpg) center no-repeat;
  background-size: cover;
  background-clip: content-box;
  border: 0.7rem double #fff;
  margin-right: -10rem;
}

.circle-5 {
  background: url(images/landing/CICD.jpg) center no-repeat;
  background-size: cover;
  background-clip: content-box;
  border: 0.7rem double #fff;
  margin-left: -10rem;
}

.circle-6 {
  background: url(images/landing/APIGateway.png) center no-repeat;
  background-size: cover;
  background-clip: content-box;
  border: 0.7rem double #fff;
  margin-right: -10rem;
}

.main-circle {
  width: 35rem;
  height: 35rem;
  position: absolute;
  overflow: hidden;
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 0 30px rgba(255, 153, 0, 0.3);
}

.main-circle:hover {
  width: 50rem;
  height: 50rem;
  box-shadow: 0 0 50px rgba(255, 153, 0, 0.6);
}

.main-circle img {
  mix-blend-mode: lighten;
  position: relative;
  top: 0;
  left: 0;
  transition: left 2s, top 2s;
}
/* End of Animated Circles */

/* Featured Text */
.featured-text {
  font-size: 2rem;
  color: #fff;
  text-transform: uppercase;
  width: 0;
  word-wrap: break-word;
  line-height: 3.5;
  position: sticky;
  top: 0;
}

.featured-text-1 {
  margin: 0 auto 0 10rem;
}

.featured-text-2 {
  margin: 0 10rem 0 auto;
}
/* End of Featured Text */

/* End of Section 1 */

/* Section 2 */
.section-2 {
  position: relative;
  padding: 10rem 10rem 15rem 10rem;
}

/* About Me Text */
.about-me-text {
  width: 80%;
  margin: auto;
}

.about-me-text span {
  font-family: "Poppins", sans-serif;
  font-size: 7.5rem;
  font-weight: bold;
  color: #aaa;
  letter-spacing: 0.5rem;
  line-height: 0.9;
  text-shadow: 0 0 1rem #9b0e0e;
  position: relative;
  mix-blend-mode: hard-light;
}

@keyframes aboutMeTextAnim {
  0% {
    color: #aaa;
    top: 0;
  }
  10%,
  90% {
    color: #fff;
    top: 2rem;
  }
  100% {
    color: #aaa;
    top: 0;
  }
}
/* End of About Me Text */

/* Section 2 Main Button */
.section-2 .main-btn {
  left: 50%;
  bottom: -5rem;
  transform: translateX(-50%);
}
/* End of Section 2 Main Button */
/* End of Section 2 */

/* Section 3 */
.section-3 {
  width: 100%;
  height: 100%;
  padding: 10rem 0;
  margin-top: 10rem;
  position: relative;
}

/* Projects */
.projects {
  flex-wrap: wrap;
  padding-bottom: 15rem;
}

.project {
  width: 40rem;
  height: 45rem;
  overflow: hidden;
  margin: 5rem;
  background-color: #000;
  display: flex;
  justify-content: center;
  position: relative;
  border: 0.2rem dotted #9b0e0e;
  border-radius: 0.5rem;
  cursor: pointer;
  perspective: 20rem;
  transition: opacity 0.5s;
}

.project img {
  width: 90%;
  object-fit: cover;
  position: absolute;
  top: 2rem;
  opacity: 0.5;
  pointer-events: none;
  transition: top 4s 0.2s, opacity 0.2s;
}

.project:nth-child(odd):hover img {
  animation: oddImgAnim 4s 0.2s;
  opacity: 1;
}

@keyframes oddImgAnim {
  0% {
    transform: rotateY(0);
  }
  25% {
    transform: rotateY(-2deg) rotateX(2deg);
  }
  50% {
    transform: rotateY(2deg) rotateX(-2deg);
  }
  100% {
    transform: rotateY(0);
  }
}

.project:nth-child(even):hover img {
  animation: evenImgAnim 4s 0.2s;
  opacity: 1;
}

@keyframes evenImgAnim {
  0% {
    transform: rotateY(0);
  }
  25% {
    transform: rotateY(2deg) rotateX(-2deg);
  }
  50% {
    transform: rotateY(-2deg) rotateX(2deg);
  }
  100% {
    transform: rotateY(0);
  }
}

/* Big Project Image */
.project-img-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: hidden scroll;
  z-index: 100;
  scroll-behavior: smooth;
  animation: imgWrapperAnim 1s forwards;
}

@keyframes imgWrapperAnim {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}

.project-img {
  width: 100%;
  border-radius: 0.5rem;
  padding: 7rem 20rem;
  opacity: 0.9;
  display: block;
  transform-origin: top center;
  animation: imgAnim 1s 1s both;
}

@keyframes imgAnim {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
/* End of Big Project Image */

/* Project Hide Button */
.project-hide-btn {
  position: fixed;
  top: 5rem;
  right: 5rem;
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  letter-spacing: 0.1rem;
  cursor: pointer;
  z-index: 200;
  transform: scale(0);
  visibility: hidden;
}

.change.project-hide-btn {
  transform: scale(1);
  visibility: visible;
  transition: transform 0.5s;
}
/* End of Project Hide Button */
/* End of Projects */

/* Projects Button */
.projects-btn {
  left: 50%;
  transform: translateX(-50%);
}

.projects-btn .main-btn-line {
  transition: all 0.5s;
}

.change > .main-btn-line:nth-child(1) {
  transform: rotateZ(45deg) translateX(-0.65rem);
}

.change > .main-btn-line:nth-child(2) {
  transform: rotateZ(-45deg) translateX(0.65rem);
}

.change > .main-btn-line:nth-child(3) {
  transform: rotateZ(90deg) translateX(-0.5rem);
  border-left: 0.1rem solid #fff;
  border-right: none;
}
/* End of Projects Button */
/* End of Section 3 */

/* Section 4 */
.section-4 {
  position: relative;
  width: 100%;
}

/* Services */
.services-wrapper {
  width: 100%;
  flex-direction: column;
}

.service {
  width: 70%;
  margin: 2rem 0;
  border-bottom: 0.5rem solid #9b0e0e;
}

.service-btn {
  width: 100%;
  position: relative;
  display: block;
  height: 15rem;
}

.service-btn span {
  font-family: "Poppins", sans-serif;
  font-size: 5rem;
  font-style: italic;
  font-weight: bold;
  color: #9b0e0e;
  position: absolute;
  right: 0;
  pointer-events: none;
  transition: right 0.5s;
}

.service-text {
  font-size: 3rem;
  color: #777;
  letter-spacing: 0.1rem;
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s;
}

.change.service-text {
  height: 15rem;
  visibility: visible;
  opacity: 1;
  transition: height 0.5s, opacity 0.5s 0.5s;
}
/* End of Services */
/* End of Section 4 */

/* Section 5 */
.section-5 {
  position: relative;
  height: 100vh;
  flex-direction: column;
}

/* Form */
.form-heading {
  font-family: "Poppins", sans-serif;
  font-size: 6rem;
  font-weight: 400;
  color: #9b0e0e;
  letter-spacing: 0.3rem;
  margin-bottom: 3rem;
  transition: opacity 0.3s;
}

.contact-form {
  flex-direction: column;
}

.contact-form-input {
  width: 60rem;
  padding: 0.5rem;
  margin: 1rem 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: 0.1rem solid #9b0e0e;
  font-size: 1.7rem;
  font-weight: bold;
  color: #aaa;
  letter-spacing: 0.1rem;
  height: 5rem;
}

.contact-form-textarea {
  height: 20rem;
  resize: none;
}

.form-submit-btn {
  width: 20rem;
  height: 5rem;
  background-color: #9b0e0e;
  border: none;
  align-self: flex-start;
  font-size: 1.8rem;
  color: #fff;
}

/* Form Validation */
.message {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f55e5e;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin: 0 auto 1rem 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.error.message {
  visibility: visible;
  opacity: 1;
}
/* End of Form Validation */
/* End of Form */

/* Slideshow */
.slideshow {
  display: flex;
  width: 40rem;
  margin-top: 10rem;
  padding: 0 2rem;
}

.slideshow-link {
  width: 20%;
  filter: brightness(0.5);
  transition: filter 1.5s;
}

.slideshow-link:nth-child(1),
.slideshow-link:nth-child(5) {
  transition: width 0.5s, opacity 0.5s;
}

.slideshow-link:nth-child(3) {
  transition: filter 0.5s;
}

.slideshow-link img {
  width: 100%;
  padding: 0 1rem;
}

.faded-out {
  opacity: 0;
  width: 0;
}

.light {
  filter: brightness(1.5);
}
/* End of Slideshow */
/* End of Section 5 */

/* Responsive */
@media (max-width: 1500px) {
  .circle {
    width: 15rem;
    height: 15rem;
  }

  .main-circle {
    width: 32rem;
    height: 32rem;
  }

  .main-circle:hover {
    width: 42rem;
    height: 42rem;
  }

  .main-circle img {
    width: 160%;
    height: 160%;
  }

  .about-me-text span {
    font-size: 11rem;
  }

  .section-4 {
    margin-bottom: 10rem;
  }

  .service-btn span {
    font-size: 9rem;
  }

  .service-text {
    font-size: 4rem;
  }
}

@media (max-width: 1350px) {
  .main-btn {
    width: 12.5rem;
    height: 12.5rem;
  }

  .circle {
    display: none;
  }

  .progress-bar {
    right: 1rem;
    bottom: 0;
  }

  .about-me-text span {
    font-size: 10rem;
  }
}

@media (max-width: 1150px) {
  html {
    font-size: 55%;
  }

  .mouse-circle,
  .mouse-dot {
    display: none;
  }

  .navbar {
    padding: 1rem 2rem;
  }

  .nav-brand {
    font-size: 1.6rem;
  }

  .brand-icon {
    font-size: 2rem;
  }

  .nav-main {
    gap: 0.3rem;
  }

  .nav-item {
    padding: 0.8rem 1rem;
  }

  .nav-icon-wrapper {
    width: 2.2rem;
    height: 2.2rem;
  }

  .nav-svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .nav-label {
    font-size: 1.1rem;
  }

  .social-link {
    padding: 0.8rem 1.2rem;
  }

  .social-icon-wrapper {
    width: 2.8rem;
    height: 2.8rem;
  }

  .social-svg {
    width: 1.6rem;
    height: 1.6rem;
  }

  .social-text {
    font-size: 1rem;
  }

  .main-circle {
    width: 30rem;
    height: 30rem;
  }

  .main-circle:hover {
    width: 38rem;
    height: 38rem;
  }

  .about-me-text span {
    font-size: 7.5rem;
  }

  .project-img {
    padding: 7rem 11rem;
  }

  .project-hide-btn {
    right: 2rem;
  }

  .service-btn {
    height: 12rem;
  }

  .service-btn span {
    font-size: 8rem;
  }

  .service-text {
    font-size: 3.5rem;
  }

  .slideshow {
    margin: 5rem 0;
  }
}

@media (max-width: 900px) {
  .menu-icon {
    right: -4rem;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-brand {
    font-size: 1.4rem;
  }

  .nav-main {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .nav-item {
    padding: 0.6rem 0.8rem;
  }

  .nav-icon-wrapper {
    width: 2rem;
    height: 2rem;
  }

  .nav-svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .nav-label {
    font-size: 1rem;
  }

  .nav-social {
    gap: 0.8rem;
  }

  .social-link {
    padding: 0.6rem 1rem;
  }

  .social-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
  }

  .social-svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .social-text {
    font-size: 0.9rem;
  }

  .featured-text-1 {
    margin: 0 auto 0 5rem;
  }

  .featured-text-2 {
    margin: 0 5rem 0 auto;
  }

  .section-heading {
    left: 5rem;
  }

  .about-me-text span {
    font-size: 5.5rem;
    color: #ccc;
  }

  .service-btn {
    height: 9rem;
  }

  .service-btn span {
    font-size: 6rem;
  }

  .service-text {
    font-size: 3.2rem;
  }
}

@media (max-width: 700px) {
  html {
    font-size: 50%;
  }

  .contact-form-input {
    width: 50rem;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 40%;
  }

  .main-circle img {
    width: 180%;
    height: 180%;
  }

  .service-btn span {
    font-size: 4.5rem;
  }

  .service-text {
    font-size: 3rem;
    color: #bbb;
  }

  .contact-form-input {
    width: 40rem;
  }

  .slideshow {
    width: 45rem;
  }

  .slideshow-link img {
    padding: 0 1.1rem;
  }
}

@media (max-width: 400px) {
  html {
    font-size: 35%;
  }

  .logo {
    font-size: 1.7rem;
    top: 13rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar {
    justify-content: center;
    padding: 0.8rem;
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-brand {
    font-size: 1.2rem;
  }

  .brand-text {
    display: none;
  }

  .nav-main {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
  }

  .nav-item {
    padding: 0.5rem;
  }

  .nav-label {
    display: none;
  }

  .nav-icon-wrapper {
    width: 3rem;
    height: 3rem;
  }

  .nav-svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .social-link {
    padding: 0.5rem 0.8rem;
  }

  .social-text {
    display: none;
  }

  .social-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
  }

  .social-svg {
    width: 1.4rem;
    height: 1.4rem;
  }

  .main-circle {
    width: 28rem;
  }

  .main-circle:hover {
    width: 35rem;
  }

  .main-circle img {
    width: 200%;
    height: 200%;
  }

  .form-heading {
    font-size: 5rem;
  }
}
/* End of Responsive */

/* Section QR */
.section-QR {
  width: 100%;
  height: 100%;
  padding: 2rem 0;
  position: relative;
}

/* Modern Navigation Active States */
.nav-item.active {
  background: rgba(255, 153, 0, 0.2) !important;
  transform: translateY(-2px);
}

.nav-item.active .nav-icon-wrapper {
  background: rgba(255, 153, 0, 0.4);
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
  animation: activeGlow 2s ease-in-out infinite alternate;
}

.nav-item.active .nav-svg {
  color: #fff;
  animation: activePulse 2s ease-in-out infinite;
}

.nav-item.active .nav-label {
  color: #ff9900;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 153, 0, 0.6);
}

@keyframes activeGlow {
  0% {
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.7);
  }
}

@keyframes activePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Smooth scroll offset for fixed navbar */
html {
  scroll-padding-top: 8rem;
}

/* Navbar scroll effect */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 153, 0, 0.5);
} /* R
ipple Animation */
@keyframes ripple {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* Additional Modern Effects */
.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff9900, #e85a4f);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 80%;
}

/* Brand animation enhancement */
.brand-text {
  background: linear-gradient(45deg, #ff9900, #fff, #ff9900);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brandGradient 3s ease-in-out infinite;
}

@keyframes brandGradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
} /* You
Tube-specific styling */
.social-link[href*="youtube.com"]:not([href*="playlist"]) {
  border-color: rgba(255, 68, 68, 0.3);
  background: rgba(255, 68, 68, 0.15);
}

.social-link[href*="youtube.com"]:not([href*="playlist"]) .social-icon-wrapper {
  background: rgba(255, 68, 68, 0.2);
}

.social-link[href*="youtube.com"]:not([href*="playlist"]) .social-svg {
  color: #ff4444;
}

.social-link[href*="youtube.com"]:not([href*="playlist"]):hover {
  border-color: #ff4444;
  box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
  background: rgba(255, 68, 68, 0.25);
}

.social-link[href*="youtube.com"]:not([href*="playlist"]):hover
  .social-icon-wrapper {
  background: rgba(255, 68, 68, 0.4);
}

.social-link[href*="youtube.com"]:not([href*="playlist"]):hover .social-text {
  color: #ff4444;
  text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.social-link[href*="youtube.com"]:not([href*="playlist"])::before {
  background: radial-gradient(circle, rgba(255, 68, 68, 0.3), transparent);
} /* Co
mmunity Banner */
.community-banner {
  position: absolute;
  top: 12rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.community-banner img {
  max-width: 60rem;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.community-banner:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.community-banner:hover img {
  box-shadow: 0 15px 40px rgba(255, 153, 0, 0.2);
}

/* Responsive banner */
@media (max-width: 1150px) {
  .community-banner img {
    max-width: 50rem;
  }
}

@media (max-width: 900px) {
  .community-banner {
    top: 10rem;
  }

  .community-banner img {
    max-width: 40rem;
  }
}

@media (max-width: 550px) {
  .community-banner img {
    max-width: 35rem;
  }
}

@media (max-width: 400px) {
  .community-banner {
    top: 8rem;
  }

  .community-banner img {
    max-width: 30rem;
  }
} /* 
Community Banner Watermark - Responsive */
@media (max-width: 1150px) {
  .page-bg {
    background-size: cover, 50rem auto, cover !important;
  }
}

@media (max-width: 900px) {
  .page-bg {
    background-size: cover, 40rem auto, cover !important;
  }
}

@media (max-width: 550px) {
  .page-bg {
    background-size: cover, 35rem auto, cover !important;
  }
}

@media (max-width: 400px) {
  .page-bg {
    background-size: cover, 30rem auto, cover !important;
  }
}
/* Hero Community Banner */
.hero-banner {
  position: absolute;
  top: 12rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  opacity: 0.75;
  transition: all 0.4s ease;
}

.hero-banner img {
  max-width: 30rem;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 153, 0, 0.15);
}

.hero-banner:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.hero-banner:hover img {
  box-shadow: 0 20px 50px rgba(255, 153, 0, 0.3);
  border-color: rgba(255, 153, 0, 0.4);
}

/* Hero Banner - Responsive */
@media (max-width: 1500px) {
  .hero-banner img {
    max-width: 28rem;
  }
}

@media (max-width: 1150px) {
  .hero-banner {
    top: 10rem;
  }

  .hero-banner img {
    max-width: 25rem;
  }
}

@media (max-width: 900px) {
  .hero-banner {
    top: 9rem;
  }

  .hero-banner img {
    max-width: 22rem;
  }
}

@media (max-width: 550px) {
  .hero-banner {
    top: 8rem;
  }

  .hero-banner img {
    max-width: 18rem;
  }
}

@media (max-width: 400px) {
  .hero-banner {
    top: 7rem;
  }

  .hero-banner img {
    max-width: 30rem;
  }
}
/* Mobile Optimization Enhancements */

/* Ensure touch targets are large enough */
@media (max-width: 768px) {
  .nav-item, .social-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve text readability on mobile */
  .about-me-text {
    width: 95%;
    padding: 0 1rem;
  }
  
  /* Better spacing for mobile */
  .section-1 {
    padding-top: 6rem;
  }
  
  /* Optimize hero banner for mobile */
  .hero-banner {
    top: 8rem;
  }
  
  /* Ensure projects are mobile-friendly */
  .project {
    width: 90%;
    margin: 2rem auto;
  }
  
  /* Mobile-friendly contact form */
  .contact-form-input {
    width: 90%;
    max-width: 40rem;
  }
  
  /* Better mobile navigation spacing */
  .navbar {
    padding: 1rem 0.5rem;
  }
}

/* Extra small devices */
@media (max-width: 320px) {
  html {
    font-size: 32%;
  }
  
  .hero-banner {
    top: 7rem;
  }
  
  .hero-banner img {
    max-width: 16rem;
  }
  
  .main-circle {
    width: 25rem;
  }
  
  .main-circle:hover {
    width: 30rem;
  }
  
  .navbar {
    padding: 0.5rem;
  }
  
  .nav-item {
    padding: 0.4rem;
  }
  
  .contact-form-input {
    width: 95%;
  }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-banner {
    top: 6rem;
  }
  
  .hero-banner img {
    max-width: 20rem;
  }
  
  .section-1 {
    padding-top: 4rem;
  }
  
  .main-circle {
    width: 25rem;
  }
  
  .main-circle:hover {
    width: 30rem;
  }
}/* Pe
rformance optimizations for mobile */
@media (max-width: 768px) {
  /* Reduce animations on mobile for better performance */
  .circle {
    transition: all 1s ease;
  }
  
  .main-circle img {
    transition: left 1s, top 1s;
  }
  
  /* Optimize hover effects for touch devices */
  @media (hover: none) {
    .nav-item:hover,
    .social-link:hover,
    .main-circle:hover,
    .circle:hover {
      transform: none;
    }
    
    .nav-item:active,
    .social-link:active {
      transform: scale(0.95);
    }
  }
}