:root {
  --primary: #ffffff;
  --secondary: #6c5ce7;
  --accent: #ff7675;
  --background: #210f37;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

p {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

h3 {
  font-weight: 400;
}

h4 {
  font-size: 17px;
  font-weight: 400;
}

body {
  background: var(--background);
  color: var(--primary);
}

/* Existing Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background: rgba(33, 15, 55, 0.97);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.nav-brand {
  color: var(--secondary);
  color: #6C5CE7;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.nav-brand::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60%;
  height: 2px;
  background: var(--secondary);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.nav-brand:hover::after {
  width: 100%;
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Burger Menu Styles */
.burger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: #6C5CE7;
  transition: all 0.3s ease;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 70%;
      background: rgba(33, 15, 55, 0.98);
      flex-direction: column;
      padding: 8rem 2rem;
      transition: right 0.3s ease-in-out;
      box-shadow: -2px 0 15px rgba(0,0,0,0.2);
  }

  .nav-links.active {
      right: 0;
  }

  .burger-menu {
      display: block;
  }

  .burger-menu.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
  }

  .burger-menu.active .bar:nth-child(2) {
      opacity: 0;
  }

  .burger-menu.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links a {
      width: 100%;
      text-align: center;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

/* Tablet Styles (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
      gap: 1.5rem;
  }
  
  .nav-links a {
      font-size: 0.9rem;
  }
}

/* Hero Section */
.hero {
  padding: 180px 5% 100px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  line-height: 1.1;
  animation: slideUp 0.8s ease;
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 3rem;
  animation: slideUp 0.8s 0.2s ease backwards;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.skill-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.skill-progress {
  height: 8px;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-progress-bar {
  height: 100%;
  background: var(--secondary);
  transition: width 0.8s ease;
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
}

/* Stats Section */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 4rem 5%;
  text-align: center;
}

.stat-box {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  min-width: 200px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Services Section */

.services {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #6c5ce7, #ff7675);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.services-h {
  font-weight: 400;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

#icon {
  font-size: 30px;
  padding-bottom: 15px;
  color: #6C5CE7;
  background: transparent;
}


.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem 5%;
  }

  .nav-links {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .stats-container {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .nav-brand {
    margin-bottom: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    padding: 150px 5% 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Modified Width Styles */
.projects {
  padding: 6rem 0;
  background: #210F37;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-container {
  width: 80%;
  max-width: 1440px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Rest of the styles remain the same */
.project-gallery {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 15px 15px 0 0;
}

.gallery-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  height: 100%;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}


.gallery-container img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(108, 92, 231, 0.7);
  border: none;
  color: white;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.scroll-btn.left { left: 1rem; }
.scroll-btn.right { right: 1rem; }

.project-gallery:hover .scroll-btn {
  opacity: 1;
}

/* Hide scrollbar */
.gallery-container::-webkit-scrollbar {
  display: none;
}

.project-card {
  background: rgba(255,255,255,0.05);
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  margin: 1rem;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(108,92,231,0.2);
}

.project-content {
  padding: 1.5rem;
}

.tech {
  background: rgba(108,92,231,0.15);
  color: #6C5CE7;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.live-demo, .source-code {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.live-demo {
  background: #6C5CE7;
  color: white;
}

.live-demo:hover {
  background: rgba(255,255,255,0.1);
  color: #6C5CE7;
  border: 0.5px solid #6C5CE7;
  transition: 1s;
}



@media (max-width: 768px) {
  .project-gallery {
      height: 250px;
  }
  
  .scroll-btn {
      opacity: 1;
      background: rgba(108, 92, 231, 0.9);
  }
  
  .project-links {
      flex-direction: column;
  }
  
  .live-demo, .source-code {
      width: 100%;
      text-align: center;
  }
}

@media (max-width: 768px) {
  .projects-container {
      width: 90%;
  }
  
  .projects-grid {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .projects-container {
      width: 95%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.tech-stack span {
  background: rgba(108, 92, 231, 0.15);
  color: #6c5ce7;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(108, 92, 231, 0.3);
}

.service-icon {
  background: rgba(108, 92, 231, 0.1) !important;
}

.service-icon i {
  color: #6c5ce7 !important;
}

.skills {
  padding: 8rem 5%;
  background: #210f37;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #6c5ce7, #ff7675);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.skill-header i {
  font-size: 1.8rem;
  color: #6c5ce7;
  background: rgba(108, 92, 231, 0.1);
  padding: 1rem;
  border-radius: 12px;
}

.skill-header h3 {
  color: #fff;
  font-size: 1.5rem;
}

.skill-progress {
  height: fit-content;
  margin-bottom: 1.5rem;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.progress-bar {
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 20px;
  background: #6c5ce7;
  border-radius: 6px;
  width: 0;
  transition: width 1s ease-in-out;
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.3);
}

@media (max-width: 768px) {
  .skills-container {
    grid-template-columns: 1fr;
  }

  .skill-card {
    padding: 1.5rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }
}

.testimonials {
  padding: 6rem 5%;
  background: #210f37;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2);
}

.quote-icon {
  color: #6c5ce7;
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.client-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #6c5ce7;
}

.client-details h4 {
  color: #fff;
  margin-bottom: 0.3rem;
}

.client-details p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.rating {
  color: #ffd700;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

/* .contact {
  padding: 6rem 5%;
  background: #210f37;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(108,92,231,0.2);
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input-group {
  position: relative;
  margin-bottom: 2rem;
}

.input-group label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  transition: all 0.3s ease;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.2);
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group select:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
  transform: translateY(-2.4rem) scale(0.9);
  color: #6c5ce7;
  font-size: 16px;
  font-weight: 600;
}

.input-group option {
  color: #fff;
  background-color: #210f37;
  font-size: medium;
}

.submit-btn {
  background: #6c5ce7;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: transparent;
  border-color: #6c5ce7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(108,92,231,0.2);
}

.info-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(108, 92, 231, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c5ce7;
  font-size: 1.2rem;
}

.info-content h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.info-content a,
.info-content p {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: #6c5ce7;
}*/

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
}

.social-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #6c5ce7;
  transform: translateY(-3px);
} 

/* @media (max-width: 768px) { 
  .contact-container {
    grid-template-columns: 1fr;
  }

  .form-group {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
}*/ 

.hire-me {
  padding: 8rem 5%;
  background: #210f37;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-container {
  max-width: 1100px;
  margin: 0 auto;
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(108,92,231,0.2);
}

.cta-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-item {
  background: rgba(108, 92, 231, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(108, 92, 231, 0.2);
}

.stat-number {
  color: #6c5ce7;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.cta-btn {
  background: #6c5ce7;
  color: #fff;
  padding: 1.25rem 2.5rem;
  border-radius: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-btn:hover {
  background: transparent;
  border-color: #6c5ce7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.cta-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gradient-circle {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(108, 92, 231, 0.2) 0%,
    transparent 60%
  );
  position: absolute;
  animation: pulse 6s infinite;
}

.cta-image {
  height: 100%;
  max-height: 300px;
  width: 100%;
  max-width: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(108,92,231,0.2);
}


@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

@media (max-width: 768px) {
  .cta-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .cta-content h3 {
    font-size: 2rem;
  }

  .cta-stats {
    grid-template-columns: 1fr;
  }

  .final-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .gradient-circle {
    width: 300px;
    height: 300px;
  }
}
