/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/*==================== FUERA DE LA CAJA - MAIN STYLES ====================*/
/*
 * Fuera de la Caja - Agencia de Diseño Web
 * Estilos principales del sitio web
 * Última actualización: 22 de agosto de 2025
 * Versión: 2.0.0
 * Tecnologías: CSS3, Flexbox, Grid, Animations, Custom Properties
 */

/*==================== VARIABLES CSS ====================*/
:root {
  --header-height: 3.5rem;
  
  /*========== Colors ==========*/
  /* Primary colors */
  --primary-color: #667eea;
  --primary-color-alt: #764ba2;
  --secondary-color: #f093fb;
  --secondary-color-alt: #f5576c;
  
  /* Neutral colors */
  --title-color: #1a1a2e;
  --text-color: #4a4a68;
  --text-color-light: #6b6b85;
  --body-color: #fafafa;
  --container-color: #ffffff;
  --border-color: #e8e8f3;
  --shadow-color: rgba(26, 26, 46, 0.1);
  
  /* Accent colors */
  --accent-color: #ff6b6b;
  --success-color: #51cf66;
  --warning-color: #ffd43b;
  --error-color: #ff6b6b;
  
  /* Focus and interaction states */
  --focus-color: #4c63d2;
  --focus-shadow: 0 0 0 3px rgba(76, 99, 210, 0.3);
  --hover-transition: all 0.2s ease-in-out;
  
  /*========== Font and Typography ==========*/
  --body-font: 'Inter', sans-serif;
  --title-font: 'Space Grotesk', sans-serif;
  
  --biggest-font-size: 3rem;
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  
  /*========== Font Weight ==========*/
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  
  /*========== Margins Bottom ==========*/
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  
  /*========== Z Index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  
  /*========== Transitions ==========*/
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /*========== Border Radius ==========*/
  --border-radius-sm: 0.5rem;
  --border-radius-md: 1rem;
  --border-radius-lg: 1.5rem;
  --border-radius-xl: 2rem;
  
  /*========== Shadows ==========*/
  --shadow-sm: 0 2px 8px var(--shadow-color);
  --shadow-md: 0 4px 16px var(--shadow-color);
  --shadow-lg: 0 8px 32px var(--shadow-color);
  --shadow-xl: 0 16px 64px var(--shadow-color);
}

/*==================== MEDIA QUERIES - MOBILE FIRST ====================*/

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM - CLEAN & ORGANIZED
   ========================================================================== */

/* Small Mobile Devices (hasta 480px) */
@media screen and (max-width: 480px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 0.875rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
  
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--container-color);
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    transition: right 0.3s ease;
    z-index: var(--z-fixed);
  }
  
  .nav__menu.show-menu {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
    text-align: center;
  }
  
  .nav__toggle,
  .nav__close {
    display: block;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
  }
  
  .services__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .portfolio__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Hero responsive adjustments */
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero__content-wrapper {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .hero__title-primary {
    font-size: var(--h2-font-size);
  }
  
  .hero__title-accent {
    font-size: var(--h1-font-size);
  }
  
  .hero__features {
    justify-content: center;
    gap: 1rem;
  }
  
  .hero__feature {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  
  .hero__actions {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .hero__actions .button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .hero__visual-wrapper {
    height: 350px;
  }
  
  .hero__blob {
    width: 280px;
    height: 280px;
  }
  
  .floating-element {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .hero__tech-stack {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .tech-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* Large Mobile Devices / Small Tablets (481px - 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .container {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  
  /* Hero responsive for large mobile */
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .hero__content-wrapper {
    padding: 1.75rem;
  }
  
  .hero__features {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero__actions .button {
    width: auto;
    min-width: 140px;
  }
  
  .hero__visual-wrapper {
    height: 400px;
  }
  
  .hero__blob {
    width: 320px;
    height: 320px;
  }
  
  .services__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .portfolio__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--container-color);
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    transition: right 0.3s ease;
    z-index: var(--z-fixed);
  }
  
  .nav__toggle,
  .nav__close {
    display: block;
  }
}

/* Tablets (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 750px;
  }
  
  /* Hero responsive for tablets */
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .hero__content-wrapper {
    padding: 2rem;
    text-align: left;
  }
  
  .hero__features {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .hero__feature {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
  
  .hero__actions {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .hero__stats {
    justify-content: flex-start;
  }
  
  /* Navigation: Desktop mode */
  .nav__toggle,
  .nav__close {
    display: none;
  }
  
  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
  }
  
  .nav__list {
    flex-direction: row;
    column-gap: 2rem;
    row-gap: 0;
    text-align: left;
  }
  
  .services__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .portfolio__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .about__container {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

/* Desktop Small (1025px - 1199px) */
@media screen and (min-width: 1025px) and (max-width: 1199px) {
  .container {
    max-width: 980px;
  }
  
  /* Navigation: Desktop mode */
  .nav__toggle,
  .nav__close {
    display: none;
  }
  
  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
  }
  
  .nav__list {
    flex-direction: row;
    column-gap: 2.5rem;
    row-gap: 0;
    text-align: left;
  }
  
  .services__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .portfolio__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .about__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

/* Desktop Large (1200px+) */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Navigation: Desktop mode */
  .nav__toggle,
  .nav__close {
    display: none;
  }
  
  .nav__menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    padding: 0;
  }
  
  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
    row-gap: 0;
    text-align: left;
  }
  
  .services__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
  
  .portfolio__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .hero__container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  
  .about__container {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }
  
  .section {
    padding: 6rem 0 4rem;
  }
}

/* Extra Large Desktop (1400px+) */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .services__container {
    grid-template-columns: repeat(4, 1fr);
    gap: 3.5rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--hover-transition);
}

/* Enhanced focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus-color);
  outline-offset: 2px;
  box-shadow: var(--focus-shadow);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-color: #000000;
    --title-color: #000000;
    --border-color: #000000;
    --shadow-color: rgba(0, 0, 0, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/*==================== REUSABLE CSS CLASSES ====================*/
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.grid {
  display: grid;
}

.section {
  padding: 6rem 0 2rem;
}

.section__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 2px;
}

.section__subtitle {
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  max-width: 600px;
  margin: 0 auto;
}

/*==================== BUTTONS ====================*/
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-md);
  font-weight: var(--font-medium);
  font-size: var(--normal-font-size);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 44px; /* WCAG minimum touch target */
  min-width: 44px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-color-alt), var(--primary-color));
}

/* Enhanced focus states for accessibility */
.button:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
  transform: translateY(-1px);
}

/* Button shimmer effect */
.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left var(--transition-slow);
}

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

/* Button variants */
.button--outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
}

