/* Base Styles */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #f43f5e;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #94a3b8;
  --dark-gray: #334155;
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --card-bg: rgba(15, 23, 42, 0.7);
  --glass-effect: rgba(255, 255, 255, 0.05);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --border-radius: 12px;
  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.05);
}

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

body {
  font-family: var(--font-secondary);
  background: var(--bg-gradient);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  background: linear-gradient(to right, var(--light) 30%, var(--primary) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 15px auto;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.bg-light {
  background-color: rgba(15, 23, 42, 0.8);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-hire:hover {
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-hire:hover::before {
  transform: scaleX(1);
}

.btn-hire::before {
  transform: scaleX(0);
  transform-origin: right;
}

.btn-contact {
  background: var(--primary);
  color: var(--light);
  border: 2px solid var(--primary);
}

.btn-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-service {
  background: var(--primary);
  color: white;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-service:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-submit {
  background: var(--primary);
  color: white;
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: 10px;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  background-color: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  padding: 15px 0;
  background-color: rgba(15, 23, 42, 0.95);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

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

.btn-nav-contact {
  background-color: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: var(--border-radius);
}

.btn-nav-contact:hover {
  background-color: var(--primary-dark);
}

/* Cursor Trail */
.cursor-trail {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, rgba(99, 102, 241, 0) 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0.7;
  transition: transform 0.1s ease-out;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  gap: 50px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
  linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 120s linear infinite;
  z-index: -1;
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 1000px 1000px; }
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, var(--light) 30%, var(--primary) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
}

.hero-title .thin {
  font-weight: 300;
}

.hero-title .bold {
  font-weight: 700;
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--gray);
  animation: fadeInUp 1s ease-out 0.2s forwards;
  opacity: 0;
}

#typed-text {
  color: var(--primary);
  font-weight: 500;
  position: relative;
}

#typed-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--primary);
}

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

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-social {
  display: flex;
  gap: 20px;
}

/* Code Snippet Styles */
.code-snippet-container {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.code-snippet-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: var(--transition);
  border-left: 4px solid var(--primary);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-effect);
  width: 100%;
}

.code-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--glass-effect);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.file-name {
  margin-left: 10px;
  color: var(--gray);
  font-size: 0.9rem;
  font-family: 'Fira Code', monospace;
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: 0.95rem;
}

code {
  font-family: 'Fira Code', monospace;
  line-height: 1.6;
  color: #e2e8f0;
  display: block;
}

.comment {
  color: var(--gray);
  font-style: italic;
}

.keyword {
  color: #7dd3fc;
}

.string {
  color: #86efac;
}

.function {
  color: #f472b6;
}

.operator {
  color: #93c5fd;
}

/* Floating dots */
.floating-dots {
  position: absolute;
  bottom: -20px;
  right: -10px;
  z-index: 2;
}

.floating-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin: 0 3px;
  opacity: 0.6;
  animation: float 3s infinite ease-in-out;
}

.floating-dots span:nth-child(2) {
  animation-delay: 0.5s;
  background: #10b981;
}

.floating-dots span:nth-child(3) {
  animation-delay: 1s;
  background: #f59e0b;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero Visual Positioning */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

@media (max-width: 992px) {
  .hero-visual {
    justify-content: center;
    margin-top: 50px;
  }
  
  .code-snippet-container {
    max-width: 100%;
  }
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary);
}

.social-icon:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.floating-card {
  width: 350px;
  height: 400px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-effect);
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  border: 5px solid var(--card-bg);
  box-shadow: var(--shadow-md);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-stack-preview {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.tech-icon {
  width: 50px;
  height: 50px;
  background: var(--card-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-effect);
}

.floating-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.floating-dots span {
  width: 8px;
  height: 8px;
  background: var(--gray);
  border-radius: 50%;
  opacity: 0.5;
  animation: jump 1s ease-in-out infinite;
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px); /* ne kadar yükseğe zıplasın? */
  }
}

/* Floating Shapes */
.floating-shapes .circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--primary);
  top: -100px;     /* ← Burayı negatif yap */
  right: -100px;   /* ← Burayı da negatif yap */
  animation: float 25s ease-in-out infinite;
}


.shape {
  position: absolute;
  opacity: 0.3;
  filter: blur(20px);
}

.triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 300px solid var(--secondary);
  bottom: -150px;
  left: -100px;
  animation: float 30s ease-in-out infinite reverse;
}

.square {
  width: 200px;
  height: 200px;
  background: #8be9fd;
  top: -50px;
  right: -50px;
  animation: float 20s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, 30px) rotate(5deg); }
  50% { transform: translate(-15px, 20px) rotate(-5deg); }
  75% { transform: translate(10px, -15px) rotate(3deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray);
  border-radius: 12px;
  margin-top: 8px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--gray);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

/* Tech Section */
.tech-section {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 3rem;
  margin: 2rem 0;
  border: 1px solid var(--glass-effect);
  box-shadow: var(--shadow-lg);
}

.tech-category {
  margin-bottom: 2rem;
}

.tech-category h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--light);
}

.tech-category h4 i {
  color: var(--primary);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tech-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  padding: 15px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-effect);
  width: 120px;
}

.tech-list i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.tech-list span {
  font-size: 0.9rem;
  color: var(--gray);
}

.tech-list li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.tech-list li:hover i {
  transform: scale(1.2);
  color: var(--primary);
}

/* Experience Section */
.experience-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--glass-effect);
  transition: var(--transition);
}

