:root {
  --primary-color: #4169E1;
  --primary-dark: #4169E1;
  --secondary-color: #1a1a1a;
  --accent-color: #00d4ff;
  --accent-purple: #7c3aed;
  --accent-blue: #0ea5e9;
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-muted: #a0aec0;
  --bg-primary: #050505;
  --bg-secondary: #0f0f0f;
  --bg-card: #1a1a1a;
  --bg-dark: #000000;
  --border-color: #2a2a2a;
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 12px 0 rgb(0 0 0 / 0.6);
  --shadow-lg: 0 12px 24px 0 rgb(0 0 0 / 0.7);
  --shadow-xl: 0 20px 40px 0 rgb(0 0 0 / 0.8);
  --gradient-primary: linear-gradient(135deg, #4169E1 100%);
  --gradient-secondary: linear-gradient(135deg,  #4169E1 100%);
  --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #0ea5e9 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.gradient-text {
  background: linear-gradient(90deg, #A9A9A9 0%, #A9A9A9 50%, #A9A9A9 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease-in-out infinite;
  font-weight: 900;
  letter-spacing: -1px;
}
@keyframes goldShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffd700;
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}
.btn::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: all 0.6s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #000;
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.581);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #2330e9f5;
  transform: translateY(-3px);
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5, 5, 5, 0.98);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.253);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
}
.nav-logo i {
  font-size: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  font-size: 15px;
  letter-spacing: 0.3px;
}
.nav-link:hover {
  color: var(--primary-color);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 2.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #050505 0%, #0f0f0f 50%, #1a1a1a 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 25% 25%, rgba(17, 40, 190, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, rgba(179, 179, 179, 0.06) 0%, transparent 50%);
  z-index: 0;
  animation: ambientShift 8s ease-in-out infinite;
}
@keyframes ambientShift {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 20px);
  }
}
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
  linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px); 
  opacity: 0.6;
  animation: gridFloat 30s infinite linear;
  z-index: 1;
}
@keyframes gridFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-40px);
  }
}
.floating-code {
  display: none;
}

