
:root {
  --primary: #6e44ff;
  --secondary: #ff44cc;
  --accent: #2ec4b6;
  --dark: #0f0f1e;
  --darker: #080810;
  --light: #f8f9fa;
  --gray: #6c757d;
  

  --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary));
  --gradient-dark: linear-gradient(135deg, var(--darker), var(--dark));
  

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(110, 68, 255, 0.5);
  --shadow-glow-accent: 0 0 30px rgba(46, 196, 182, 0.6);
  

  --header-height: 80px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --container-width: 1200px;
  

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--light);
  background-color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}


body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--darker);
}

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

body::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}


.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background: var(--gradient-dark);
}

.gradient-overlay {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: 
    radial-gradient(circle at 15% 50%, rgba(110, 68, 255, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 68, 204, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(46, 196, 182, 0.15) 0%, transparent 25%);
  animation: gradientRotate 30s infinite linear;
}

.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 20s infinite linear;
}

.particle:nth-child(1) {
  width: 20px;
  height: 20px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  background: var(--primary);
}

.particle:nth-child(2) {
  width: 30px;
  height: 30px;
  top: 60%;
  left: 80%;
  animation-delay: 5s;
  background: var(--secondary);
}

.particle:nth-child(3) {
  width: 15px;
  height: 15px;
  top: 70%;
  left: 15%;
  animation-delay: 10s;
  background: var(--accent);
}

.particle:nth-child(4) {
  width: 25px;
  height: 25px;
  top: 30%;
  left: 65%;
  animation-delay: 15s;
  background: var(--primary);
}

.particle:nth-child(5) {
  width: 10px;
  height: 10px;
  top: 80%;
  left: 90%;
  animation-delay: 2s;
  background: var(--secondary);
}

.particle:nth-child(6) {
  width: 18px;
  height: 18px;
  top: 10%;
  left: 50%;
  animation-delay: 8s;
  background: var(--accent);
}

.particle:nth-child(7) {
  width: 22px;
  height: 22px;
  top: 40%;
  left: 25%;
  animation-delay: 12s;
  background: var(--primary);
}

.particle:nth-child(8) {
  width: 12px;
  height: 12px;
  top: 55%;
  left: 75%;
  animation-delay: 18s;
  background: var(--secondary);
}

.glowing-orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  animation: pulseOrb 15s infinite ease-in-out;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  background: var(--primary);
  animation-delay: 0s;
}

.orb-2 {
  width: 450px;
  height: 450px;
  top: 60%;
  right: 5%;
  background: var(--secondary);
  animation-delay: 3s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 20%;
  background: var(--accent);
  animation-delay: 6s;
}


