/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
  /* Colors - Coordinated palette */
  --primary: #0b8d96;
  --secondary: #16213e;
  --accent: #e94560;
  --accent-light: #ff6b6b;
  --text-light: #eaeaea;
  --text-muted: #a0a0a0;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --border-color: #2a2a4a;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1200px;
  --card-gap: 30px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-accent: 0 4px 20px rgba(233, 69, 96, 0.3);
}

/* Light Theme Variables */
[data-theme="light"] {
  --text-light: #1a1a2e;
  --text-muted: #6b6b7b;
  --bg-dark: #f8f9fa;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Smooth transitions for theme switching on key elements */
.navbar,
.service-card,
.pricing-card,
.testimonial-card,
.portfolio-card,
.faq-item,
.contact-info-card,
.team-card,
.blog-card,
.code-window,
.cookie-banner,
.cookie-settings-content,
.theme-toggle,
.social-icon,
.btn,
input,
textarea,
select {
  transition: background-color var(--transition-fast), 
              border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              color var(--transition-fast);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Typography
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.125rem;
}

.btn-cta {
  background: white;
  color: var(--accent);
  font-size: 1.25rem;
  padding: 20px 48px;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-normal);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-decoration: none;
}

.logo i {
  color: var(--accent);
  font-size: 1.75rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.nav-btn {
  padding: 10px 24px;
  font-size: 0.9375rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(233, 69, 96, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(22, 33, 62, 0.5) 0%,
      transparent 50%
    ),
    var(--bg-dark);
  z-index: -2;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0.5;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
  display: flex;
  gap: 50px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Code Window */
.hero-visual {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.code-window {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.window-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-color);
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-dot.red {
  background: #ff5f56;
}
.window-dot.yellow {
  background: #ffbd2e;
}
.window-dot.green {
  background: #27c93f;
}

.window-title {
  margin-left: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: monospace;
}

.window-content {
  padding: 25px;
  font-family: "Fira Code", "Consolas", monospace;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.window-content pre {
  margin: 0;
}

.code-keyword {
  color: #ff79c6;
}
.code-variable {
  color: #50fa7b;
}
.code-property {
  color: #8be9fd;
}
.code-string {
  color: #f1fa8c;
}
.code-boolean {
  color: #bd93f9;
}
.code-comment {
  color: #6272a4;
}
.code-function {
  color: #ffb86c;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.875rem;
  animation: bounce 2s infinite;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

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

/* ========================================
   Services Section
   ======================================== */
.services {
  padding: var(--section-padding) 0;
  background: var(--bg-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--card-gap);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 30px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.service-icon i {
  font-size: 2rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.375rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

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

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.service-features i {
  color: var(--accent);
  font-size: 0.75rem;
}

/* ========================================
   Portfolio Section
   ======================================== */
.portfolio {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 25px;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--card-gap);
}

.portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(26, 26, 46, 0.5) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.portfolio-category {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  width: fit-content;
}

.portfolio-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.portfolio-overlay p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.view-project-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-project-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ========================================
   About Section
   ======================================== */
.about {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: white;
  padding: 25px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-accent);
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.about-text .section-tag {
  margin-bottom: 15px;
}

.about-text .section-title {
  margin-bottom: 25px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.0625rem;
}

.skills {
  margin-top: 35px;
}

.skills h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.skill-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.skill-bars {
  margin-top: 35px;
}

.skill-bars h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.skill-bar {
  margin-bottom: 20px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.skill-info span {
  color: var(--text-light);
}

.skill-percent {
  color: var(--accent);
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  width: 0;
  transition: width 1s ease;
}

.about-cta {
  margin-top: 35px;
}

/* ========================================
   Process Section
   ======================================== */
.process {
  padding: var(--section-padding) 0;
  background: var(--bg-card);
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.process-step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 25px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.step-content:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 70px;
  height: 70px;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon i {
  font-size: 1.75rem;
  color: var(--accent);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.process-arrow {
  color: var(--accent);
  font-size: 1.5rem;
  opacity: 0.5;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.pricing-price {
  margin-bottom: 10px;
}

.pricing-price .currency {
  font-size: 1.5rem;
  color: var(--accent);
  vertical-align: top;
}

.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
}

.pricing-price .period {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.9375rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-features li i {
  color: var(--accent);
  font-size: 0.875rem;
}

.pricing-features li.disabled i {
  color: var(--text-muted);
}

.pricing-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 50px;
  padding: 25px 30px;
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid var(--accent);
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-note i {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pricing-note p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background: none;
  border: none;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

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

.faq-question i {
  color: var(--accent);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
  margin-left: 15px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height var(--transition-normal),
    padding var(--transition-normal);
}

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

.faq-answer p {
  padding: 0 30px 25px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  overflow: hidden;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px;
  min-width: 100%;
  transition: all var(--transition-normal);
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial-card:hover {
  border-color: var(--accent);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 3px;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.carousel-prev {
  left: -25px;
}

.carousel-next {
  right: -25px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.carousel-dots .dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 6px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  text-align: center;
}

.cta-content h2 {
  font-size: 3rem;
  color: white;
  margin-bottom: 20px;
}

.cta-content > p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-phone {
  margin-bottom: 30px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: white;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  transition: transform var(--transition-normal);
}

.phone-link:hover {
  transform: scale(1.05);
}

.phone-link i {
  font-size: 2rem;
}

.cta-note {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-form-section {
  padding: var(--section-padding) 0;
  background: var(--bg-dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all var(--transition-normal);
}

.contact-info-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(233, 69, 96, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.contact-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-info-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 15px;
}

.contact-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--accent-light);
}

.social-links {
  text-align: center;
}

.social-links h4 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: color var(--transition-fast);
}

.footer-phone:hover {
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  z-index: 1001;
  transition: width 0.1s ease;
}

/* ========================================
   Theme Toggle Button
   ======================================== */
.theme-toggle {
  position: fixed;
  top: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
  transform: scale(1.1);
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}

.theme-toggle i {
  font-size: 1.25rem;
  color: var(--accent);
  position: absolute;
  transition: all var(--transition-normal);
}

.theme-toggle .fa-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .fa-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .fa-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .fa-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 3px solid var(--accent);
  padding: 20px 0;
  z-index: 998;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 300px;
}

.cookie-text i {
  font-size: 2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.cookie-text p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.cookie-settings-modal.active {
  display: flex;
  opacity: 1;
}

.cookie-settings-content {
  background: var(--bg-card);
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: modalSlideUp 0.4s ease;
}

.cookie-settings-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.cookie-settings-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.cookie-settings-content h3 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.cookie-settings-content > p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 0.9375rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.cookie-option-info h4 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

.cookie-option-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--border-color);
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-switch.active {
  background: var(--accent);
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(24px);
}

.cookie-settings-actions {
  display: flex;
  gap: 15px;
}

.cookie-settings-actions .btn {
  flex: 1;
  justify-content: center;
}

/* ========================================
   Loading Screen
   ======================================== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 20px;
  animation: pulse 1.5s ease infinite;
}

.loading-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  width: 0;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loadingProgress 2s ease forwards;
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-close:hover {
  transform: scale(1.1);
  background: var(--accent-light);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-content {
  max-width: 1000px;
  max-height: 80vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  margin-top: 20px;
  color: var(--text-light);
}

.lightbox-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.lightbox-caption p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

@keyframes loadingProgress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .about-image img {
    max-width: 350px;
  }

  .skill-tags {
    justify-content: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  /* Theme Toggle Mobile */
  .theme-toggle {
    top: 80px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  /* Cookie Banner Mobile */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    flex-direction: column;
    min-width: auto;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-settings-content {
    padding: 30px 20px;
  }

  .cookie-option {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .nav-btn {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 25px;
  }

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

  .process-steps {
    flex-direction: column;
  }

  .process-arrow {
    transform: rotate(90deg);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: scale(1) translateY(-10px);
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }
}

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

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

  .btn-large {
    width: 100%;
    justify-content: center;
  }

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

  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .phone-link {
    font-size: 1.75rem;
  }

  .phone-link i {
    font-size: 1.5rem;
  }
}