.floating-code:nth-child(1) {
  top: 15%;
  left: 5%;
  animation: float-code-1 25s linear infinite;
}
.floating-code:nth-child(2) {
  top: 35%;
  right: 10%;
  animation: float-code-2 30s linear infinite;
  color: rgba(0, 212, 255, 0.12);
}
.floating-code:nth-child(3) {
  bottom: 20%;
  left: 15%;
  animation: float-code-3 28s linear infinite;
  color: rgba(124, 58, 237, 0.12);
}
@keyframes float-code-1 {
  0% { transform: translateY(0) translateX(0); opacity: 0.15; }
  50% { opacity: 0.25; }
  100% { transform: translateY(-50px) translateX(20px); opacity: 0.15; }
}
@keyframes float-code-2 {
  0% { transform: translateY(0) translateX(0); opacity: 0.12; }
  50% { opacity: 0.2; }
  100% { transform: translateY(-40px) translateX(-15px); opacity: 0.12; }
}
@keyframes float-code-3 {
  0% { transform: translateY(0); opacity: 0.12; }
  50% { opacity: 0.2; }
  100% { transform: translateY(-60px); opacity: 0.12; }
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.1;
  letter-spacing: -2px;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 500px;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.code-animation {
  width: 400px;
  height: 280px;
  background: rgba(26, 26, 26, 0.6);
  border-radius: 12px;
  padding: 25px;
  backdrop-filter: blur(30px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}
.code-animation::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.08), transparent);
  animation: codeRotate 12s linear infinite;
  z-index: 0;
}
@keyframes codeRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.code-line {
  height: 20px;
  background: rgba(212, 175, 55, 0.08);
  margin-bottom: 16px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.code-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
  animation: codeScam 4s infinite;
}
.code-line:nth-child(1) {
  width: 85%;
  animation-delay: 0s;
}
.code-line:nth-child(2) {
  width: 65%;
  animation-delay: 0.5s;
}
.code-line:nth-child(3) {
  width: 95%;
  animation-delay: 1s;
}
.code-line:nth-child(4) {
  width: 75%;
  animation-delay: 1.5s;
}
.code-line:nth-child(5) {
  width: 90%;
  animation-delay: 2s;
}
.code-line:nth-child(6) {
  width: 55%;
  animation-delay: 2.5s;
}
@keyframes codeScam {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: -100%;
  }
}
section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
  letter-spacing: -1px;
}
.section-title.reveal-title {
  opacity: 1;
  transform: translateY(0);
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}
.about {
  background: var(--bg-secondary);
  position: relative;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-weight: 400;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.05);
}
.skill-item i {
  font-size: 2.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.skill-item span {
  font-weight: 700;
  color: var(--text-primary);
}
.services {
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.03);
}
.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}
.service-icon i {
  font-size: 2rem;
  color: #000;
  font-weight: 700;
}
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}
.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.service-card ul {
  list-style: none;
}
.service-card li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  font-size: 14px;
}
.service-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}
.portfolio {
  background: var(--bg-secondary);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.portfolio-item {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}
.portfolio-image {
  position: relative;
  overflow: hidden;
}
.portfolio-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-item:hover .portfolio-image img {
  transform: scale(1.08);
}
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(0, 212, 255, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-links {
  display: flex;
  gap: 1rem;
}
.portfolio-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
}
.portfolio-link:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.15);
}
.portfolio-content {
  padding: 2rem;
}
.portfolio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 700;
}
.portfolio-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.tech-stack {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tech-stack span {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.blog {
  background: var(--bg-secondary);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}
.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-image img {
  transform: scale(1.05);
}
.blog-content {
  padding: 2rem;
}
.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.blog-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.blog-category {
  background: var(--gradient-primary);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.blog-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}
.blog-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.blog-link:hover {
  gap: 1rem;
  color: #ffd700;
}
.contact {
  position: relative;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}
.contact-icon i {
  font-size: 1.5rem;
  color: #000;
  font-weight: 700;
}
.contact-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
  font-weight: 700;
}
.contact-details p {
  color: var(--text-secondary);
}
.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: inherit;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 500;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.footer-logo i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}
.footer-section ul li a:hover {
  color: var(--primary-color);
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.social-links a:hover {
  background: var(--gradient-primary);
  color: #000;
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}
.cta-button {
  background: var(--gradient-primary);
  color: #000;
  border: none;
  padding: 15px 28px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
}
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1000;
}
.whatsapp-float a {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}
.whatsapp-float a:hover {
  transform: scale(1.1);
  animation: none;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #000;
  border: none;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
  cursor: pointer;
  display: none;
  z-index: 999;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.scroll-top-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.colorful-divider {
  height: 3px;
  width: 100%;
  background: var(--gradient-primary);
  margin: 2rem 0;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    left: 0;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .code-animation {
    width: 300px;
    height: 200px;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .section-title {
    font-size: 2rem;
  }
  .sticky-cta,
  .whatsapp-float,
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float {
    bottom: 90px;
  }
  .scroll-top-btn {
    left: 20px;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .portfolio-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .code-animation {
    width: 280px;
    height: 180px;
    padding: 15px;
  }
  .floating-code {
    display: none;
  }
}
.portfolio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
}
.portfolio-modal.active {
  display: flex;
}
.modal-content {
  background: var(--bg-card);
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-xl);
}
.modal-header {
  position: relative;
  padding: 0;
}
.modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}
.modal-body {
  padding: 2rem;
}
.modal-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 800;
}
.modal-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.modal-tech-stack {
  margin-bottom: 2rem;
}
.modal-tech-stack h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}
.modal-features {
  margin-bottom: 2rem;
}
.modal-features h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}
.modal-features ul {
  list-style: none;
  padding: 0;
}
.modal-features li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}
.modal-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}
.modal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.modal-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}
.modal-link.secondary {
  background: transparent;
  border: 2px solid rgba(212, 175, 55, 0.4);
  color: var(--text-primary);
}
.modal-link.secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-color);
}
@media (max-width: 768px) {
  .portfolio-modal {
    padding: 1rem;
  }
  .modal-content {
    max-height: 95vh;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .modal-title {
    font-size: 1.5rem;
  }
  .modal-links {
    flex-direction: column;
  }
  .modal-link {
    justify-content: center;
  }
}