@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

/* Root Variables */
:root {
  --primary-color: #01b1f7;
  --text-color: #ffffff;
  --background-dark: #000000;
  --hover-bg: #0400ff;
  --hover-color: #000000;
  --font-family: 'Poppins', sans-serif;
}
/* Custom Scrollbar */
.container::-webkit-scrollbar {
  width: 8px;
}

.container::-webkit-scrollbar-thumb {
  background: linear-gradient(transparent, #ffffff);
  border-radius: 4px;
}

.container::-webkit-scrollbar-thumb:hover {
  background: var(--background-dark);
}

.container::-webkit-scrollbar-track {
  background: var(--background-dark);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: var(--font-family);
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: var(--background-dark);
  color: var(--text-color);
  animation: pageFadeIn 1.2s ease-in-out;
}

@keyframes pageFadeIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: var(--background-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.logo {
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.5s ease;
}
.logo:hover {
  transform: scale(1.1);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  font-size: 3rem;
  color: var(--text-color);
  cursor: pointer;
  z-index: 1001;
}

/* Navigation Menu */
nav {
  display: flex;
  align-items: center;
}

nav a {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  transform: scale(1.1);
}

/* Responsive Nav */
@media (max-width: 995px) {
  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 60%;
    background-color: var(--background-dark);
    flex-direction: column;
    padding: 2rem;
    display: none;
    border-left: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    border-bottom-left-radius: 1rem;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 2rem 0;
    font-size: 2rem;
    text-align: right;
  }
}

/* Section Padding */
section {
  min-height: 100vh;
  padding: 8rem 9% 5rem;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  padding-top: 4rem;
}

.home-content {
  flex: 1;
}

.home-content h1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-content h3 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.home-content p {
  font-size: 1.6rem;
  margin-top: 1.5rem;
}

span {
  color: var(--primary-color);
}

.home-img {
  flex: 1;
  max-width: 30rem;
  position: relative;
  border-radius: 5%;
  box-shadow: 0 0 25px var(--primary-color);
  overflow: hidden;
  background: linear-gradient(to right, var(--primary-color) 0%, transparent 50%);
}

.home-img img {
  width: 100%;
  height: auto;
  border-radius: 5%;
  object-fit: cover;
  display: block;
}

/* Social Icons */
.social-icons {
  margin-top: 2rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  border: 2px solid var(--text-color);
  border-radius: 50%;
  margin-right: 1rem;
  color: var(--text-color);
  font-size: 2rem;
  transition: 0.3s ease;
  box-shadow: 0 0 10px var(--primary-color);
}

.social-icons a:hover {
  transform: scale(1.2) translateY(-5px);
  background-color: var(--hover-bg);
  color: var(--hover-color);
}

/* Button */
.btn {
  margin-top: 2rem;
  display: inline-block;
  padding: 1rem 2.8rem;
  border-radius: 4rem;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
  cursor: pointer;
  transition: 0.3s ease;
}
.btn:hover {
  transform: scale(1.05);
  background-color: var(--hover-bg);
  color: var(--hover-color);
  box-shadow: 0 0 25px var(--primary-color);
}

/* Stars Canvas */
canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Floating Shapes */
.shapes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  color: var(--primary-color);
  font-weight: bold;
  opacity: 0.7;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.plus {
  font-size: 2.5rem;
  top: 10%;
  left: -10%;
  animation: float1 6s infinite;
}

.circle {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  top: 50%;
  right: -15%;
  animation: float2 8s infinite;
}

.cross {
  font-size: 2rem;
  left: calc(100% + 10px);
  bottom: 15%;
  animation: float3 7s infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -15px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 20px); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, -10px); }
}


.txt {
    text-align: center;
    font-size: x-large;
}

.about-section {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
  text-align: center;
  justify-content: space-between;
}

.bg-about {
  font-size: 140px;
  color: transparent; /* Remove fill */
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  letter-spacing: 10px;
  pointer-events: none;
}

.cv-button-wrapper {
  margin-top: 25px;
}

.cv-button {
  display: inline-block;
  padding: 12px 28px;
  background: rgb(41, 41, 41);
  color: white;
  font-weight: 600;
  font-size: 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(4, 0, 255, 0.3);
}

.cv-button:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(4, 0, 255, 0.5);
  background-color: #0000fe;
}

.cv-button:active {
  transform: scale(1.08);
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 340px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin: 80px;
}



.content-container {
  max-width: 1000px;
  text-align:center;
}