.button--outline:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button--outline:focus-visible {
  background: var(--primary-color);
  color: #fff;
}

.button--secondary {
  background: var(--background-color);
  color: var(--text-color);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.button--secondary:hover {
  background: var(--text-color);
  color: var(--background-color);
  border-color: var(--text-color);
}

.button--primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
}

.button--full {
  width: 100%;
}

/* Button states */
.button:disabled,
.button--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.button--loading {
  pointer-events: none;
  opacity: 0.8;
}

.button__text {
  transition: opacity var(--transition-fast);
}

.button__loader {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-fast);
  animation: spin 1s linear infinite;
}

.button--loading .button__text {
  opacity: 0;
}

.button--loading .button__loader {
  opacity: 1;
}

/* Icon buttons */
.button--icon {
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
}

.button--small {
  padding: 0.5rem 1rem;
  font-size: var(--small-font-size);
  min-height: 36px;
}

.button--large {
  padding: 1.25rem 2.5rem;
  font-size: var(--h3-font-size);
  min-height: 52px;
}

.loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ==========================================================================
   10. ANIMATIONS & TRANSITIONS
   ========================================================================== */

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
  .section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .section.show {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger animations for grid items */
  .services__card,
  .blog__card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .services__card.animate,
  .blog__card.animate {
    opacity: 1;
    transform: translateY(0);
  }

  .services__card:nth-child(1) { transition-delay: 0.1s; }
  .services__card:nth-child(2) { transition-delay: 0.2s; }
  .services__card:nth-child(3) { transition-delay: 0.3s; }
  .services__card:nth-child(4) { transition-delay: 0.4s; }

  .blog__card:nth-child(1) { transition-delay: 0.1s; }
  .blog__card:nth-child(2) { transition-delay: 0.2s; }
  .blog__card:nth-child(3) { transition-delay: 0.3s; }
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent
  );
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Pulse animation for CTAs */
.pulse {
  animation: pulse 2s infinite;
}

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

/* Fade in animation */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

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

/* Slide in animations */
.slide-in-left {
  animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s ease forwards;
}

@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);
  }
}

/*==================== HEADER & NAV ====================*/
.header {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--title-color);
  font-weight: var(--font-bold);
  font-size: 1.25rem;
  font-family: var(--title-font);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.nav__logo:hover .logo-icon {
  transform: scale(1.02);
}

.logo-text {
  color: var(--title-color);
  display: inline-block;
  white-space: nowrap;
  font-weight: var(--font-medium);
}

.nav__menu {
  display: flex;
  align-items: center;
}

/* Default desktop styles - will be overridden on mobile */
.nav__list {
  display: flex;
  flex-direction: row;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  text-decoration: none;
  transition: var(--hover-transition);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-alt));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__link.active-link {
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
}

/* Navigation buttons */
.nav__buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 2rem;
}

.nav__login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  color: white;
  box-shadow: var(--shadow-sm);
}

.nav__login-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav__login-btn i {
  font-size: 1rem;
}

.nav__toggle,
.nav__close {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  min-width: 44px;
  min-height: 44px;
  display: none; /* Hidden by default, shown on mobile */
  align-items: center;
  justify-content: center;
}

.nav__toggle:hover,
.nav__close:hover {
  color: var(--primary-color);
  background: var(--container-color);
}

.nav__toggle:focus-visible,
.nav__close:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 2px;
  color: var(--primary-color);
}

/* Show menu */
.show-menu {
  right: 0;
}

/* Active link */
.active-link {
  color: var(--primary-color);
}

/* Change background header */
.scroll-header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

/*==================== HERO SECTION - MODERN STRUCTURE ====================*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  overflow: hidden;
}

/* Background System */
.hero__background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__background-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.hero__background-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(240, 147, 251, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(245, 87, 108, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
  animation: gradientShift 8s ease-in-out infinite;
}

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

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Container and Layout */
.hero__container {
  position: relative;
  z-index: 2;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

/* Content Area */
.hero__content {
  animation: slideInLeft 1s ease-out;
}

.hero__content-wrapper {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Enhanced Title System */
.hero__title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero__title-primary {
  display: block;
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 0.5rem;
  animation: typeWriter 1.5s steps(20) 0.5s both;
  overflow: hidden;
  border-right: 3px solid transparent;
}

.hero__title-accent {
  display: block;
  font-size: var(--biggest-font-size);
  font-weight: var(--font-black);
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientFlow 3s ease-in-out infinite;
  position: relative;
}

.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B6B);
  border-radius: 2px;
  animation: shimmer 2s ease-in-out infinite;
}

.hero__title-subtitle {
  display: block;
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  font-style: italic;
  animation: fadeInUp 1s ease-out 1s both;
}

@keyframes typeWriter {
  0% { width: 0; border-right-color: #FFD700; }
  90% { border-right-color: #FFD700; }
  100% { width: 100%; border-right-color: transparent; }
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.7; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.05); }
}

/* Description */
.hero__description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero__description strong {
  color: #FFD700;
  font-weight: var(--font-bold);
}

/* Features */
.hero__features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 1.2s both;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.hero__feature-icon {
  font-size: 1.25rem;
  color: #4ECDC4;
  background: rgba(78, 205, 196, 0.15);
  padding: 0.5rem;
  border-radius: 50%;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

/* Actions/Buttons */
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 1.5s both;
}

.hero__actions .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: var(--font-semibold);
}

.hero__actions .button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.hero__actions .button:hover::before {
  left: 100%;
}

.hero__actions .button--primary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero__actions .button--primary:hover {
  background: #ffffff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero__actions .button--outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.hero__actions .button--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Visual Area */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease-out 0.3s both;
}

.hero__visual-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
}

