/* ========================================
   CSS Variables - Light Theme
======================================== */
:root {
  /* Primary Colors - Light Blue */
  --primary-color: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #2563eb;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

  /* Secondary Colors */
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --accent-light: #22d3ee;

  /* Background Colors - Light */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);

  /* Text Colors */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-light: #ffffff;

  /* Glass Effect - Light Theme */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-light: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
  --glass-shadow-hover: 0 12px 40px 0 rgba(31, 38, 135, 0.15);

  /* Border Colors */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Spacing - Mobile Optimized */
  --section-padding-mobile: 60px 1rem;
  --section-padding-tablet: 80px 1.5rem;
  --section-padding-desktop: 100px 2rem;
  --container-max: 1400px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* ========================================
   Reset & Base Styles - NO OVERFLOW
======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Accessibility
======================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ========================================
   Typography - Mobile First BIGGER Text
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  word-wrap: break-word;
}

/* BIGGER text on mobile */
h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
}
h2 {
  font-size: clamp(2rem, 6vw, 2.5rem);
}
h3 {
  font-size: clamp(1.5rem, 4vw, 1.75rem);
}
h4 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  word-wrap: break-word;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
}

/* ========================================
   Navigation - FIXED Mobile Menu
======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all var(--transition-normal);
  background: transparent;
  width: 100%;
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo h2 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin-bottom: 0;
  cursor: pointer;
  color: var(--text-primary);
  white-space: nowrap;
}

.logo .accent {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hamburger Menu - FIXED */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  order: 3;
  flex-shrink: 0;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* Navigation Links - FIXED Mobile */
.nav-links {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-secondary);
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 80px 1.5rem 2rem;
  gap: 0.75rem;
  transition: right var(--transition-normal);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  z-index: 999;
}

.nav-links.active {
  right: 0;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.1rem);
  padding: 0.875rem 0;
  position: relative;
  display: block;
  transition: color var(--transition-normal);
  border-bottom: 1px solid var(--border-light);
}

.nav-link:last-child {
  border-bottom: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 998;
  backdrop-filter: blur(5px);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Nav Actions - FIXED for Mobile */
.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  order: 2;
  flex-shrink: 0;
}

/* Show nav actions only on desktop */
@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }

  .hamburger-menu {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    flex-direction: row;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .nav-link {
    border-bottom: none;
    padding: 0.5rem 1rem;
  }
}

#google_translate_element {
  transform: scale(0.75);
  transform-origin: right center;
}

@media (min-width: 1024px) {
  #google_translate_element {
    transform: scale(1);
  }
}

.currency-selector {
  display: none;
}

@media (min-width: 1024px) {
  .currency-selector {
    display: block;
  }

  .currency-selector select {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
  }

  .currency-selector select:focus {
    outline: 2px solid var(--primary-color);
    border-color: var(--primary-color);
  }
}

/* ========================================
   Hero Section - FIXED Mobile
======================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 1rem 60px;
  overflow: hidden;
  background: var(--bg-gradient);
  width: 100%;
  max-width: 100vw;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  top: -50px;
  right: -50px;
  animation-delay: 0s;
}

.orb-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #a78bfa, #22d3ee);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #22d3ee, #60a5fa);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

.orb-4 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #fbbf24, #f472b6);
  top: 20%;
  left: 20%;
  animation-delay: -15s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Hero Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  animation: pulse 2s infinite;
  white-space: nowrap;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

.hero-text h1 {
  margin-bottom: 0.75rem;
}

.accent-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.hero-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  max-width: 100%;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 1.5rem;
}

/* Buttons - BIGGER on Mobile */
.btn {
  padding: 1rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Hero Stats - FIXED */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  width: 100%;
}

.stat-item {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: clamp(0.625rem, 2vw, 0.75rem);
  color: var(--text-secondary);
  margin-top: 0.25rem;
  line-height: 1.3;
}

/* Hero Visual */
.hero-visual {
  display: none;
}

