/* Import Fonts */
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap");

/* Reset and Base Styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  scroll-behavior: smooth;
}

:root {
  /* Modern Color Palette */
  --primary-color: #8a2be2; /* Vibrant purple */
  --primary-light: #b15eff;
  --primary-dark: #6a1cb0;
  --secondary-color: #00d4b1; /* Teal accent */
  --secondary-light: #4eecd0;
  --secondary-dark: #00a389;
  --accent-color: #ff6b6b; /* Coral accent */

  /* Background Colors */
  --bg-color: #121212; /* Dark background */
  --bg-gradient: linear-gradient(135deg, #121212, #1e1e1e);
  --second-bg-color: #1e1e1e;
  --card-bg: #252525;
  --card-hover: #2d2d2d;

  /* Text Colors */
  --text-color: #ffffff;
  --text-light: #f0f0f0;
  --text-muted: #b0b0b0;
  --text-dark: #808080;

  /* Font Sizes */
  --big-font: 4.5rem;
  --h2-font: 2.8rem;
  --h3-font: 1.5rem;
  --p-font: 1.1rem;

  /* Other Variables */
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --border-radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-gradient);
  color: var(--text-color);
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

section {
  padding: 100px 10%;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--second-bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Header Styles */
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10%;
  background: rgba(18, 18, 18, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

header.sticky {
  padding: 15px 10%;
  background: rgba(18, 18, 18, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 1px;
}

.logo span {
  color: var(--primary-color);
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navlist {
  display: flex;
}

.navlist a {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 25px;
  transition: var(--transition);
  position: relative;
}

.navlist a:hover,
.navlist a.active {
  color: var(--primary-light);
}

.navlist a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  left: 0;
  bottom: -5px;
  transition: var(--transition);
}

.navlist a:hover::after,
.navlist a.active::after {
  width: 100%;
}

#menu-icon {
  font-size: 35px;
  color: var(--text-color);
  cursor: pointer;
  display: none;
}

/* Home Section */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.home::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(138, 43, 226, 0.1), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(0, 212, 177, 0.1), transparent 40%);
  z-index: -1;
}

.home-content {
  flex: 1;
}

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

.img-box {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: float 6s ease-in-out infinite;
}

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

.img-box img {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 5px solid transparent;
  background: linear-gradient(var(--bg-color), var(--bg-color)) padding-box,
    linear-gradient(to right, var(--primary-color), var(--secondary-color)) border-box;
  object-fit: cover;
  filter: drop-shadow(0 10px 20px rgba(138, 43, 226, 0.3));
}

.circle-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid var(--primary-color);
  border-right: 5px solid var(--secondary-color);
  animation: circleRotate 8s linear infinite;
}

@keyframes circleRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.slide {
  margin-bottom: 20px;
}

.one {
  display: inline-block;
  margin-right: 15px;
  padding: 0 15px;
  line-height: 32px;
  font-size: 20px;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  color: var(--text-color);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.two {
  display: inline-block;
  color: var(--text-light);
  font-size: 20px;
  font-weight: 500;
}

.home-text h1 {
  font-size: var(--big-font);
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.1;
  margin: 0 0 8px;
  background: linear-gradient(to right, var(--text-color), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.home-text h3 {
  color: var(--text-color);
  margin: 0 0 35px;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

.home-text h3 span {
  color: var(--primary-color);
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-text p {
  color: var(--text-muted);
  font-size: var(--p-font);
  line-height: 1.8;
  margin-bottom: 40px;
}

.button {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  border-radius: var(--border-radius-sm);
  color: var(--text-color);
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--secondary-color), var(--secondary-light));
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-color);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: var(--border-radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
  color: var(--text-color);
  transition: var(--transition);
  box-shadow: 0 5px 10px rgba(138, 43, 226, 0.2);
}

.btn-small:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(138, 43, 226, 0.3);
}

.btn-secondary{
    
}
/* About Section */
.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 4rem;
  background: var(--second-bg-color);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 10%, rgba(0, 212, 177, 0.1), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(138, 43, 226, 0.1), transparent 40%);
  z-index: 0;
}

.about-img {
  position: relative;
  z-index: 1;
}

.about-img img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 3px solid transparent;
  background: linear-gradient(var(--second-bg-color), var(--second-bg-color)) padding-box,
    linear-gradient(to right, var(--primary-color), var(--secondary-color)) border-box;
}

.about-img::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 5px solid var(--primary-color);
  border-left: 5px solid var(--primary-color);
  z-index: -1;
  border-radius: 10px 0 0 0;
}

.about-img::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-bottom: 5px solid var(--secondary-color);
  border-right: 5px solid var(--secondary-color);
  z-index: -1;
  border-radius: 0 0 10px 0;
}

.about-img img:hover {
  transform: scale(1.02);
}