/* Illustration */
.hero__illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero__blob {
  width: 450px;
  height: 450px;
  position: relative;
  animation: floatBounce 8s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.hero__blob:hover {
  animation-play-state: paused;
  transform: scale(1.02) rotate(1deg);
}

/* Code Editor Styles */
.code-editor {
  background: rgba(30, 30, 46, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(-5deg);
  animation: codeEditorFloat 6s ease-in-out infinite;
  z-index: 2;
}

.editor-header {
  background: rgba(40, 40, 55, 0.9);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}

.control.red {
  background: #ff5f56;
  box-shadow: 0 0 10px rgba(255, 95, 86, 0.5);
}

.control.yellow {
  background: #ffbd2e;
  box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}

.control.green {
  background: #27ca3f;
  box-shadow: 0 0 10px rgba(39, 202, 63, 0.5);
}

.editor-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-family: 'Fira Code', monospace;
}

.editor-content {
  padding: 16px;
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  line-height: 1.5;
}

.code-line {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
  padding: 2px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.code-line.active {
  background: rgba(103, 126, 234, 0.1);
  border-left: 3px solid #667eea;
  padding-left: 8px;
}

.line-number {
  color: rgba(255, 255, 255, 0.3);
  width: 20px;
  text-align: right;
  margin-right: 16px;
  font-size: 10px;
}

.code-html {
  color: #ff9500;
}

.code-css {
  color: #00d4aa;
}

.cursor {
  width: 1px;
  height: 14px;
  background: #667eea;
  animation: blink 1s infinite;
  margin-left: 2px;
}

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

@keyframes codeEditorFloat {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  25% { transform: rotate(-3deg) translateY(-10px); }
  50% { transform: rotate(-7deg) translateY(-5px); }
  75% { transform: rotate(-2deg) translateY(-15px); }
}

/* Browser Window Styles */
.browser-window {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: rotate(3deg);
  animation: browserFloat 7s ease-in-out infinite;
  z-index: 1;
}

.browser-header {
  background: rgba(245, 245, 245, 0.9);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.browser-controls {
  display: flex;
  gap: 8px;
}

.address-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.address-bar i {
  color: #22c55e;
  font-size: 14px;
}

.browser-content {
  padding: 20px;
  min-height: 120px;
}

.webpage-mockup {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  padding: 16px;
  min-height: 100px;
}

.mockup-header {
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  margin-bottom: 12px;
  animation: mockupPulse 2s ease-in-out infinite;
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-text {
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: mockupPulse 2s ease-in-out infinite;
  animation-delay: 0.5s;
}

.mockup-text.short {
  width: 60%;
  animation-delay: 1s;
}

.mockup-button {
  width: 40px;
  height: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  margin-top: 8px;
  animation: mockupPulse 2s ease-in-out infinite;
  animation-delay: 1.5s;
}

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

@keyframes browserFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  25% { transform: rotate(5deg) translateY(-8px); }
  50% { transform: rotate(1deg) translateY(-12px); }
  75% { transform: rotate(4deg) translateY(-6px); }
}

/* Code Symbols Background */
.code-symbols {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
  overflow: hidden;
}

.symbol {
  position: absolute;
  font-family: 'Fira Code', monospace;
  font-weight: bold;
  color: #667eea;
  animation: symbolFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.symbol-1 {
  font-size: 24px;
  top: 10%;
  left: 15%;
  animation-delay: -2s;
}

.symbol-2 {
  font-size: 18px;
  top: 60%;
  right: 20%;
  animation-delay: -4s;
}

.symbol-3 {
  font-size: 14px;
  bottom: 20%;
  left: 10%;
  animation-delay: -6s;
}

.symbol-4 {
  font-size: 16px;
  top: 30%;
  right: 15%;
  animation-delay: -8s;
}

.symbol-5 {
  font-size: 20px;
  bottom: 40%;
  right: 30%;
  animation-delay: -1s;
}

@keyframes symbolFloat {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
    opacity: 0.1;
  }
  25% { 
    transform: translateY(-20px) rotate(5deg); 
    opacity: 0.2;
  }
  50% { 
    transform: translateY(-10px) rotate(-3deg); 
    opacity: 0.15;
  }
  75% { 
    transform: translateY(-30px) rotate(2deg); 
    opacity: 0.25;
  }
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
  75% { transform: translateY(-25px) rotate(0.5deg); }
}

/* Floating Elements */
.hero__floating-elements {
  position: absolute;
  inset: 0;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
}

.floating-element:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.element-code {
  top: 15%;
  left: 10%;
  color: #FFD700;
  animation: floating-1 4s ease-in-out infinite;
}

.element-design {
  top: 20%;
  right: 15%;
  color: #FF6B6B;
  animation: floating-2 5s ease-in-out infinite;
}

.element-responsive {
  bottom: 30%;
  left: 5%;
  color: #4ECDC4;
  animation: floating-3 6s ease-in-out infinite;
}

.element-speed {
  bottom: 20%;
  right: 10%;
  color: #A8E6CF;
  animation: floating-4 4.5s ease-in-out infinite;
}

.element-seo {
  top: 60%;
  left: -15%;
  color: #22c55e;
  animation: floating-5 5.5s ease-in-out infinite;
}

.element-database {
  top: 50%;
  right: -12%;
  color: #a855f7;
  animation: floating-6 4.8s ease-in-out infinite;
}

.element-security {
  bottom: 50%;
  right: -8%;
  color: #14b8a6;
  animation: floating-7 5.2s ease-in-out infinite;
}

.element-analytics {
  top: 35%;
  left: -8%;
  color: #f97316;
  animation: floating-8 4.3s ease-in-out infinite;
}

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

@keyframes floating-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-180deg); }
}

@keyframes floating-3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(180deg); }
}

@keyframes floating-4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-180deg); }
}

@keyframes floating-5 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-12px) rotate(45deg) scale(1.1); }
  50% { transform: translateY(-20px) rotate(90deg) scale(0.9); }
  75% { transform: translateY(-8px) rotate(135deg) scale(1.05); }
}

@keyframes floating-6 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  33% { transform: translateY(-25px) rotate(-120deg) scale(1.15); }
  66% { transform: translateY(-5px) rotate(-240deg) scale(0.85); }
}

@keyframes floating-7 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  20% { transform: translateY(-15px) rotate(72deg) scale(1.1); }
  40% { transform: translateY(-30px) rotate(144deg) scale(0.9); }
  60% { transform: translateY(-10px) rotate(216deg) scale(1.05); }
  80% { transform: translateY(-22px) rotate(288deg) scale(0.95); }
}

@keyframes floating-8 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  30% { transform: translateY(-18px) rotate(-108deg) scale(1.12); }
  60% { transform: translateY(-8px) rotate(-216deg) scale(0.88); }
  90% { transform: translateY(-28px) rotate(-324deg) scale(1.08); }
}

/* Tech Stack */
.hero__tech-stack {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 1s ease-out 2s both;
}