.experience-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.exp-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.exp-logo-container {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
}

.exp-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.exp-role {
  color: var(--primary);
  font-weight: 500;
  margin: 0.3rem 0;
}

.exp-tags {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.exp-desc {
  line-height: 1.7;
  color: var(--gray);
}


/* --------------------------- */
.projects-slider {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
  }
  
  .slider-container {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .project-slide {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  .project-image {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .project-slide:hover .project-image img {
    transform: scale(1.05);
  }
  
  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .project-slide:hover .project-overlay {
    opacity: 1;
  }
  
  .project-link {
    color: white;
    font-size: 24px;
  }
  
  .project-content h4 {
    margin-bottom: 5px;
    font-size: 1.25rem;
  }
  
  .project-category {
    color: #777;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }
  
  .project-tech {
    margin-top: 15px;
  }
  
  .project-tech span {
    display: inline-block;
    background: #f5f5f5;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 5px;
    font-size: 0.8rem;
  }
  
  .slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .slider-nav button {
    background: none;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .slider-nav button:hover {
    background: #f0f0f0;
  }
  
  @media (min-width: 768px) {
    .project-slide {
      min-width: 50%;
    }
  }
  
  @media (min-width: 992px) {
    .project-slide {
      min-width: 33.333%;
    }
  }
  
/* GitHub Section */
.github-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.github-chart {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--glass-effect);
  transition: var(--transition);
}

.github-chart:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.github-chart img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.github-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.github-stat {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  border: 1px solid var(--glass-effect);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.github-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.github-stat i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

/* FAQ Section */

.faq-categories {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-effect);
  overflow: hidden;
  transition: var(--transition);
}

.faq-category:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.category-header:hover {
  color: var(--primary);
}

.category-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-header h4 {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.category-header i {
  transition: var(--transition);
}

.faq-category.active .category-header i {
  transform: rotate(180deg);
}

.category-questions {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-category.active .category-questions {
  max-height: 2000px;
}

/* Nested FAQ Items */
.faq-item {
  border-top: 1px solid var(--glass-effect);
  transition: var(--transition);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  transition: transform 0.3s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  will-change: max-height;
}

.answer-content {
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}


/* Responsive */
@media (max-width: 768px) {
  .category-header {
    padding: 1.25rem;
  }
  
  .faq-question {
    padding: 1rem 1.25rem;
  }
  
  .answer-content {
    padding: 0 1.25rem 1.25rem;
  }
}

/* Services Section */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
}

.faq-tab {
  padding: 1rem 2rem;
  border-radius: 50px;
  background: transparent;
  border: none;
  color: var(--gray);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-primary);
}

.faq-tab i {
  font-size: 1.2rem;
}

.faq-tab.active {
  color: var(--light);
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 50px;
  z-index: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--primary);
}

/* FAQ Content */
.faq-content {
  position: relative;
  min-height: 400px;
}

.faq-detail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.faq-detail.active {
  opacity: 1;
  pointer-events: all;
}

.faq-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid var(--glass-effect);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
  border-color: var(--primary);
}

/* FAQ Items */
.faq-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--glass-effect);
  transition: var(--transition);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq-question {
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: larger;
  font-weight: bold;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question i {
  transition: var(--transition);
  font-size: 0.9rem;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--light);
  line-height: 1.4;
}

.faq-answer p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.7;
}

.highlight {
  font-weight: 500;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.15em 0.3em;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.faq-item.active .highlight {
  background: rgba(99, 102, 241, 0.2);
}

.answer-content {
  padding: 0 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .faq-tab {
    width: 100%;
    justify-content: center;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  

  .faq-question span {
    font-size: 1.1rem;
  }
  
  .faq-answer p {
    font-size: 0.95rem;
  }
}
/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  border: 1px solid var(--glass-effect);
  transition: var(--transition);
}

.contact-form:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--light);
}

input, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--dark-gray);
  background: rgba(15, 23, 42, 0.5);
  color: var(--light);
  font-family: inherit;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  border: 1px solid var(--glass-effect);
  transition: var(--transition);
}

.contact-info:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.info-card {
  margin-bottom: 2rem;
}

.info-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  color: var(--gray);
}

.info-item i {
  color: var(--primary);
  font-size: 1.2rem;
  width: 20px;
}

.info-item a {
  transition: var(--transition);
}

.info-item a:hover {
  color: var(--primary);
}

.contact-social h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--light);
}

.social-link:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 0;
  position: relative;
  background: rgba(15, 23, 42, 0.9);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo a {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
}

.footer-logo p {
  color: var(--gray);
  margin-top: 5px;
}

.link-group h5 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.link-group a {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gray);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--glass-effect);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  color: var(--gray);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary);
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-up {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(-20vh) scale(1); opacity: 0; }
}

/* Responsive */
@media (max-width: 992px) {
  .code-hidden {
    display: none;
  }
  
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 3rem;
    max-width: 100%;
  }
  
  .hero-visual {
    margin: 0 auto;
    max-width: 100%;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .code-hidden {
    display: none;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    transform: translateY(-150%);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    transform: translateY(0);
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-contact {
    margin-left: 0;
    margin-top: 15px;
  }
  
  .service-tabs {
    flex-direction: column;
  }
  
  .service-tab {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .floating-card {
    width: 100%;
    height: auto;
    padding: 20px;
  }
  
  .tech-list li {
    width: 100px;
    padding: 10px;
  }
}