.about-text {
  position: relative;
  z-index: 1;
}

.about-text h2 {
  font-size: var(--h2-font);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-text h2 span {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text h4 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  font-size: var(--p-font);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Skills */
.skills {
  margin-bottom: 30px;
}

.skills h3 {
  font-size: var(--h3-font);
  margin-bottom: 20px;
  color: var(--text-light);
  position: relative;
  display: inline-block;
}

.skills h3::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  left: 0;
  bottom: -8px;
  border-radius: 10px;
}

.skill-bars .bar {
  margin: 25px 0;
}

.skill-bars .bar .info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-bars .bar .info span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.skill-bars .bar .progress-line {
  position: relative;
  height: 10px;
  width: 100%;
  background: var(--card-bg);
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
  overflow: hidden;
}

.skill-bars .bar .progress-line span {
  position: absolute;
  height: 100%;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}

.progress-line.html span {
  width: 90%;
}

.progress-line.css span {
  width: 85%;
}

.progress-line.js span {
  width: 75%;
}

.progress-line.java span {
  width: 80%;
}

.progress-line span::before {
  position: absolute;
  content: "";
  right: 0;
  top: -10px;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-bottom-width: 0;
  border-right-width: 0;
  border-top-color: var(--primary-dark);
}

.progress-line span::after {
  position: absolute;
  right: 0;
  top: -28px;
  color: var(--text-color);
  font-size: 12px;
  font-weight: 500;
  background: var(--primary-color);
  padding: 1px 8px;
  border-radius: 3px;
}

.progress-line.html span::after {
  content: "90%";
}

.progress-line.css span::after {
  content: "85%";
}

.progress-line.js span::after {
  content: "75%";
}

.progress-line.java span::after {
  content: "80%";
}

/* Education Section */
.education {
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.education::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(138, 43, 226, 0.1), transparent 40%);
  z-index: 0;
}

.main-text {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.main-text h2 {
  font-size: var(--h2-font);
  line-height: 1;
  margin-bottom: 15px;
}

.main-text h2 span {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 10px;
}

.container {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.left-container {
  left: 0;
}

.right-container {
  left: 50%;
}

.text-box {
  padding: 20px 30px;
  background: var(--card-bg);
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.right-container .text-box {
  border-left: none;
  border-right: 4px solid var(--secondary-color);
}

.text-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.left-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  right: -15px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid var(--card-bg);
  z-index: 1;
}

.right-container-arrow {
  height: 0;
  width: 0;
  position: absolute;
  top: 28px;
  left: -15px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid var(--card-bg);
  z-index: 1;
}

.container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 25px;
  z-index: 1;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.left-container::after {
  right: -13px;
}

.right-container::after {
  left: -13px;
  background: var(--secondary-color);
  box-shadow: 0 0 10px rgba(0, 212, 177, 0.5);
}

.text-box h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.text-box small {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--primary-light);
  font-weight: 500;
}

.right-container .text-box small {
  color: var(--secondary-light);
}

.text-box p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Projects Section */
.projects {
  background: var(--second-bg-color);
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 90%, rgba(138, 43, 226, 0.1), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(0, 212, 177, 0.1), transparent 40%);
  z-index: 0;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.project-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  z-index: 2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: var(--card-hover);
}

.project-img {
  overflow: hidden;
  position: relative;
}

.project-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-img::after {
  opacity: 1;
}

.project-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-content {
  padding: 25px;
}

.project-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.project-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.project-tags span {
  background: rgba(138, 43, 226, 0.1);
  color: var(--primary-light);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  transition: var(--transition);
}

.project-tags span:nth-child(even) {
  background: rgba(0, 212, 177, 0.1);
  color: var(--secondary-light);
}

.project-tags span:hover {
  background: var(--primary-color);
  color: var(--text-color);
}

.project-tags span:nth-child(even):hover {
  background: var(--secondary-color);
}

.project-links {
  display: flex;
  gap: 15px;
}

/* Certifications Section */
.certifications {
  background: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.certifications::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 90% 90%, rgba(0, 212, 177, 0.1), transparent 40%);
  z-index: 0;
}

.certifications-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 1;
}

.cert-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
}

.cert-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.cert-card:hover::after {
  transform: scaleX(1);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: var(--card-hover);
}

.cert-img {
  overflow: hidden;
  position: relative;
}

.cert-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(138, 43, 226, 0.5), rgba(0, 212, 177, 0.5));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.cert-card:hover .cert-img::before {
  opacity: 0.7;
}

.cert-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition);
}

.cert-card:hover .cert-img img {
  transform: scale(1.1);
}

.cert-content {
  padding: 20px;
}

.cert-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
}

.cert-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 3px;
}

.cert-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

.cert-link:hover {
  color: var(--secondary-light);
}