.tech-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover {
  transform: translateY(-8px) scale(1.1);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.tech-label {
  font-size: 0.875rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-html .tech-label { color: #E34C26; }
.tech-css .tech-label { color: #1572B6; }
.tech-js .tech-label { color: #F7DF1E; background: #323330; padding: 0.25rem 0.5rem; border-radius: 4px; }
.tech-react .tech-label { color: #61DAFB; }

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeIn 1s ease-out 2.5s both;
  cursor: pointer;
  z-index: 3;
}

.hero__scroll-text {
  font-size: var(--small-font-size);
  margin-bottom: 0.5rem;
  font-weight: var(--font-medium);
}

.hero__scroll-arrow {
  font-size: 1.5rem;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

/*==================== SERVICES ====================*/
.services {
  position: relative;
  padding: 4rem 0;
}

.services__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.services__card {
  background: var(--container-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.services__card:hover::before {
  transform: scaleX(1);
}

.services__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.3);
}

.services__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
  position: relative;
  transition: all var(--transition-normal);
}

.services__card:hover .services__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.services__title {
  font-size: var(--h3-font-size);
  margin-bottom: 0.75rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.services__description {
  color: var(--text-color);
  line-height: 1.6;
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
}

.services__features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services__features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-size: var(--smaller-font-size);
  line-height: 1.4;
}

.services__features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
  font-size: 1rem;
}

/* Compact features for space optimization */
.services__features--compact {
  margin-bottom: var(--mb-1);
}

.services__features--compact li {
  margin-bottom: 0.5rem;
  font-size: var(--small-font-size);
  line-height: 1.4;
  padding-left: 0;
  text-align: center;
}

.services__features--compact li:before {
  display: none;
}

.services__tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: var(--mb-1) 0;
  justify-content: center;
}

.tech-badge {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.05));
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  border: 1px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.1));
  transform: translateY(-1px);
}

.services__extras {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: var(--mb-1);
  padding-top: var(--mb-1);
  border-top: 1px solid var(--border-color);
}

.extra-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  justify-content: center;
}

.extra-item i {
  color: var(--primary-color);
  font-size: 1rem;
}

.extra-item span {
  font-weight: var(--font-medium);
}

/*==================== FEATURED SERVICE CARD ====================*/
.services__card--featured {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--container-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  box-shadow: 
    0 10px 25px rgba(102, 126, 234, 0.15),
    0 3px 10px rgba(102, 126, 234, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services__card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.02) 100%);
  opacity: 1;
  transition: opacity 0.4s ease;
}

.services__card--featured:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 18px 35px rgba(102, 126, 234, 0.25),
    0 6px 18px rgba(102, 126, 234, 0.15);
}

.services__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0.75rem;
  z-index: 2;
}

.services__badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #ffd43b, #ffb700);
  color: #1a1a1a;
  padding: 0.4rem 0.8rem;
  border-radius: 0 0 0.75rem 0.75rem;
  font-size: 0.7rem;
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(255, 212, 59, 0.3);
}

.services__icon--featured {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  color: white;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 
    0 6px 18px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.services__content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem 0.75rem;
  text-align: center;
}

.services__title--featured {
  color: var(--container-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.1);
  line-height: 1.2;
}

.services__card--featured .services__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-1);
  line-height: 1.5;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

.services__price {
  margin: var(--mb-1) 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.services__price-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.services__price-label {
  font-size: 0.7rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: var(--font-medium);
}

.services__price-amount {
  font-size: 2.2rem;
  font-weight: var(--font-black);
  color: #ffd43b;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  line-height: 1;
}

.services__price-currency {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  opacity: 0.9;
}

.services__features--featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
  gap: 0.5rem;
  margin: var(--mb-1) 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.feature-item i {
  font-size: 1.1rem;
  color: #ffd43b;
  margin-bottom: 0.1rem;
}

.feature-item span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-weight: var(--font-medium);
  line-height: 1.2;
}

.services__cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.25rem;
}

.button--featured {
  background: linear-gradient(135deg, #51cf66, #40c057);
  border: 2px solid #51cf66;
  color: white;
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: 
    0 6px 18px rgba(81, 207, 102, 0.3),
    0 2px 6px rgba(81, 207, 102, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button--featured:hover {
  background: linear-gradient(135deg, #40c057, #37b24d);
  transform: translateY(-2px);
  box-shadow: 
    0 10px 25px rgba(81, 207, 102, 0.4),
    0 4px 12px rgba(81, 207, 102, 0.3);
}

.services__card--featured .button--outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
}

.services__card--featured .button--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .services__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services__card--featured {
    margin: 0;
  }
  
  .services__header {
    padding: 1rem 1.25rem 0.5rem;
  }
  
  .services__content {
    padding: 0 1.25rem 0.5rem;
  }
  
  .services__cta {
    padding: 0.75rem 1.25rem 1rem;
  }
  
  .services__price-amount {
    font-size: 2rem;
  }
  
  .services__features--featured {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    padding: 0.75rem;
  }
  
  .feature-item {
    padding: 0.4rem 0.2rem;
  }
  
  .feature-item span {
    font-size: 0.6rem;
  }
  
  .services__badge {
    right: 1.25rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1023px) {
  .services__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .services__features--featured {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .services__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .services__features--featured {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

/*==================== PORTFOLIO ====================*/
.portfolio {
  padding: 6rem 0;
  background: var(--body-color);
}

.portfolio__container {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.portfolio__card {
  background: var(--container-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
}

.portfolio__card.animate {
  opacity: 1;
  transform: translateY(0);
}

.portfolio__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio__img {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--container-color), var(--body-color));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.portfolio__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.portfolio__card:hover .portfolio__image {
  transform: scale(1.02);
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.portfolio__card:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__view-btn,
.portfolio__external-link {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 0.8rem;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
}

.portfolio__view-btn:hover,
.portfolio__external-link:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.portfolio__content {
  padding: 2rem;
}

.portfolio__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.portfolio__description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: var(--mb-1);
  font-size: var(--small-font-size);
}

.portfolio__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio__tag {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.05));
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

/*==================== PORTFOLIO MODAL ====================*/
.portfolio__modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio__modal.active {
  opacity: 1;
  visibility: visible;
}

.portfolio__modal.show .portfolio__modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.portfolio__modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.portfolio__modal-content {
  position: relative;
  background: var(--container-color);
  border-radius: var(--border-radius-xl);
  max-width: 95vw;
  max-height: 90vh;
  width: 1200px;
  overflow-y: auto;
  overflow-x: hidden;
  transform: scale(0.9) translateY(50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.portfolio__modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  color: var(--text-color);
}

.portfolio__modal-close:hover {
  background: white;
  transform: scale(1.1);
}

.portfolio__modal-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 10;
  pointer-events: none;
}

.portfolio__nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  color: var(--text-color);
  pointer-events: all;
}

.portfolio__nav-btn:hover {
  background: white;
  transform: scale(1.1);
}

.portfolio__modal-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 400px;
  height: auto;
}

.portfolio__modal-image {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: linear-gradient(135deg, var(--container-color), var(--body-color));
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio__modal-image img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  object-position: center;
  min-height: 250px;
  border-radius: var(--border-radius-md);
}

.portfolio__modal-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}

.portfolio__modal-title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
  font-weight: var(--font-bold);
}

.portfolio__modal-description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: var(--mb-2);
}

.portfolio__modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--mb-2);
}

