/* ===== RESET AND BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --primary: #6c63ff;
  --secondary: #4d44e7;
  --dark: #1a1a2e;
  --light: #f9f9f9;
  --gray: #777777;
  --light-gray: #e6e6e6;
  --success: #4caf50;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(108, 99, 255, 0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: all 0.1s ease;
  z-index: 9999;
  display: none;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-text {
  color: var(--light);
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.2rem;
}

.progress-bar {
  width: 300px;
  height: 5px;
  background-color: var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  height: 100%;
  width: 0;
  background-color: var(--primary);
  border-radius: 10px;
}

/* =====nav bar====== */
.navbar-brand {
  font-size: 30px;
  margin-left: 10px;
  font-weight: 600;
}
.navbar-brand:hover {
  color: #4caf50;
}
.navbar {
  background-color: #fff;
  height: 65px;
  margin: 10px;
  border-radius: 15px;
  padding: 0.5rem;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}
.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}
.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}
.nav-link {
  color: #666777;
  font-weight: 500;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: #000;
}
@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-link:hover:before,
  .nav-link.active::before {
    width: 100%;
    visibility: visible;
  }
}
/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
}

.hero-content {
  max-width: 600px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.highlight {
  display: inline-block;
  font-weight: 700;

  font-size: 55px;

  text-align: center;
  background: linear-gradient(
    to right,
    #d38312,
    #a83279,
    #487bff,
    #a83279,
    #d38312
  );
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}
.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  /* background-color: rgba(108, 99, 255, 0.2); */
  z-index: -1;
}

.typewriter {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  height: 2rem;
  color: var(--gray);
}

.cursor-blink {
  animation: blink 0.9s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-btn.primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.cta-btn.secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta-btn.primary:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.6);
}

.cta-btn.secondary:hover {
  background-color: rgba(108, 99, 255, 0.1);
  transform: translateY(-3px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.profile-card {
  width: 350px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transform: rotate(5deg);
  transition: var(--transition);
}

.profile-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.profile-image {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background-color: var(--light-gray);
  margin: 0 auto 1.5rem;
  background-image: url("Snapchat-689779493.jpg");
  background-size: cover;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-stats {
  display: flex;
  justify-content: space-between;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-align: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* ===== SECTION COMMON STYLES ===== */
section {
  padding: 6rem 10%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-line {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  margin: 0 auto;
  border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: white;
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.personal-info {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-weight: 600;
  color: var(--dark);
}

.info-value {
  color: var(--gray);
}

.download-cv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.download-cv:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.about-image {
  flex: 1;
  position: relative;
}

.floating-image {
  width: 300px;
  height: 400px;
  background-color: var(--light-gray);
  border-radius: 20px;
  background-image: url("dp.jpeg.jpg");
  background-size: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-40px);
  }
}

.experience-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 250px;
  background-color: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.exp-header {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.exp-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.exp-item i {
  color: var(--success);
}

/* ===== SKILLS SECTION ===== */
.skills {
  background-color: #f9f9f9;
}

.skills-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.skills-category h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--dark);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background-color: white;
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  cursor: pointer;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 1);
}
/* Continuing from where we left off with the skills section */
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  font-size: 2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 12px;
}

.skill-info {
  flex: 1;
}

.skill-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.skill-bar {
  height: 6px;
  background-color: var(--light-gray);
  border-radius: 3px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 3px;
  width: 0;
  transition: width 1s ease-in-out;
}

.soft-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.soft-skill {
  padding: 0.8rem 1.5rem;
  background-color: white;
  border-radius: 50px;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.soft-skill:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== EDUCATION SECTION ===== */
.education {
  background-color: white;
}

.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: var(--light-gray);
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.cllgpic {
  height: 200px;
  width: 400px;
  border-radius: 3%;
  background-image: url(cllg.jpeg);
  background-size: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.timeline-date {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--primary);
  color: white;
  border-radius: 20px;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  margin-bottom: 0.8rem;
  font-size: 2rem;
}

.timeline-place {
  color: var(--gray);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0.1rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
  background-color: #f9f9f9;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background-color: white;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image1 {
  height: 200px;
  background-color: var(--light-gray);
  background-image: url(loading.gif);
  background-size: cover;
  background-repeat: no-repeat;
}
.project-image2 {
  height: 200px;
  background-color: var(--light-gray);
  background-image: url(dash.png);
  background-size: cover;
}
.project-image3 {
  height: 200px;
  background-color: var(--light-gray);
  background-image: url(portfolio.png);
  background-size: cover;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.project-content p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tech span {
  padding: 0.3rem 0.8rem;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  font-size: 0.9rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.project-link:hover {
  color: var(--secondary);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: white;
}

.contact-content {
  display: flex;
  gap: 4rem;
}

.contact-info {
  flex: 1;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
    rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
  padding-left: 30px;
  padding-top: 50px;
  border-radius: 15px;
}

.contact-heading {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-description {
  color: var(--gray);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-detail {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  color: var(--dark);
}

.contact-value {
  color: var(--gray);
}

.contact-form {
  flex: 1;
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
    rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.form-group {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.submit-btn {
  padding: 0.8rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--secondary);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 10%;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}
.bitmoji i {
  font-size: 80px;
}
.bitmoji i:hover {
  color: #4caf50;
}
.footer-icon:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.footer-links a {
  color: rgba(156, 156, 172, 0.7);
  transition: var(--transition);
  padding: 8px;
}

.footer-links a:hover {
  color: white;
}
.credits i {
  color: red;
  font-size: 15px;
}
.credits {
  font-size: 15px;
  margin-top: 15px;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 6rem 5% 3rem;
    height: auto;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .about-content {
    flex-direction: column;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item::before {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 60px);
    left: 60px !important;
    flex-direction: column;
  }

  .timeline-item:nth-child(odd) .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    right: auto;
  }

  .contact-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .typewriter {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .profile-card {
    width: 100%;
  }

  .skill-card {
    flex-direction: column;
    text-align: center;
  }

  .project-filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 100%;
    max-width: 200px;
  }
  .cllgpic {
    width: 200px;
    height: 150px;
  }
  .soft-skills {
    flex-direction: column;
  }
}