.content-container h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.highlight {
  color: var(--primary-color);
}

.content-container p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.features {
  list-style: none;
  padding: 0;
}

.features li {
  margin: 10px 0;
  font-size: 16px;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.stat-box {
  background: rgb(19, 19, 19);
  padding: 20px 30px;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  cursor: pointer;
}

.stat-box:hover {
  background: var(--hover-bg);
  color: white;
  transform: translateY(-5px);
}

.stat-box h3 {
  font-size: 28px;
  margin-bottom: 10px;
  position: relative;
}

.stat-box h3::after {
  content: "+";
  font-size: 18px;
  font-weight: bold;
  margin-left: 5px;
  position: relative;
  top: -2px;
}

.stat-box p {
  font-size: 14px;
  opacity: 0.8;
}


/* ==== RESPONSIVE CSS ==== */

@media (max-width: 1200px) {
  .content-wrapper {
    gap: 150px;
    margin: 50px 20px;
  }

  .content-container {
    max-width: 400px;
  }

  .profile-container {
    width: 220px;
    height: 220px;
  }

  .bg-about {
    font-size: 100px;
    letter-spacing: 5px;
    top: 15px;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    gap: 50px;
    margin: 40px 10px;
  }

  .content-container {
    max-width: 100%;
    text-align: center;
    padding: 0 15px;
  }

  .profile-container {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .bg-about {
    font-size: 80px;
    letter-spacing: 4px;
    top: 10px;
  }
}

@media (max-width: 480px) {
  .txt {
    font-size: large;
  }

  .content-container h2 {
    font-size: 24px;
  }

  .content-container p,
  .features li {
    font-size: 14px;
  }

  .cv-button {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
  }

  .profile-container {
    width: 150px;
    height: 150px;
  }

  .bg-about {
    font-size: 60px;
    letter-spacing: 2px;
    top: 5px;
  }
}



/* skill */




.skills-section {
  width: 100%;
  padding: 50px 0;
}

.container {
  width: 100%;
  padding: 0 40px;
  text-align: center;
}

h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

h2 span {
  color: rgb(8, 0, 255);
}

.container p {
  color: #ccc;
  margin-bottom: 50px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 60px;
}

.skill {
  background: #1c1c1c;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  
   transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 0, 255, 0.3); /* Blue soft glow */
  transition: 0.3s ease-in-out;
}

.skill:hover {
  transform: translateY(-5px);
}

.skill i {
  font-size: 40px;
  color: rgb(0, 13, 255);
  margin-bottom: 15px;
}

.skill h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.progress-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  background: #333;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0%; /* ✅ START FROM ZERO */
  background: rgb(21, 0, 255); /* ✅ COLOR FILLED */
  transition: width 1.5s ease-in-out; /* ✅ SMOOTH ANIMATION */
}

.percent-text {
  font-size: 14px;
  color: rgb(255, 255, 255);
  min-width: 35px;
  text-align: right;
}

/* Responsive */
@media (max-width: 992px) {
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .skills {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 20px;
  }
}







/* project section */

.project-section {
  padding: 140px 20px;
  text-align: center;
}

.project-section h1 {
  font-size:xx-large;
  margin-bottom: 20px;
}

.project-section h1 span {
  color: white;
}

.project-section h1 strong {
  color: #0000ff;
}

/* Filter Buttons */
.filter-buttons {
  margin-bottom: 30px;
}

.filter-buttons button {
  background: none;
  border: none;
  color: white;
  font-size: 15px;
  margin: 0 10px;
  padding: 10px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  border-bottom: 2px solid #0026ff;
}

/* Project Gallery Layout */
.project-gallery {
  display: none; /* Hidden by default */
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

.project-gallery.active {
  display: flex; /* Show selected category */
}

/* Project Cards */
.project-card {
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a3b;
  padding: 5px;
  transition: 0.3s ease-in-out;
}

.project-card img,
.project-card video {
  display: block;
  max-width: 100%;
  height: auto;
}

.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgb(0, 38, 255);
}


/* clients */


.text1{
  text-align: center;
  font-size: xx-large;
  

}

.scroll-container {
  width: 100vw;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 70px;
  height: 140px;
  position: relative;
  
}

.scroll-content {
  display: inline-flex;
  width: max-content;  /* Important */
  animation: scroll-left 90s linear infinite;
}

.scroll-content.reverse {
  animation: scroll-right 90s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Because content is duplicated */
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.client-box {
  width: 200px;
  height: 130px;
  background-color: #1a1a1a;
  margin: 15px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.4s ease;
  flex-shrink: 0;
  flex-grow: 0;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(61, 89, 255, 0.3));
}