.portfolio__modal-tag {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.05));
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.portfolio__modal-details {
  margin: var(--mb-1-5) 0;
  background: var(--body-color);
  border-radius: var(--border-radius-md);
  padding: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item strong {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

.portfolio__modal-actions {
  display: flex;
  gap: 1rem;
}

/* Responsive Modal */
@media screen and (max-width: 768px) {
  .portfolio__modal-content {
    max-width: 98vw;
    max-height: 95vh;
    width: auto;
    margin: 0.5rem;
  }
  
  .portfolio__modal-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .portfolio__modal-image {
    min-height: 250px;
    max-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--container-color), var(--body-color));
  }
  
  .portfolio__modal-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    object-position: center;
    min-height: 225px;
    max-height: 275px;
    border-radius: var(--border-radius-md);
  }
  
  .portfolio__modal-info {
    padding: 1.5rem;
    max-height: none;
  }
  
  .portfolio__modal-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .portfolio__modal-navigation {
    padding: 0 0.5rem;
  }
  
  .portfolio__nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .portfolio__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .portfolio__modal-content {
    max-width: 98vw;
    max-height: 98vh;
    margin: 0.5rem;
  }
  
  .portfolio__modal-image {
    min-height: 200px;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--container-color), var(--body-color));
  }
  
  .portfolio__modal-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    object-position: center;
    min-height: 180px;
    max-height: 225px;
    border-radius: var(--border-radius-md);
  }
  
  .portfolio__modal-info {
    padding: 1rem;
  }
  
  .portfolio__modal-title {
    font-size: var(--h3-font-size);
  }
  
  .portfolio__modal-close {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
  
  .portfolio__nav-btn {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
  }
}

/*==================== ABOUT ====================*/
.about {
  padding: 6rem 0;
  background: var(--container-color);
}

.about__container {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about__img {
  position: relative;
}

.about__img img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.about__img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.about__img::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-alt));
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
}

.about__data {
  position: relative;
}

.about__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  color: var(--title-color);
}

.about__description {
  margin-bottom: var(--mb-2);
  color: var(--text-color);
  line-height: 1.7;
}

.about__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: var(--mb-2);
}

.about__info-item {
  text-align: center;
  padding: 1rem;
  background: var(--body-color);
  border-radius: var(--border-radius-md);
}

.about__info-number {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  font-family: var(--title-font);
}

.about__info-title {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
}

/* Additional About styles for current HTML structure */
.about__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__blob {
  width: 300px;
  height: 300px;
  position: relative;
  z-index: 1;
}

.about__blob svg {
  width: 100%;
  height: 100%;
  animation: float 3s ease-in-out infinite;
}

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

.about__team {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: 2;
}

.team__members {
  display: flex;
  gap: -10px;
}

.team__member {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: 3px solid white;
  position: relative;
  margin-left: -10px;
  transition: all var(--transition-normal);
}

.team__member:hover {
  transform: scale(1.1);
  z-index: 3;
}

.about__stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.about__stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--body-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.about__stat-number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: var(--title-font);
}

.about__stat-text {
  color: var(--text-color);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

/*==================== CONTACT ====================*/
.contact {
  padding: 6rem 0;
  background: var(--container-color);
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact__form {
  background: var(--body-color);
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-alt));
}

/* Contact Info Styles */
.contact__info {
  background: var(--body-color);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  position: relative;
}

.contact__info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-alt));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.contact__info-title {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: 2rem;
  font-weight: var(--font-semi-bold);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.contact__item:hover {
  background: rgba(102, 126, 234, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contact__content h4 {
  font-size: var(--h4-font-size);
  color: var(--title-color);
  margin-bottom: 0.25rem;
  font-weight: var(--font-semi-bold);
}

.contact__content p {
  color: var(--text-color);
  font-size: var(--normal-font-size);
  line-height: 1.6;
}

.contact__email-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.contact__email-link:hover {
  color: var(--primary-color-alt);
  text-decoration: underline;
}

/* Contact Social Links */
.contact__social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--container-color);
  color: var(--text-color);
  border-radius: 50%;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.contact__social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
  border-color: var(--primary-color-alt);
}

.contact__group {
  position: relative;
  margin-bottom: 2rem;
}

.contact__input {
  width: 100%;
  padding: 1.25rem 1rem;
  background: var(--body-color);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: all var(--transition-normal);
}

.contact__input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact__label {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  color: var(--text-color-light);
  transition: all var(--transition-normal);
  pointer-events: none;
  background: var(--body-color);
  padding: 0 0.5rem;
}

.contact__input:focus ~ .contact__label,
.contact__input:not(:placeholder-shown) ~ .contact__label {
  top: -0.5rem;
  font-size: var(--small-font-size);
  color: var(--primary-color);
}

.contact__textarea {
  resize: vertical;
  min-height: 150px;
}

/* Form Styles - Matching HTML classes */
.form__group {
  position: relative;
  margin-bottom: 2rem;
  z-index: 1;
}

.form__group--textarea {
  margin-bottom: 1.5rem;
}

.form__group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.form__input {
  width: 100%;
  padding: 1.25rem 1rem;
  background: var(--body-color);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: var(--normal-font-size);
  color: var(--text-color);
  transition: all var(--transition-normal);
  font-family: var(--body-font);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form__input::placeholder {
  color: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form__input:focus::placeholder {
  color: var(--text-color-light);
  opacity: 0.6;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 1rem;
  line-height: 1.6;
}

.form__label {
  position: absolute;
  top: 1.25rem;
  left: 1rem;
  color: var(--text-color-light);
  transition: all var(--transition-normal);
  pointer-events: none;
  background: var(--body-color);
  padding: 0 0.5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  z-index: 10 !important;
  border-radius: 2px;
}

/* Unified label positioning for all input states */
.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label,
.form__input:valid ~ .form__label {
  top: -0.5rem;
  font-size: var(--smaller-font-size);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
}

/* Special handling for select elements */
.form__input[type="text"]:not(:placeholder-shown) ~ .form__label,
.form__input[type="email"]:not(:placeholder-shown) ~ .form__label,
.form__input[type="tel"]:not(:placeholder-shown) ~ .form__label {
  top: -0.5rem;
  font-size: var(--smaller-font-size);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
}

/* Select specific styles */
.form__input[name="service"] {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 3rem;
}

.form__input[name="service"]:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Label positioning for select when an option is selected */
.form__group:has(select) .form__label {
  top: 1.25rem;
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
}

.form__group:has(select:focus) .form__label,
.form__group:has(select[value]:not([value=""])) .form__label,
.form__group:has(select.has-value) .form__label {
  top: -0.5rem !important;
  font-size: var(--smaller-font-size) !important;
  color: var(--primary-color) !important;
  font-weight: var(--font-semi-bold) !important;
}

/* Fallback for browsers that don't support :has() */
.form__input[name="service"]:focus ~ .form__label,
.form__input[name="service"].has-value ~ .form__label {
  top: -0.5rem !important;
  font-size: var(--smaller-font-size) !important;
  color: var(--primary-color) !important;
  font-weight: var(--font-semi-bold) !important;
}

/* Special handling for textarea */
.form__group--textarea .form__label {
  top: 1rem;
}

.form__group--textarea .form__textarea:focus ~ .form__label,
.form__group--textarea .form__textarea:not(:placeholder-shown) ~ .form__label,
.form__group--textarea .form__textarea:valid ~ .form__label {
  top: -0.5rem;
  font-size: var(--smaller-font-size);
  color: var(--primary-color);
  font-weight: var(--font-semi-bold);
}

/* Error state for required fields */
.form__input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--error-color);
}

.form__input:invalid:not(:placeholder-shown):not(:focus) ~ .form__label {
  color: var(--error-color);
}

.form__checkbox-label {
  color: var(--text-color);
  font-size: var(--small-font-size);
  line-height: 1.5;
  cursor: pointer;
  display: block;
}

.form__group--checkbox input[type="checkbox"] {
  width: auto;
  min-width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.form__link {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color var(--transition-normal);
}

.form__link:hover {
  color: var(--primary-color-alt);
}

.form__message {
  padding: 1rem;
  border-radius: var(--border-radius-md);
  margin-top: 1rem;
  font-size: var(--small-font-size);
  text-align: center;
  font-weight: var(--font-medium);
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.form__message.show {
  opacity: 1;
  transform: translateY(0);
}

.form__message.success {
  background: rgba(81, 207, 102, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(81, 207, 102, 0.3);
}

.form__message.error {
  background: rgba(255, 107, 107, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

/*==================== FAQ ====================*/
.faq {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--container-color) 0%, rgba(102, 126, 234, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
}

.faq::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    opacity: 0.03;
    animation: float 8s ease-in-out infinite reverse;
}

.faq__container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq__grid {
    display: grid;
    gap: 2rem;
}

.faq__item {
    background: var(--body-color);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    position: relative;
}

.faq__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.faq__item.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.faq__item:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    transform: translateY(-5px);
}

.faq__item:hover::before {
    transform: scaleX(1);
}

.faq__header {
    width: 100%;
    padding: 2rem 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
}

.faq__header:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(124, 58, 237, 0.03));
}

.faq__header[aria-expanded="true"] {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(124, 58, 237, 0.05));
}

.faq__header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.faq__number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.faq__header:hover .faq__number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.4);
}