.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.2rem 0;
  z-index: 1000;
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(15, 15, 30, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo .logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

.nav-logo .logo-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-logo:hover .logo-text::after {
  width: 100%;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all var(--transition-normal);
  display: inline-block;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
}

.bar {
  position: absolute;
  width: 100%;
  height: 3px;
  background: var(--light);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.bar:nth-child(1) {
  top: 0;
}

.bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.bar:nth-child(3) {
  bottom: 0;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.title-word {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.title-word:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-description {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 1s 0.6s forwards;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s 0.8s forwards;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.btn.primary {
  background: var(--gradient-primary);
  color: var(--light);
  box-shadow: var(--shadow-glow);
}

.btn.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(110, 68, 255, 0.5);
}

.btn.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(110, 68, 255, 0.3);
}

.btn.secondary:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  z-index: 1;
  opacity: 0;
  animation: fadeInRight 1s 1s forwards;
}

.floating-card {
  width: 100%;
  height: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.floating-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 4s infinite;
}

.code-animation {
  position: relative;
  font-family: 'Fira Code', monospace;
  color: var(--light);
  height: 100%;
  background: rgba(15, 15, 30, 0.7);
  border-radius: 10px;
  padding: 1.5rem;
  overflow: hidden;
}

.code-line {
  height: 16px;
  background: linear-gradient(90deg, var(--primary), transparent);
  margin-bottom: 12px;
  border-radius: 4px;
  width: 0;
  animation: type 4s steps(30) infinite;
  position: relative;
  overflow: hidden;
}

.code-line:nth-child(1) {
  width: 85%;
  animation-delay: 0.5s;
}

.code-line:nth-child(2) {
  width: 70%;
  animation-delay: 1.5s;
}

.code-line:nth-child(3) {
  width: 60%;
  animation-delay: 2.5s;
}

.cursor {
  position: absolute;
  bottom: 20px;
  width: 12px;
  height: 22px;
  background: var(--primary);
  animation: blink 1s infinite;
  border-radius: 2px;
}


section {
  padding: 6rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.header-underline {
  width: 120px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.header-underline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shine 3s infinite;
}


.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
  max-width: var(--container-width);
  margin: 0 auto;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.8rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.skill {
  padding: 0.8rem 1.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 1rem;
  transition: all var(--transition-normal);
  cursor: default;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.skill:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  color: var(--light);
}

.skill:hover::before {
  opacity: 1;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image-placeholder {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5.5rem;
  color: white;
  box-shadow: var(--shadow-glow);
  animation: pulse 4s infinite ease-in-out;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  animation: shine 6s infinite;
}


.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110, 68, 255, 0.1), rgba(255, 68, 204, 0.1));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

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

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transition: transform var(--transition-bounce);
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: var(--light);
  position: relative;
  display: inline-block;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.service-card:hover h3::after {
  width: 100%;
}

.service-card p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
  line-height: 1.7;
}

.service-btn {
  padding: 0.9rem 2rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
  z-index: -1;
}

.service-btn:hover {
  color: var(--light);
  padding-left: 2.5rem;
  padding-right: 1.5rem;
}

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

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--dark);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(110, 68, 255, 0.3);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    background: var(--primary);
    transform: rotate(90deg);
}


.navbar {
    z-index: 9999;
}

.service-details h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-details p {
  margin-bottom: 2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.service-features {
  margin: 2rem 0;
}

.service-features h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.service-features ul {
  list-style: none;
}

.service-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 2rem;
}

.service-features li::before {
  content: '✓';
  color: var(--accent);
  margin-right: 1rem;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.service-price {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary);
}

.service-price h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--light);
}

.service-price p {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.service-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-contact p {
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}


.projects-container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.9rem 2rem;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tab-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
  z-index: -1;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--light);
}

.tab-btn.active::before,
.tab-btn:hover::before {
  width: 100%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110, 68, 255, 0.1), rgba(255, 68, 204, 0.1));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

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

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

.project-image {
  height: 200px;
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.5rem;
  color: white;
  overflow: hidden;
}

.project-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), transparent);
}

.project-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.5rem 1.2rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.project-info h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--light);
}

.project-info p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
  line-height: 1.6;
}

.project-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all var(--transition-normal);
  margin-top: auto;
}

.project-link:hover {
  gap: 1.2rem;
  color: var(--secondary);
}


.contact-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110, 68, 255, 0.1), rgba(255, 68, 204, 0.1));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.contact-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.contact-details {
  position: relative;
  z-index: 1;
}

.contact-details h3 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  color: var(--light);
}

.contact-details p {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}

.contact-link:hover {
  color: var(--secondary);
  gap: 0.8rem;
}


.footer {
  background: rgba(0, 0, 0, 0.4);
  padding: 4rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-logo .logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  padding: 0.5rem 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.footer-social a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--light);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.footer-social a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social a i {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}


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

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1.2);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.3; }
}

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

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

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

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

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

@keyframes type {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}