/* Scroll Indicator - FIXED Position */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s infinite;
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--border-medium);
  border-radius: 16px;
  margin: 0 auto 8px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 3px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Tablet Hero */
@media (min-width: 768px) {
  .hero-section {
    padding: 120px 1.5rem 80px;
  }

  .hero-buttons {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .orb-1 {
    width: 400px;
    height: 400px;
  }

  .orb-2 {
    width: 350px;
    height: 350px;
  }
}

/* Desktop Hero */
@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-text {
    text-align: left;
  }

  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-visual {
    display: block;
    position: relative;
    height: 600px;
  }

  .hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .floating-card {
    position: absolute;
    padding: 1.25rem 1.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--glass-shadow);
    animation: floatCard 6s infinite ease-in-out;
  }

  .floating-card i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .floating-card span {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: nowrap;
  }

  .card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
  }
  .card-2 {
    top: 25%;
    right: 5%;
    animation-delay: -1.5s;
  }
  .card-3 {
    bottom: 35%;
    left: 15%;
    animation-delay: -3s;
  }
  .card-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: -4.5s;
  }
  .card-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -6s;
  }

  @keyframes floatCard {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
}

/* ========================================
   Section Styles - FIXED Padding
======================================== */
section {
  padding: var(--section-padding-mobile);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  margin-bottom: 2rem;
  max-width: 100%;
}

@media (min-width: 768px) {
  section {
    padding: var(--section-padding-tablet);
  }

  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  section {
    padding: var(--section-padding-desktop);
  }

  .container {
    padding: 0 2rem;
  }
}

/* ========================================
   Process Section - FIXED
======================================== */
.process-section {
  background: var(--bg-secondary);
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  position: relative;
}

.process-card {
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--primary-color);
}

.process-number {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.1);
}

.process-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.process-card h3 {
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ========================================
   Services Section - FIXED
======================================== */
.services-section {
  background: var(--bg-gradient);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  padding: 2rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--primary-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: white;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  margin-bottom: 1.25rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  padding: 0.4rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.service-features i {
  color: var(--primary-color);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Portfolio Section - FIXED
======================================== */
.portfolio-section {
  background: var(--bg-secondary);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: inherit;
  font-weight: 600;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  white-space: nowrap;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
}

.portfolio-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item: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(59, 130, 246, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  margin-bottom: 0.5rem;
  color: white;
}

.portfolio-overlay p {
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Pricing Section - FIXED
======================================== */
.pricing-section {
  background: var(--bg-gradient);
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.toggle-label {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.save-badge {
  background: var(--primary-gradient);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  margin-left: 0.5rem;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 30px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--primary-gradient);
  border-radius: 50%;
  transition: 0.4s;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pricing-card {
  padding: 2.5rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow-hover);
}

.pricing-card.popular {
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  padding: 0.4rem 1.25rem;
  border-radius: 20px;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.pricing-header h3 {
  margin-bottom: 0.5rem;
}

.pricing-header p {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--text-secondary);
}

.pricing-price {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.currency-symbol {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  color: var(--text-secondary);
}

.price-amount {
  font-size: clamp(2.5rem, 8vw, 3rem);
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  color: var(--text-secondary);
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--primary-color);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.pricing-features li.disabled i {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .pricing-card.popular {
    transform: scale(1.05);
  }

  .pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
  }
}

/* ========================================
   Calculator Section - FIXED
======================================== */
.calculator-section {
  background: var(--bg-secondary);
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--glass-shadow);
}

.calculator-form {
  padding: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 0.875rem 2.5rem 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--primary-gradient);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
  transition: transform var(--transition-fast);
}

.form-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.form-group input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--primary-gradient);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

#pageCountValue {
  color: var(--primary-color);
  font-weight: 700;
}

/* Checkbox Group - FIXED */
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  padding: 0.625rem 0.875rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  color: var(--text-primary);
}