.cert-link:hover::after {
  width: 100%;
}

.cert-link:hover {
  gap: 8px;
}

/* Contact Section */
.contact {
  background: var(--second-bg-color);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 10%, rgba(138, 43, 226, 0.1), transparent 40%);
  z-index: 0;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  position: relative;
  z-index: 1;
}

.contact-text h2 {
  font-size: var(--h2-font);
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-text h2 span {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-text h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 15px;
}

.contact-text p {
  color: var(--text-muted);
  font-size: var(--p-font);
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--card-bg);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(5px);
  background: var(--card-hover);
}

.contact-item i {
  font-size: 25px;
  color: var(--primary-color);
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-item h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-socials {
  display: flex;
  gap: 15px;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--card-bg);
  color: var(--text-color);
  border-radius: 50%;
  font-size: 22px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-socials a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.contact-socials a:hover::before {
  opacity: 1;
}

.contact-socials a:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-form form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form form:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.contact-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.input-box {
  position: relative;
  margin-bottom: 20px;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-color);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  outline: none;
  font-size: 1rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.input-box textarea {
  resize: none;
  height: 150px;
}

.input-box input:focus,
.input-box textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

.input-box .focus {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transition: var(--transition);
}

.input-box input:focus ~ .focus,
.input-box textarea:focus ~ .focus {
  width: 100%;
}

.contact-form .btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
}

/* Footer */
footer {
  background: var(--bg-color);
  padding: 20px 10%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.top i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
  border-radius: 50%;
  font-size: 20px;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.top i:hover {
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
}

/* Project Upload Styling */
.upload-card {
  background: var(--card-bg);
  border: 2px dashed var(--primary-color);
  border-radius: var(--border-radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-card:hover {
  background: rgba(138, 43, 226, 0.05);
  transform: translateY(-5px);
}

.upload-content i {
  font-size: 50px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.upload-content h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.upload-content p {
  color: var(--text-muted);
}

.project-form {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-top: 20px;
  box-shadow: var(--card-shadow);
}

.project-form h3 {
  margin-bottom: 20px;
  text-align: center;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  background: var(--bg-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-sm);
  color: var(--text-color);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

.form-group textarea {
  height: 100px;
  resize: none;
}

.tag-input {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tag {
  background: rgba(138, 43, 226, 0.1);
  color: var(--primary-light);
  padding: 5px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.tag:hover {
  background: rgba(138, 43, 226, 0.2);
}

.tag i {
  cursor: pointer;
  font-size: 14px;
}

.preview-img {
  max-width: 100%;
  max-height: 200px;
  margin-top: 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
  :root {
    --big-font: 3.5rem;
    --h2-font: 2.5rem;
  }

  section {
    padding: 80px 5%;
  }

  header {
    padding: 15px 5%;
  }

  .home {
    flex-direction: column;
    text-align: center;
  }

  .home-text {
    margin-bottom: 40px;
  }

  .button {
    justify-content: center;
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-img {
    order: 1;
    margin-bottom: 30px;
  }

  .about-text {
    order: 2;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-text {
    margin-bottom: 40px;
  }
}

@media (max-width: 991px) {
  #menu-icon {
    display: block;
  }

  .navlist {
    position: absolute;
    top: -1000px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    padding: 20px 0;
    transition: all .45s ease;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .navlist a {
    display: block;
    margin: 15px 0;
    font-size: 20px;
  }

  .navlist.open {
    top: 100%;
  }

  .timeline::after {
    left: 31px;
  }

  .container {
    width: 100%;
    padding-left: 80px;
    padding-right: 25px;
  }

  .right-container {
    left: 0;
  }

  .left-container-arrow,
  .right-container-arrow {
    border-right: 15px solid var(--card-bg);
    border-left: 0;
    left: -15px;
  }

  .container::after {
    left: 15px;
  }
}

@media (max-width: 768px) {
  :root {
    --big-font: 3rem;
    --h2-font: 2.2rem;
    --p-font: 1rem;
  }

  .home-text h3 {
    font-size: 2.5rem;
  }

  .img-box {
    width: 300px;
    height: 300px;
  }

  .projects-container,
  .certifications-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --big-font: 2.5rem;
    --h2-font: 2rem;
  }

  .home-text h3 {
    font-size: 2rem;
  }

  .img-box {
    width: 250px;
    height: 250px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

.slide-right {
  animation: slideRight 1s ease forwards;
}

.slide-left {
  animation: slideLeft 1s ease forwards;
}

.zoom-in {
  animation: zoomIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0.7;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-color);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  transition: opacity 0.3s ease, transform 0.1s ease;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 5px solid var(--primary-color);
  border-right: 5px solid var(--secondary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  z-index: 1001;
  transition: width 0.2s ease;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.4);
}