@media (max-width: 1200px) {
  :root {
    --container-width: 100%;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 8rem;
  }
  
  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 500px;
    margin: 3rem auto 0;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    background: var(--dark);
    width: 100%;
    height: calc(100vh - var(--header-height));
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 3rem;
    transition: all var(--transition-normal);
    gap: 2rem;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-description {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
  }
  
  .service-card {
    padding: 1.8rem;
  }
  
  .project-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-btn {
    width: 100%;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-lift {
  transition: transform var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}


.parallax-element {
  transition: transform 0.1s ease;
}


::selection {
  background: var(--primary);
  color: var(--light);
}

::-moz-selection {
  background: var(--primary);
  color: var(--light);
}


button:focus,
a:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

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


.premium-glow {
  box-shadow: 0 0 20px rgba(110, 68, 255, 0.7), 0 0 40px rgba(255, 68, 204, 0.5);
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  from {
    box-shadow: 0 0 20px rgba(110, 68, 255, 0.7), 0 0 40px rgba(255, 68, 204, 0.5);
  }
  to {
    box-shadow: 0 0 30px rgba(110, 68, 255, 0.9), 0 0 60px rgba(255, 68, 204, 0.7);
  }
}


.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }


.gradient-border {
  position: relative;
  background: var(--dark);
  border-radius: var(--border-radius);
}

.gradient-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: calc(var(--border-radius) + 2px);
  z-index: -1;
  animation: rotateGradient 3s linear infinite;
}