.checkbox-label:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

.checkbox-label span:last-child {
  flex: 1;
  word-wrap: break-word;
}

/* Radio Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  padding: 0.625rem 0.875rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  color: var(--text-primary);
}

.radio-label:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: var(--primary-color);
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

/* Calculator Result */
.calculator-result {
  padding: 1.5rem;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  text-align: center;
  color: white;
}

.calculator-result h3 {
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  margin-bottom: 1.25rem;
  color: white;
}

.result-display {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.result-currency {
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.currency-flag {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.375rem;
}

.currency-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  opacity: 0.9;
}

.result-amount {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  display: block;
}

.disclaimer {
  font-size: 0.625rem;
  opacity: 0.8;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.btn-block {
  width: 100%;
  justify-content: center;
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  padding: 0.875rem 1.5rem;
}

.btn-block:hover {
  background: transparent;
  color: white;
}

@media (min-width: 768px) {
  .calculator-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-display {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .result-display {
    grid-template-columns: repeat(4, 1fr);
  }

  .result-amount {
    font-size: 1.5rem;
  }
}

/* ========================================
   Testimonials Section - FIXED
======================================== */
.testimonials-section {
  background: var(--bg-gradient);
}

.testimonials-swiper {
  max-width: 100%;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.testimonial-card {
  padding: 2rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  text-align: center;
  height: 100%;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--glass-shadow-hover);
  transform: translateY(-5px);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.testimonial-text {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 45px;
  height: 45px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
}

.author-info {
  text-align: left;
}

.author-info cite {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  display: block;
  color: var(--text-primary);
}

.author-info span {
  color: var(--text-secondary);
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

.swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  width: 35px;
  height: 35px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 2.5rem;
  }
}

/* ========================================
   Contact Section - FIXED
======================================== */
.contact-section {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-info {
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.contact-info h3 {
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.contact-item i {
  width: 45px;
  height: 45px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-item p {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  margin-bottom: 0;
  color: var(--text-secondary);
  word-wrap: break-word;
}

.contact-item a {
  color: var(--text-secondary);
  transition: color var(--transition-normal);
  word-break: break-all;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 42px;
  height: 42px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all var(--transition-normal);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
  transform: translateY(-3px);
}

.contact-form {
  padding: 2rem 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  resize: vertical;
  transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  min-height: 100px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-info,
  .contact-form {
    padding: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   Footer - FIXED
======================================== */
.footer {
  padding: 60px 1rem 25px;
  background: var(--bg-gradient);
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-about h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
}

.footer-about p {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  margin-bottom: 1rem;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
}

.footer-links li,
.footer-services li {
  padding: 0.4rem 0;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-services li {
  color: var(--text-secondary);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  min-width: 0;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.newsletter-form button {
  padding: 0.75rem 1rem;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-md);
  color: white;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.newsletter-form button:hover {
  transform: translateX(3px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.footer-bottom p {
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  margin-bottom: 0;
  color: var(--text-secondary);
}

.footer-reviews {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
  flex-wrap: wrap;
  justify-content: center;
}

.rating-stars {
  display: flex;
  gap: 0.125rem;
}

.rating-stars i {
  color: #fbbf24;
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

@media (min-width: 768px) {
  .footer {
    padding: 80px 1.5rem 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* ========================================
   Scroll to Top Button - FIXED Position
======================================== */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: var(--primary-gradient);
  color: white;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

@media (min-width: 768px) {
  .scroll-top {
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* ========================================
   Google Translate - FIXED
======================================== */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-gadget-simple {
  background: var(--glass-bg) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-sm) !important;
  padding: 5px !important;
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   Utility - Prevent Overflow
======================================== */
.no-overflow {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ========================================
   Responsive Utilities
======================================== */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  /* Ensure all text is readable on mobile */
  body {
    font-size: 16px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-top,
  .scroll-indicator,
  .hamburger-menu {
    display: none !important;
  }
}