.client-box:hover {
  transform: scale(1.1) rotate(1deg);
  box-shadow: 0 15px 30px rgba(61, 89, 255, 0.8);
  filter: drop-shadow(0 8px 15px rgba(61, 89, 255, 0.7));
}

/* Image fit & smooth */
.client-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.client-box:hover img {
  transform: scale(1.05);
}

:root {
  --primary-color: #0400ff;
  --text-color: #ffffff;
  --background-dark: #020617;
  --hover-bg: #1100ff;
  --hover-color: #000000;
  --font-family: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-family);
background-color: var(--background-dark);
  margin: 0;
  padding: 0;
  color: #ffffff;
}

.testimonial {
  max-width: 900px;
  margin: 80px auto;
  margin-top: 140px;
  text-align: center;
  padding: 0 20px;
}

.testimonial h1 {
  letter-spacing: 2px;
  font-size: xx-large;
 
}

.testimonial h2 {
  font-size: 2rem;
  margin: 5px 0;
  color: white;
}

.subtext {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #ffffff;
}

.testimonial-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: none;
  position: relative;
}


.testimonial-card {
  flex: 0 0 280px;
  background: white;
  border-radius: 15px;
  padding: 70px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgb(17, 0, 255); /* subtle shadow */
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  color: #222;
  position: relative;
  z-index: 1;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(2, 49, 255, 0.2); /* stronger shadow */
  border: 2px solid var(--primary-color);
  z-index: 10;
}
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(0, 17, 255, 0.978);
  border: 2px solid var(--primary-color);
  z-index: 10;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid var(--primary-color);
}

.testimonial-card h3 {
  margin: 10px 0 5px;
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-card span {
  font-size: 0.9rem;
  color: #777;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.4);
}
/* clients */

/* ========== CONTACT SECTION ========== */
.contact {
  padding: 100px 80px;
  background-color: var(--background-dark);
  color: var(--text-color);
  font-family: var(--font-family);
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-info {
  max-width: 45%;
}

.contact-info h2 {
  font-size: 36px;
  color: var(--text-color);
  margin-bottom: 20px;
}

.contact-info h2 span {
  color: var(--primary-color);
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff; /* no variable available for this, keeping as-is */
}

.contact-info p strong {
  color: var(--text-color);
}

.social-links a {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--hover-bg);
}

.contact-form {
  max-width: 45%;
  width: 100%;
 
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  background-color: #161616; /* keeping it fixed */
  color:rgb(255, 255, 255);
  font-size: 16px;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

.contact-form .btn {
  width: 100%;
  padding: 15px 20px;
  background-color: rgb(35, 35, 35);
  color:rgb(255, 255, 255);
  border: none;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
   box-shadow: 0 6px 15px rgba(0, 21, 254, 0.4);
transition: all 0.4s ease;
}

.contact-form .btn:hover {
  background-color: var(--hover-bg);
}

.social-links {
  display: flex;
  gap: 15px;
  /* justify-content: center;
  align-items: center; */
  margin-top: 20px;
}
.social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0000fe, #5b5ea6);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(0, 254, 186, 0.4); /* Base shadow */
  position: relative;
}

.social-links a:hover {
  background: linear-gradient(135deg, #0400ff, #7873f5);
  transform: scale(1.15);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 21, 255, 0.714), 0 0 15px rgba(120, 115, 245, 0.6); /* Glow on hover */
}

.copyright {
  text-align: center;
  margin-bottom: 50px;
  font-size: 14px;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .contact {
    padding: 80px 40px;
  }

  .contact-content {
    flex-direction: column;
    gap: 40px;
  }

  .contact-info,
  .contact-form {
    max-width: 100%;
  }

  .contact-info h2 {
    font-size: 30px;
  }

  .contact-form .btn {
    font-size: 16px;
    padding: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 20px;
  }

  .contact-info h2 {
    font-size: 26px;
  }

  .contact-info p {
    font-size: 14px;
  }

  .contact-form .btn {
    font-size: 15px;
    padding: 12px;
  }

  .social-links a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 50px 15px;
  }

  .contact-info h2 {
    font-size: 22px;
  }

  .contact-info p,
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form .btn {
    font-size: 14px;
    padding: 10px;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 16px;
    margin: 5px;
  }

  .copyright {
    font-size: 12px;
    margin-top: 30px;
  }
}
