:root {
  --primary-color: #0f172a;
  --secondary-color: #06b6d4;
  --accent-color: #f59e0b;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  z-index: 9999;
  transition: width 0.1s ease;
}

.navbar {
  padding: 1rem 0;
  background: transparent;
  transition: var(--transition);
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  transition: var(--transition);
}

.brand-icon {
  color: #0ea5e9;
  font-weight: 800;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  background-size: 200% auto;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.typing-container {
  min-height: 60px;
  margin-bottom: 1.5rem;
}

.typing-text {
  font-size: 2rem;
  color: var(--white);
  font-weight: 600;
}

.cursor {
  color: var(--primary-color);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-glow {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition);
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.btn-download {
  border: 2px solid var(--primary-color);
  color: var(--white);
  background: transparent;
  transition: var(--transition);
}

.btn-download:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-down {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  position: relative;
}

.scroll-down span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  animation: scroll-down 2s infinite;
}

.scroll-down span:nth-child(2) {
  top: 16px;
  animation-delay: 0.15s;
}

.scroll-down span:nth-child(3) {
  top: 24px;
  animation-delay: 0.3s;
}

@keyframes scroll-down {
  0% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20px); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-padding {
  padding: 100px 0;
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.title-underline {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  margin: 0 auto 1rem;
  border-radius: 2px;
}

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  transform: rotate(-6deg);
  z-index: 1;
  transition: var(--transition);
}

.about-image-wrapper:hover .about-image-shape {
  transform: rotate(-3deg) scale(1.05);
}

.about-image {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.reveal-image {
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition);
}

.reveal-image.active {
  opacity: 1;
  transform: scale(1);
}

.about-content {
  padding-left: 2rem;
}

.about-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--text-light);
}

.info-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.stats-counter {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.stat-box h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-box p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
}

.reveal-content {
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition);
}

.reveal-content.active {
  opacity: 1;
  transform: translateX(0);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1e3a8a 50%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.bg-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.skill-card {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: var(--transition);
}

.skill-card:hover::before {
  opacity: 0.05;
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.skill-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotateY(360deg);
}

.skill-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.progress-svg {
  transform: rotate(-90deg);
}

.progress-bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.1);
  stroke-width: 8;
}

.progress-bar {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 2s ease;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.reveal-skill {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.reveal-skill.active {
  opacity: 1;
  transform: translateY(0);
}

.project-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 165, 233, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-content {
  padding: 1.5rem;
}

.project-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.project-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-tech {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.project-tech .badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 500;
}

.reveal-project {
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition);
}

.reveal-project.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin: 2rem 0;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.author-info h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stars {
  color: var(--accent-color);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--secondary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  margin: 0 5px;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.form-control {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.form-floating label {
  padding: 1rem;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: var(--transition);
}

.btn-submit:hover::before {
  left: 100%;
}

.contact-info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.contact-info-card:hover .contact-icon {
  transform: rotateY(360deg);
}

.contact-info-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}
.quick{
  text-align: center;
}
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px) rotate(360deg);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1.5rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

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

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border-radius: 20px 20px 0 0;
  border: none;
}

.modal-title {
  font-weight: 700;
}

.btn-close {
  filter: brightness(0) invert(1);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .typing-text {
    font-size: 1.5rem;
  }

  .about-content {
    padding-left: 0;
    margin-top: 2rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .typing-text {
    font-size: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 300px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .navbar-nav {
    padding: 1rem 0;
    background: rgba(15, 23, 42, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .contact-form {
    padding: 1.5rem;
  }
}