@keyframes rotateGradient {
  0% { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
  25% { background: linear-gradient(225deg, var(--primary), var(--secondary)); }
  50% { background: linear-gradient(315deg, var(--primary), var(--secondary)); }
  75% { background: linear-gradient(45deg, var(--primary), var(--secondary)); }
  100% { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
}


@media screen and (min-width: 1921px) {
  .hero-title {
    font-size: 5rem;
  }
  
  .hero-description {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 4rem;
  }
  
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
  }
}


@media screen and (max-width: 1199px) {
  :root {
    --container-width: 960px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .floating-card {
    width: 280px;
    height: 180px;
  }
  
  .about-content {
    gap: 3rem;
  }
  
  .image-placeholder {
    width: 220px;
    height: 220px;
    font-size: 4.5rem;
  }
}


@media screen and (max-width: 991px) {
  :root {
    --container-width: 100%;
    --header-height: 70px;
  }
  
  .navbar {
    padding: 1rem 0;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 8rem 1rem 4rem;
  }
  
  .hero-content {
    order: 1;
    padding: 0 1rem;
  }
  
  .hero-visual {
    order: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
  }
  
  .hero-title {
    font-size: 3rem;
    margin-bottom: 1.2rem;
  }
  
  .hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .skills {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .contact-info {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}


@media screen and (max-width: 767px) {
  .navbar {
    padding: 0.8rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--dark);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: all 0.4s ease;
    gap: 1.5rem;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    padding: 6rem 1rem 3rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: 1rem;
  }
  
  .floating-card {
    width: 100%;
    max-width: 300px;
    height: 160px;
  }
  
  section {
    padding: 4rem 1rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 1.8rem;
  }
  
  .service-icon {
    font-size: 3rem;
  }
  
  .project-tabs {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  .tab-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .contact-icon {
    margin-bottom: 1rem;
  }
  
  .modal-content {
    padding: 2rem;
    margin: 1rem;
  }
  
  .service-details h3 {
    font-size: 1.8rem;
  }
}


@media screen and (max-width: 575px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .floating-card {
    height: 140px;
    padding: 1.2rem;
  }
  
  .code-animation {
    padding: 1rem;
  }
  
  .code-line {
    height: 12px;
    margin-bottom: 8px;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .skill {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .image-placeholder {
    width: 180px;
    height: 180px;
    font-size: 3.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
  }
  
  .project-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-btn {
    width: 100%;
    text-align: center;
  }
  
  .project-image {
    height: 160px;
    font-size: 2.8rem;
  }
  
  .project-info {
    padding: 1.2rem;
  }
  
  .project-info h3 {
    font-size: 1.3rem;
  }
  
  .contact-item {
    padding: 1.2rem;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
  
  .close-modal {
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }
}


@media screen and (max-width: 374px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .floating-card {
    height: 120px;
    padding: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .about-text p {
    font-size: 0.9rem;
  }
  
  .skill {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  
  .image-placeholder {
    width: 150px;
    height: 150px;
    font-size: 3rem;
  }
  
  .service-card {
    padding: 1.2rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  .project-image {
    height: 140px;
    font-size: 2.5rem;
  }
  
  .project-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
  
  .project-info h3 {
    font-size: 1.2rem;
  }
  
  .project-info p {
    font-size: 0.9rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .contact-details h3 {
    font-size: 1.2rem;
  }
  
  .contact-details p {
    font-size: 0.9rem;
  }
  
  .footer-logo .logo-text {
    font-size: 1.5rem;
  }
  
  .modal-content {
    padding: 1.2rem;
  }
  
  .service-details h3 {
    font-size: 1.5rem;
  }
  
  .service-details p {
    font-size: 0.9rem;
  }
  
  .service-features h4 {
    font-size: 1.2rem;
  }
  
  .service-price h4 {
    font-size: 1.1rem;
  }
  
  .service-price p {
    font-size: 1.3rem;
  }
}


@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 6rem 1rem 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-visual {
    display: none;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  section {
    padding: 2.5rem 1rem;
  }
  
  .floating-card {
    height: 100px;
  }
}


@media screen and (min-width: 2000px) and (min-height: 1200px) {
  .hero-title {
    font-size: 5.5rem;
  }
  
  .hero-description {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 4.5rem;
  }
  
  .about-text p {
    font-size: 1.4rem;
  }
  
  .service-card h3 {
    font-size: 2.2rem;
  }
  
  .service-card p {
    font-size: 1.2rem;
  }
  
  .btn {
    font-size: 1.3rem;
    padding: 1.2rem 3rem;
  }
}


@media screen and (max-width: 1000px) and (max-height: 500px) {
  .hero {
    padding-top: 5rem;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  section {
    padding: 2rem 1rem;
  }
  
  .floating-card {
    display: none;
  }
}


@media (prefers-color-scheme: dark) {

  body {
    background-color: var(--dark);
    color: var(--light);
  }
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animated-background,
  .gradient-overlay,
  .particle,
  .orb,
  .floating-card,
  .image-placeholder {
    animation: none !important;
  }
}


@media (prefers-contrast: high) {
  :root {
    --primary: #0000ff;
    --secondary: #ff00ff;
    --accent: #00ffff;
  }
  
  .service-card,
  .project-card,
  .contact-item {
    border: 2px solid var(--primary);
  }
}


@media (hover: hover) and (pointer: fine) {
  .service-card:hover::before,
  .project-card:hover::before,
  .contact-item:hover::before {
    transform: scaleX(1);
  }
  
  .btn:hover::before {
    left: 100%;
  }
}


@media (hover: none) and (pointer: coarse) {
  .btn:active,
  .service-btn:active,
  .tab-btn:active {
    transform: scale(0.98);
  }
  
  .service-card:active,
  .project-card:active {
    transform: scale(0.99);
  }
}


@media print {
  .animated-background,
  .navbar,
  .hero-visual,
  .footer-social,
  .service-btn,
  .project-link,
  .contact-link {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
    font-size: 12pt;
  }
  
  .hero {
    padding: 1cm 0;
  }
  
  section {
    page-break-inside: avoid;
    padding: 1cm 0;
  }
  
  .service-card,
  .project-card,
  .contact-item {
    border: 1pt solid #ccc;
    box-shadow: none;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
  }
}


@media (prefers-reduced-transparency: reduce) {
  .glass-effect,
  .service-card,
  .project-card,
  .contact-item {
    background: var(--dark) !important;
    backdrop-filter: none !important;
  }
}


@media (update: slow) {
  .animated-background,
  .particle,
  .orb {
    animation: none !important;
  }
}