.faq__question {
    font-size: 1.25rem;
    color: var(--title-color);
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.faq__header[aria-expanded="true"] .faq__question {
    color: var(--primary-color);
}

.faq__icon {
    width: 45px;
    height: 45px;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq__header[aria-expanded="true"] .faq__icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

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

.faq__header[aria-expanded="true"] + .faq__content {
    max-height: 400px;
}

.faq__answer-wrapper {
    padding: 0 2.5rem 2.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(124, 58, 237, 0.01));
    border-radius: 0 0 18px 18px;
}

.faq__answer {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.faq__answer strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Animation delays */
.faq__item:nth-child(1) { transition-delay: 0.1s; }
.faq__item:nth-child(2) { transition-delay: 0.2s; }
.faq__item:nth-child(3) { transition-delay: 0.3s; }
.faq__item:nth-child(4) { transition-delay: 0.4s; }
.faq__item:nth-child(5) { transition-delay: 0.5s; }
.faq__item:nth-child(6) { transition-delay: 0.6s; }

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

/* Responsive FAQ */
@media screen and (max-width: 768px) {
    .faq__header {
        padding: 1.5rem 1.25rem;
    }
    
    .faq__header-content {
        gap: 1rem;
    }
    
    .faq__number {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .faq__question {
        font-size: 1.1rem;
    }
    
    .faq__icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .faq__answer-wrapper {
        padding: 0 1.25rem 1.5rem;
    }
    
    .faq__answer {
        font-size: 0.95rem;
    }
}

/*==================== CONTACT ====================*/
.footer {
    position: relative;
    background: linear-gradient(135deg, #0f1729 0%, #1a2040 25%, #252d5c 50%, #2d1b69 75%, #1a1d4a 100%);
    color: #fff;
    overflow: hidden;
    margin-top: 4rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 25%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 75%, 
        transparent 100%);
}

.footer .container {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.footer__container {
    grid-template-columns: 1fr repeat(3, 0.8fr);
    gap: 1.5rem 1rem;
    margin-bottom: 1.5rem;
}

.footer__brand {
    padding-right: 2rem;
}

.footer__logo {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__description {
    margin: 0.75rem 0 1rem;
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.footer__social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.footer__social-link:hover::before {
    left: 100%;
}

.footer__social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.footer__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__title i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 0.4rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer__link i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer__link::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.footer__link:hover {
    color: #fff;
    padding-left: 15px;
}

.footer__link:hover i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.footer__link:hover::before {
    width: 10px;
}

.footer__info {
    list-style: none;
    padding: 0;
}

.footer__info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.footer__info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.footer__info-item i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer__info-content {
    flex: 1;
}

.footer__info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.footer__email-link,
.footer__phone-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer__email-link:hover,
.footer__phone-link:hover {
    color: var(--primary-color);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer__bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer__bottom-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer__copy {
    margin: 0;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer__copy i {
    color: var(--primary-color);
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__separator {
    color: var(--primary-color);
    font-weight: bold;
}

.footer__legal-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer__legal-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Security Badges */
.footer__security {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__security-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

.security-badge i {
    color: var(--first-color);
    font-size: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .footer__brand {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 576px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .footer__brand {
        grid-column: span 1;
    }
    
    .footer__bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer .container {
        padding-top: 3rem;
    }
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer__legal {
    justify-content: center;
  }
}

/* Animation Keyframes */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-100px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(100px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
  box-shadow: 0 0 20px currentColor;
  filter: blur(0.5px);
}

.particle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: inherit;
  border-radius: 50%;
  opacity: 0.3;
  animation: particleGlow 2s ease-in-out infinite alternate;
}

@keyframes particleGlow {
  0% { 
    transform: scale(0.8);
    opacity: 0.2;
  }
  100% { 
    transform: scale(1.5);
    opacity: 0.6;
  }
}

.particle-1 {
  width: 15px;
  height: 15px;
  background: linear-gradient(45deg, #FFD700, #FFA500);
  top: 20%;
  left: 10%;
  animation: particleFloat1 8s ease-in-out infinite;
  animation-delay: -2s;
}

.particle-2 {
  width: 10px;
  height: 10px;
  background: linear-gradient(45deg, #FF6B6B, #FF8E53);
  top: 60%;
  left: 20%;
  animation: particleFloat2 6s ease-in-out infinite;
  animation-delay: -1s;
}

.particle-3 {
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, #4ECDC4, #44A08D);
  top: 40%;
  right: 15%;
  animation: particleFloat3 7s ease-in-out infinite;
  animation-delay: -3s;
}

.particle-4 {
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #A8E6CF, #88D8A3);
  top: 80%;
  right: 30%;
  animation: particleFloat4 9s ease-in-out infinite;
  animation-delay: -0.5s;
}

.particle-5 {
  width: 18px;
  height: 18px;
  background: linear-gradient(45deg, #FFB6C1, #FFA0AC);
  top: 25%;
  right: 5%;
  animation: particleFloat5 5s ease-in-out infinite;
  animation-delay: -4s;
}

.particle-6 {
  width: 14px;
  height: 14px;
  background: linear-gradient(45deg, #DDA0DD, #DA70D6);
  bottom: 30%;
  left: 5%;
  animation: particleFloat6 10s ease-in-out infinite;
  animation-delay: -2.5s;
}

.particle-7 {
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, #7B68EE, #9370DB);
  top: 15%;
  left: 25%;
  animation: particleFloat7 7.5s ease-in-out infinite;
  animation-delay: -1.8s;
}

.particle-8 {
  width: 11px;
  height: 11px;
  background: linear-gradient(45deg, #20B2AA, #48D1CC);
  top: 70%;
  left: 40%;
  animation: particleFloat8 8.5s ease-in-out infinite;
  animation-delay: -3.2s;
}

.particle-9 {
  width: 13px;
  height: 13px;
  background: linear-gradient(45deg, #FF69B4, #FF1493);
  top: 45%;
  left: 60%;
  animation: particleFloat9 6.8s ease-in-out infinite;
  animation-delay: -4.1s;
}

.particle-10 {
  width: 9px;
  height: 9px;
  background: linear-gradient(45deg, #32CD32, #00FA9A);
  top: 85%;
  left: 15%;
  animation: particleFloat10 9.3s ease-in-out infinite;
  animation-delay: -0.7s;
}

.particle-11 {
  width: 17px;
  height: 17px;
  background: linear-gradient(45deg, #FFA500, #FF8C00);
  bottom: 20%;
  right: 25%;
  animation: particleFloat11 7.2s ease-in-out infinite;
  animation-delay: -5.3s;
}

.particle-12 {
  width: 12px;
  height: 12px;
  background: linear-gradient(45deg, #6495ED, #4169E1);
  top: 35%;
  left: 75%;
  animation: particleFloat12 8.8s ease-in-out infinite;
  animation-delay: -2.9s;
}

@keyframes particleFloat1 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg); 
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    filter: brightness(1) blur(0.5px);
  }
  25% { 
    transform: translate(30px, -40px) scale(1.2) rotate(90deg); 
    opacity: 0.8;
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.6);
    filter: brightness(1.2) blur(1px);
  }
  50% { 
    transform: translate(-20px, -80px) scale(0.8) rotate(180deg); 
    opacity: 0.4;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    filter: brightness(0.8) blur(0.2px);
  }
  75% { 
    transform: translate(50px, -20px) scale(1.4) rotate(270deg); 
    opacity: 0.9;
    box-shadow: 0 0 35px rgba(255, 165, 0, 0.7);
    filter: brightness(1.3) blur(0.8px);
  }
}

@keyframes particleFloat2 {
  0%, 100% { 
    transform: translate(0, 0) scale(0.9) rotate(0deg); 
    opacity: 0.5;
    filter: blur(0.5px) brightness(1);
  }
  33% { 
    transform: translate(-40px, 30px) scale(1.3) rotate(120deg); 
    opacity: 0.8;
    filter: blur(1px) brightness(1.2);
  }
  66% { 
    transform: translate(25px, 60px) scale(0.7) rotate(240deg); 
    opacity: 0.3;
    filter: blur(0.2px) brightness(0.8);
  }
}

@keyframes particleFloat3 {
  0%, 100% { 
    transform: translate(0, 0) scale(1.1) rotate(0deg); 
    opacity: 0.7;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
  }
  20% { 
    transform: translate(60px, -50px) scale(0.6) rotate(72deg); 
    opacity: 0.4;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
  }
  40% { 
    transform: translate(-30px, -100px) scale(1.5) rotate(144deg); 
    opacity: 1;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
  }
  60% { 
    transform: translate(40px, -30px) scale(0.9) rotate(216deg); 
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
  }
  80% { 
    transform: translate(-20px, 20px) scale(1.2) rotate(288deg); 
    opacity: 0.8;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

@keyframes particleFloat4 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg); 
    opacity: 0.6;
    filter: blur(0.3px) brightness(1) saturate(1);
  }
  30% { 
    transform: translate(35px, -15px) scale(1.4) rotate(108deg); 
    opacity: 0.9;
    filter: blur(0.8px) brightness(1.3) saturate(1.2);
  }
  60% { 
    transform: translate(-20px, -35px) scale(0.6) rotate(216deg); 
    opacity: 0.4;
    filter: blur(0.1px) brightness(0.7) saturate(0.8);
  }
  90% { 
    transform: translate(10px, 10px) scale(1.2) rotate(324deg); 
    opacity: 0.8;
    filter: blur(0.6px) brightness(1.1) saturate(1.1);
  }
}

@keyframes particleFloat5 {
  0%, 100% { 
    transform: translate(0, 0) scale(0.8) rotate(0deg); 
    opacity: 0.4;
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.3);
  }
  25% { 
    transform: translate(20px, 40px) scale(1.1) rotate(90deg); 
    opacity: 0.7;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
  }
  50% { 
    transform: translate(-40px, 25px) scale(1.5) rotate(180deg); 
    opacity: 0.9;
    box-shadow: 0 0 35px rgba(255, 165, 0, 0.7);
  }
  75% { 
    transform: translate(10px, -30px) scale(0.9) rotate(270deg); 
    opacity: 0.5;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
}

@keyframes particleFloat6 {
  0%, 100% { 
    transform: translate(0, 0) scale(1.2) rotate(0deg); 
    opacity: 0.8;
    filter: blur(0.4px) brightness(1.1);
  }
  20% { 
    transform: translate(15px, -45px) scale(0.8) rotate(72deg); 
    opacity: 0.3;
    filter: blur(0.2px) brightness(0.8);
  }
  40% { 
    transform: translate(-30px, -20px) scale(1.3) rotate(144deg); 
    opacity: 0.8;
    filter: blur(0.7px) brightness(1.2);
  }
  60% { 
    transform: translate(25px, 30px) scale(0.9) rotate(216deg); 
    opacity: 0.5;
    filter: blur(0.3px) brightness(0.9);
  }
  80% { 
    transform: translate(-10px, -10px) scale(1.1) rotate(288deg); 
    opacity: 0.7;
    filter: blur(0.5px) brightness(1.05);
  }
}

@keyframes particleFloat7 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg); 
    opacity: 0.7;
    box-shadow: 0 0 20px rgba(123, 104, 238, 0.4);
  }
  25% { 
    transform: translate(-35px, 25px) scale(1.3) rotate(90deg); 
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(147, 112, 219, 0.6);
  }
  50% { 
    transform: translate(20px, -40px) scale(0.8) rotate(180deg); 
    opacity: 0.4;
    box-shadow: 0 0 15px rgba(123, 104, 238, 0.3);
  }
  75% { 
    transform: translate(-15px, -15px) scale(1.1) rotate(270deg); 
    opacity: 0.8;
    box-shadow: 0 0 25px rgba(147, 112, 219, 0.5);
  }
}

@keyframes particleFloat8 {
  0%, 100% { 
    transform: translate(0, 0) scale(0.9) rotate(0deg); 
    opacity: 0.6;
    filter: blur(0.4px) brightness(1) saturate(1.2);
  }
  30% { 
    transform: translate(40px, -30px) scale(1.2) rotate(108deg); 
    opacity: 0.8;
    filter: blur(0.6px) brightness(1.2) saturate(1.4);
  }
  60% { 
    transform: translate(-25px, 20px) scale(0.7) rotate(216deg); 
    opacity: 0.4;
    filter: blur(0.2px) brightness(0.8) saturate(1);
  }
  90% { 
    transform: translate(15px, -10px) scale(1.1) rotate(324deg); 
    opacity: 0.7;
    filter: blur(0.5px) brightness(1.1) saturate(1.3);
  }
}

@keyframes particleFloat9 {
  0%, 100% { 
    transform: translate(0, 0) scale(1.1) rotate(0deg); 
    opacity: 0.8;
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.4);
  }
  33% { 
    transform: translate(-50px, 35px) scale(0.7) rotate(120deg); 
    opacity: 0.5;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.3);
  }
  66% { 
    transform: translate(30px, -25px) scale(1.4) rotate(240deg); 
    opacity: 0.9;
    box-shadow: 0 0 35px rgba(255, 105, 180, 0.6);
  }
}

@keyframes particleFloat10 {
  0%, 100% { 
    transform: translate(0, 0) scale(0.8) rotate(0deg); 
    opacity: 0.5;
    filter: blur(0.3px) brightness(1) saturate(1.1);
  }
  40% { 
    transform: translate(25px, -50px) scale(1.2) rotate(144deg); 
    opacity: 0.8;
    filter: blur(0.6px) brightness(1.3) saturate(1.3);
  }
  80% { 
    transform: translate(-20px, 15px) scale(1.0) rotate(288deg); 
    opacity: 0.6;
    filter: blur(0.4px) brightness(1.1) saturate(1.2);
  }
}

@keyframes particleFloat11 {
  0%, 100% { 
    transform: translate(0, 0) scale(1.3) rotate(0deg); 
    opacity: 0.9;
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
  }
  25% { 
    transform: translate(45px, -20px) scale(0.9) rotate(90deg); 
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
  }
  50% { 
    transform: translate(-35px, -45px) scale(1.1) rotate(180deg); 
    opacity: 0.8;
    box-shadow: 0 0 25px rgba(255, 165, 0, 0.5);
  }
  75% { 
    transform: translate(20px, 25px) scale(0.8) rotate(270deg); 
    opacity: 0.4;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
  }
}

@keyframes particleFloat12 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg); 
    opacity: 0.7;
    filter: blur(0.5px) brightness(1.1) saturate(1.2);
  }
  20% { 
    transform: translate(-40px, 30px) scale(1.2) rotate(72deg); 
    opacity: 0.9;
    filter: blur(0.7px) brightness(1.3) saturate(1.4);
  }
  40% { 
    transform: translate(35px, -35px) scale(0.8) rotate(144deg); 
    opacity: 0.4;
    filter: blur(0.3px) brightness(0.9) saturate(1);
  }
  60% { 
    transform: translate(-20px, -10px) scale(1.1) rotate(216deg); 
    opacity: 0.8;
    filter: blur(0.6px) brightness(1.2) saturate(1.3);
  }
  80% { 
    transform: translate(10px, 20px) scale(0.9) rotate(288deg); 
    opacity: 0.5;
    filter: blur(0.4px) brightness(1) saturate(1.1);
  }
}

/*==================== CALL BUTTONS ====================*/
/* Call button in hero section */
.button--call {
  background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
  color: var(--container-color);
  position: relative;
  overflow: hidden;
  animation: callPulse 2s infinite;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 60px;
  gap: 0.25rem;
}

.button--call:hover {
  background: linear-gradient(135deg, #40c057 0%, #37b24d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(64, 192, 87, 0.3);
  animation: none;
}

.button--call small {
  font-size: var(--smaller-font-size);
  opacity: 0.9;
  font-weight: 400;
  line-height: 1;
}

/* Floating WhatsApp button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
  color: var(--container-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: var(--hover-transition);
  z-index: var(--z-fixed);
  animation: whatsappBounce 4s infinite;
}

.floating-whatsapp:hover {
  background: linear-gradient(135deg, #1ebe57 0%, #128c7e 100%);
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  animation: none;
}

.floating-whatsapp__pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #25d366;
  border-radius: 50%;
  opacity: 0;
  animation: pulse 2s infinite;
}

/* WhatsApp button animations */
@keyframes whatsappPulse {
  0%, 100% { 
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2); 
  }
  50% { 
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); 
  }
}

@keyframes whatsappBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

/* Business hours indicator */
#businessHours.open {
  color: #51cf66;
}

#businessHours.closed {
  color: #ffd43b;
}

/* Responsive adjustments for WhatsApp button */
@media screen and (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }
  
  .hero__actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero__actions .button {
    width: 100%;
    max-width: 280px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .hero__blob svg,
  .services__icon i {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .nav,
  .footer,
  .newsletter {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  .container {
    max-width: none;
    margin: 0;
    padding: 0;
  }
  
  h1, h2, h3 {
    color: #000;
    page-break-after: avoid;
  }
  
  .services__card,
  .blog__card {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
}

/* Cache busting timestamp */
