/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Base styles */
:root {
  --primary-color: #3a86ff;
  --primary-dark: #2667cc;
  --secondary-color: #8338ec;
  --accent-color: #ff006e;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

/* Dark theme variables */
[data-theme="dark"] {
  --light-color: #212529;
  --dark-color: #f8f9fa;
  --gray-color: #adb5bd;
  --light-gray: #343a40;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: var(--font-primary);
  color: var(--dark-color);
  background-color: var(--light-color);
  transition: var(--transition);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  &.loading {
    overflow: hidden;
    height: 100vh;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  &:hover {
    color: var(--primary-dark);
    text-decoration: none;
  }
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
  &.bg-light {
    background-color: var(--light-gray);
  }
  &.dark-section {
    background-color: var(--dark-color);
    color: var(--light-color);
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  .section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
  }
  .section-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    span {
      color: var(--primary-color);
    }
  }
  .section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
  }
  .section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 1.5rem auto;
    border-radius: var(--radius-full);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  
  &-primary {
    background-color: var(--primary-color);
    color: white;
    &:hover {
      background-color: var(--primary-dark);
      color: white;
      box-shadow: var(--shadow-md);
    }
    &-outline {
      border-color: var(--primary-color);
      color: var(--primary-color);
      background-color: transparent;
      &:hover {
        background-color: var(--primary-color);
        color: white;
      }
    }
  }
  
  &-secondary {
    background-color: var(--secondary-color);
    color: white;
    &:hover {
      background-color: darken(var(--secondary-color), 10%);
      color: white;
      box-shadow: var(--shadow-md);
    }
  }
  
  &-outline {
    background-color: transparent;
    border-color: currentColor;
    color: var(--dark-color);
    &:hover {
      background-color: var(--dark-color);
      color: var(--light-color);
    }
  }
  
  &-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  &-block {
    display: block;
    width: 100%;
  }
  
  &-icon {
    gap: 0.5rem;
    i {
      font-size: 1.1em;
    }
  }
  
  &-glow {
    &:hover {
      box-shadow: 0 0 15px rgba(58, 134, 255, 0.5);
    }
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  &.sticky {
    background-color: rgba(var(--light-color), 0.95);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  &.glass-header {
    background-color: rgba(var(--light-color), 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
  }
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-color);
  position: relative;
  &-icon {
    margin-right: 0.5rem;
    color: var(--primary-color);
  }
  &-text {
    position: relative;
    &::after {
      content: attr(data-text);
      position: absolute;
      left: 0;
      top: 0;
      color: var(--primary-color);
      width: 0;
      overflow: hidden;
      transition: width 0.5s ease;
    }
    &:hover::after {
      width: 100%;
    }
  }
}

.main-nav {
  ul {
    display: flex;
    list-style: none;
    li {
      margin-left: 1.5rem;
      position: relative;
      .nav-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 500;
        color: var(--dark-color);
        padding: 0.5rem 0;
        position: relative;
        i {
          font-size: 1.1em;
        }
        span {
          position: relative;
          &::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
          }
        }
        &:hover span::after {
          width: 100%;
        }
      }
      &.dropdown {
        position: relative;
        > a::after {
          content: '';
          display: inline-block;
          margin-left: 0.3em;
          transition: transform 0.3s ease;
        }
        &:hover {
          .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
          }
          > a::after {
            transform: rotate(180deg);
          }
        }
      }
    }
  }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--light-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    li {
      margin: 0;
      a {
        display: block;
        padding: 0.5rem 1.5rem;
        color: var(--dark-color);
        transition: var(--transition);
        &:hover {
          background-color: var(--light-gray);
          color: var(--primary-color);
        }
        i {
          margin-right: 0.5rem;
          width: 1.25em;
          text-align: center;
        }
      }
    }
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  .search-btn, .hamburger {
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    &:hover {
      color: var(--primary-color);
    }
  }
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: var(--dark-color);
      transition: var(--transition);
    }
  }
}

.search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--light-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  &.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .container {
    padding: 1rem 1.5rem;
  }
  .search-form {
    position: relative;
    input {
      width: 100%;
      padding: 0.75rem 3rem 0.75rem 1.5rem;
      border: 1px solid var(--light-gray);
      border-radius: var(--radius-full);
      font-size: 1rem;
      transition: var(--transition);
      &:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
        outline: none;
      }
    }
    .search-submit, .search-close {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--gray-color);
      font-size: 1.25rem;
      cursor: pointer;
      transition: var(--transition);
      &:hover {
        color: var(--primary-color);
      }
    }
    .search-submit {
      right: 1.5rem;
    }
    .search-close {
      right: 3.5rem;
    }
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  &.active {
    opacity: 1;
    visibility: visible;
    .mobile-menu-inner {
      transform: translateX(0);
    }
  }
  &-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background-color: var(--light-color);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  &-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    .mobile-logo {
      font-family: var(--font-secondary);
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--dark-color);
    }
    .mobile-close {
      background: none;
      border: none;
      color: var(--dark-color);
      font-size: 1.5rem;
      cursor: pointer;
      transition: var(--transition);
      &:hover {
        color: var(--primary-color);
        transform: rotate(90deg);
      }
    }
  }
  .mobile-nav {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    li {
      margin-bottom: 0.5rem;
      a {
        display: flex;
        align-items: center;
        padding: 0.75rem 0;
        color: var(--dark-color);
        font-weight: 500;
        transition: var(--transition);
        i {
          margin-right: 0.75rem;
          width: 1.25em;
          text-align: center;
          font-size: 1.1em;
        }
        &:hover {
          color: var(--primary-color);
        }
      }
      &.mobile-dropdown {
        > a {
          justify-content: space-between;
          i.fa-chevron-down {
            transition: transform 0.3s ease;
          }
        }
        &.active {
          > a i.fa-chevron-down {
            transform: rotate(180deg);
          }
          .mobile-submenu {
            max-height: 500px;
            padding: 0.5rem 0 0.5rem 2rem;
          }
        }
      }
    }
    .mobile-submenu {
      max-height: 0;
      overflow: hidden;
      list-style: none;
      transition: all 0.3s ease;
      li {
        margin-bottom: 0;
        a {
          padding: 0.5rem 0;
          font-size: 0.9rem;
        }
      }
    }
  }
  .mobile-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
    .social-links {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
      a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: var(--light-gray);
        color: var(--dark-color);
        transition: var(--transition);
        &:hover {
          background-color: var(--primary-color);
          color: white;
          transform: translateY(-3px);
        }
      }
    }
    .mobile-contacts {
      a {
        display: flex;
        align-items: center;
        padding: 0.5rem 0;
        color: var(--gray-color);
        i {
          margin-right: 0.75rem;
          width: 1.25em;
          text-align: center;
        }
        &:hover {
          color: var(--primary-color);
        }
      }
    }
  }
}

/* Banner */
.banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: -1;
  }
  .container {
    position: relative;
    z-index: 1;
    color: white;
  }
  .banner-content {
    max-width: 700px;
    .badge {
      background-color: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(5px);
      padding: 0.5rem 1rem;
      border-radius: var(--radius-full);
      font-size: 0.875rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      display: inline-block;
      margin-bottom: 1.5rem;
    }
    .title {
      font-size: 3.5rem;
      margin-bottom: 1rem;
      line-height: 1.2;
      .gradient-text {
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
      }
    }
    .subtitle {
      font-size: 1.25rem;
      margin-bottom: 2rem;
      opacity: 0.9;
    }
    .trust-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 2rem;
      .trust-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        padding: 0.5rem 1rem;
        border-radius: var(--radius-full);
        font-size: 0.875rem;
        i {
          color: var(--primary-color);
        }
      }
    }
    .cta-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 3rem;
    }
  }
  .banner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    .feature-card {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background-color: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(5px);
      padding: 0.75rem 1.25rem;
      border-radius: var(--radius-full);
      transition: var(--transition);
      i {
        font-size: 1.25rem;
        color: var(--primary-color);
      }
      &:hover {
        background-color: var(--primary-color);
        i {
          color: white;
        }
      }
    }
  }
  .scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    span {
      display: block;
      width: 20px;
      height: 20px;
      border-bottom: 2px solid white;
      border-right: 2px solid white;
      transform: rotate(45deg);
      margin: -10px;
      animation: scrollDown 2s infinite;
      &:nth-child(2) {
        animation-delay: -0.2s;
      }
      &:nth-child(3) {
        animation-delay: -0.4s;
      }
    }
  }
}

/* Navigation Stage */
.stage {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  &-container {
    display: flex;
    background-color: rgba(var(--light-color), 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
  }
  &-item {
    position: relative;
    &::before {
      content: attr(data-text);
      position: absolute;
      top: -40px;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--dark-color);
      color: var(--light-color);
      padding: 0.25rem 0.75rem;
      border-radius: var(--radius-sm);
      font-size: 0.75rem;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
    }
    &:hover::before {
      opacity: 1;
      visibility: visible;
      top: -35px;
    }
  }
  &-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--gray-color);
    transition: var(--transition);
    &:hover {
      color: var(--primary-color);
      transform: translateY(-5px);
    }
    &.active {
      background-color: var(--primary-color);
      color: white;
      box-shadow: 0 5px 15px rgba(58, 134, 255, 0.4);
    }
  }
  &-icon {
    font-size: 1.25rem;
  }
  &-text {
    font-size: 0.625rem;
    margin-top: 0.25rem;
    text-transform: uppercase;
    font-weight: 600;
  }
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  .about-highlight {
    background-color: rgba(58, 134, 255, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    p {
      margin-bottom: 0;
      font-size: 1.125rem;
    }
  }
  .about-features {
    margin: 2rem 0;
    .feature-item {
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      margin-bottom: 1rem;
      i {
        color: var(--primary-color);
        margin-top: 0.25rem;
      }
    }
  }
}

.about-media {
  position: relative;
  .about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    img {
      width: 100%;
      height: auto;
      display: block;
    }
    .tech-badge {
      position: absolute;
      bottom: -20px;
      right: -20px;
      background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
      color: white;
      padding: 1.5rem;
      border-radius: 50%;
      width: 120px;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      font-weight: 700;
      box-shadow: var(--shadow-lg);
    }
  }
  .tech-stack {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    .tech-item {
      width: 50px;
      height: 50px;
      background-color: var(--light-color);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--dark-color);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      position: relative;
      &:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-md);
        color: var(--primary-color);
        &::after {
          content: attr(data-tooltip);
          position: absolute;
          top: -40px;
          left: 50%;
          transform: translateX(-50%);
          background-color: var(--dark-color);
          color: var(--light-color);
          padding: 0.25rem 0.75rem;
          border-radius: var(--radius-sm);
          font-size: 0.75rem;
          white-space: nowrap;
        }
      }
    }
  }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  &:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    .service-hover-effect {
      opacity: 1;
    }
  }
  &-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
  }
  h3 {
    margin-bottom: 1rem;
  }
  .service-features {
    margin: 1.5rem 0;
    li {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
      i {
        color: var(--primary-color);
      }
    }
  }
  .service-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    &:hover {
      gap: 1rem;
    }
  }
  .service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.1), rgba(131, 56, 236, 0.1));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
  }
}

/* Features Section */
.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.features-media {
  position: relative;
  .features-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    img {
      width: 100%;
      height: auto;
      display: block;
    }
    .features-badge {
      position: absolute;
      bottom: -20px;
      right: -20px;
      background-color: var(--light-color);
      border-radius: 50%;
      width: 120px;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow-lg);
      .badge-content {
        text-align: center;
        .badge-number {
          font-size: 2rem;
          font-weight: 700;
          color: var(--primary-color);
          line-height: 1;
        }
        .badge-text {
          font-size: 0.875rem;
          color: var(--gray-color);
        }
      }
    }
  }
}

.features-list {
  margin-top: 2rem;
  .feature-box {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    .feature-icon {
      width: 60px;
      height: 60px;
      background-color: rgba(58, 134, 255, 0.1);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--primary-color);
      flex-shrink: 0;
    }
    .feature-info {
      h3 {
        margin-bottom: 0.5rem;
      }
      p {
        color: var(--gray-color);
      }
    }
  }
}

/* Portfolio Section */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  .filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    transition: var(--transition);
    &.active {
      background-color: var(--primary-color);
      color: white;
    }
    &:hover:not(.active) {
      color: var(--primary-color);
    }
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  .portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    &:hover {
      .portfolio-overlay {
        opacity: 1;
      }
    }
  }
  .portfolio-image {
    position: relative;
    padding-top: 75%;
    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    .overlay-content {
      text-align: center;
      padding: 1.5rem;
      color: white;
      h3 {
        color: white;
        margin-bottom: 0.5rem;
      }
      p {
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.8);
      }
    }
    .portfolio-actions {
      display: flex;
      justify-content: center;
      gap: 1rem;
      a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        transition: var(--transition);
        &:hover {
          background-color: var(--primary-color);
          transform: translateY(-3px);
        }
      }
    }
  }
}

/* Process Section */
.process-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
  .process-line {
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    &::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 0;
      background-color: var(--primary-color);
      animation: processLine 2s forwards;
    }
  }
}

.process-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  &:last-child {
    margin-bottom: 0;
  }
  .process-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }
  .process-content {
    flex: 1;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    h3 {
      margin-bottom: 0.5rem;
    }
    p {
      color: rgba(255, 255, 255, 0.7);
    }
  }
}

/* Courses Section */
.courses-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  &:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  .course-image {
    position: relative;
    padding-top: 60%;
    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .course-level {
      position: absolute;
      top: 1rem;
      left: 1rem;
      padding: 0.25rem 0.75rem;
      border-radius: var(--radius-full);
      font-size: 0.75rem;
      font-weight: 600;
      color: white;
      &.beginner {
        background-color: var(--success-color);
      }
      &.intermediate {
        background-color: var(--warning-color);
      }
      &.advanced {
        background-color: var(--danger-color);
      }
    }
    .course-price {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background-color: var(--light-color);
      padding: 0.5rem 1rem;
      border-radius: var(--radius-full);
      font-weight: 700;
      color: var(--primary-color);
      box-shadow: var(--shadow-sm);
    }
  }
  .course-content {
    padding: 1.5rem;
    .course-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 1rem;
      font-size: 0.875rem;
      color: var(--gray-color);
      span {
        display: flex;
        align-items: center;
        gap: 0.25rem;
      }
    }
    h3 {
      margin-bottom: 1rem;
      a {
        color: var(--dark-color);
        transition: var(--transition);
        &:hover {
          color: var(--primary-color);
        }
      }
    }
    p {
      margin-bottom: 1.5rem;
      color: var(--gray-color);
    }
  }
  .course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .btn-outline {
      padding: 0.5rem 1rem;
    }
    .btn-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

/* Testimonials Section */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  .testimonial-content {
    position: relative;
    .quote-icon {
      position: absolute;
      top: 0;
      left: 0;
      font-size: 3rem;
      color: rgba(58, 134, 255, 0.1);
      line-height: 1;
    }
    .testimonial-text {
      padding: 1rem 0 1.5rem;
      p {
        font-style: italic;
        color: var(--gray-color);
      }
    }
    .rating {
      color: var(--warning-color);
      margin-bottom: 1.5rem;
      i {
        margin-right: 0.25rem;
      }
    }
    .testimonial-author {
      display: flex;
      align-items: center;
      gap: 1rem;
      img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
      }
      .author-info {
        h4 {
          margin-bottom: 0.25rem;
          font-size: 1.125rem;
        }
        span {
          font-size: 0.875rem;
          color: var(--gray-color);
        }
      }
    }
  }
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  .member-image {
    position: relative;
    margin-bottom: 1.5rem;
    img {
      width: 100%;
      height: auto;
      border-radius: var(--radius-lg);
      transition: var(--transition);
    }
    .member-social {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      padding: 1rem;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      opacity: 0;
      transition: var(--transition);
      a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background-color: var(--primary-color);
        color: white;
        border-radius: 50%;
        transition: var(--transition);
        &:hover {
          background-color: var(--dark-color);
          transform: translateY(-3px);
        }
      }
    }
  }
  &:hover {
    .member-image {
      img {
        transform: scale(1.03);
      }
      .member-social {
        opacity: 1;
      }
    }
  }
  .member-info {
    h3 {
      margin-bottom: 0.5rem;
    }
    span {
      display: block;
      color: var(--primary-color);
      font-weight: 600;
      margin-bottom: 1rem;
    }
    p {
      color: var(--gray-color);
      font-size: 0.875rem;
    }
  }
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
  .stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
  }
  .stat-title {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
  }
}

/* Pricing Section */
.pricing-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  span {
    font-weight: 500;
  }
  .discount-badge {
    background-color: var(--success-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    margin-left: 0.5rem;
  }
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  input {
    opacity: 0;
    width: 0;
    height: 0;
    &:checked + .slider {
      background-color: var(--primary-color);
    }
    &:checked + .slider::before {
      transform: translateX(26px);
    }
  }
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-gray);
    transition: var(--transition);
    border-radius: var(--radius-full);
    &::before {
      position: absolute;
      content: '';
      height: 26px;
      width: 26px;
      left: 4px;
      bottom: 4px;
      background-color: white;
      transition: var(--transition);
      border-radius: 50%;
    }
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  &.featured {
    border: 2px solid var(--primary-color);
    transform: translateY(-10px);
    .pricing-badge {
      position: absolute;
      top: -10px;
      right: 20px;
      background-color: var(--primary-color);
      color: white;
      padding: 0.25rem 1rem;
      border-radius: var(--radius-full);
      font-size: 0.75rem;
      font-weight: 600;
    }
  }
  &:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }
  .pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    h3 {
      margin-bottom: 1rem;
    }
    .price {
      margin-bottom: 1rem;
      .currency {
        font-size: 1.5rem;
        vertical-align: top;
        line-height: 1;
      }
      .amount {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1;
        &.yearly {
          display: none;
        }
      }
      .period {
        font-size: 1rem;
        color: var(--gray-color);
      }
    }
    p {
      color: var(--gray-color);
    }
  }
  .pricing-features {
    margin-bottom: 2rem;
    ul {
      list-style: none;
      li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        i {
          color: var(--primary-color);
          &.fa-times {
            color: var(--gray-color);
          }
        }
      }
    }
  }
  .pricing-footer {
    text-align: center;
  }
}

#pricing-toggle:checked ~ .pricing-grid {
  .monthly {
    display: none;
  }
  .yearly {
    display: inline;
  }
}

.pricing-custom {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  .custom-content {
    flex: 1;
    min-width: 300px;
    h3 {
      margin-bottom: 0.5rem;
    }
  }
  .custom-action {
    flex-shrink: 0;
  }
}

/* FAQ Section */
.faq-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-accordion {
  .accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    &:last-child {
      margin-bottom: 0;
    }
  }
  .accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background-color: var(--light-color);
    border: none;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    i {
      transition: var(--transition);
    }
    &:hover {
      background-color: var(--light-gray);
    }
    &[aria-expanded="true"] {
      background-color: var(--primary-color);
      color: white;
      i {
        transform: rotate(180deg);
      }
    }
  }
  .accordion-content {
    padding: 0 1.5rem;
    background-color: var(--light-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    p {
      padding: 1rem 0;
      color: var(--gray-color);
    }
  }
}

.faq-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .faq-contact {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: center;
    h4 {
      color: white;
      margin-bottom: 0.5rem;
    }
    .btn {
      margin-top: 1rem;
    }
  }
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  &:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  .blog-image {
    position: relative;
    padding-top: 60%;
    img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .blog-date {
      position: absolute;
      top: 1rem;
      left: 1rem;
      background-color: var(--primary-color);
      color: white;
      padding: 0.75rem;
      text-align: center;
      border-radius: var(--radius-md);
      line-height: 1;
      .date-day {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
      }
      .date-month {
        font-size: 0.875rem;
        display: block;
      }
      .date-year {
        font-size: 0.75rem;
        opacity: 0.8;
        display: block;
      }
    }
  }
  .blog-content {
    padding: 1.5rem;
    .blog-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 1rem;
      font-size: 0.875rem;
      color: var(--gray-color);
      span {
        display: flex;
        align-items: center;
        gap: 0.25rem;
      }
    }
    h3 {
      margin-bottom: 1rem;
      a {
        color: var(--dark-color);
        transition: var(--transition);
        &:hover {
          color: var(--primary-color);
        }
      }
    }
    p {
      margin-bottom: 1.5rem;
      color: var(--gray-color);
    }
  }
  .read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    &:hover {
      gap: 1rem;
    }
  }
}

/* Clients Section */
.clients-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  .client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    &:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }
    img {
      max-width: 100%;
      height: auto;
      filter: grayscale(100%);
      opacity: 0.7;
      transition: var(--transition);
    }
    &:hover img {
      filter: grayscale(0);
      opacity: 1;
    }
  }
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  .info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    &:last-child {
      margin-bottom: 0;
    }
    .info-icon {
      width: 60px;
      height: 60px;
      background-color: rgba(58, 134, 255, 0.1);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      color: var(--primary-color);
      flex-shrink: 0;
    }
    .info-content {
      h3 {
        margin-bottom: 0.5rem;
      }
      p {
        color: var(--gray-color);
      }
      .map-link {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        margin-top: 0.5rem;
        font-size: 0.875rem;
        color: var(--primary-color);
        i {
          font-size: 0.75em;
        }
      }
      .info-note {
        font-size: 0.875rem;
        color: var(--gray-color);
        margin-top: 0.25rem;
      }
    }
  }
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--light-gray);
      color: var(--dark-color);
      transition: var(--transition);
      &:hover {
        background-color: var(--primary-color);
        color: white;
        transform: translateY(-3px);
      }
    }
  }
}

.contact-form {
  background-color: var(--light-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .form-group {
    position: relative;
    margin-bottom: 1.5rem;
    label {
      position: absolute;
      top: 1rem;
      left: 1rem;
      color: var(--gray-color);
      pointer-events: none;
      transition: var(--transition);
    }
    input, textarea, select {
      width: 100%;
      padding: 1rem;
      border: 1px solid var(--light-gray);
      border-radius: var(--radius-md);
      font-family: var(--font-primary);
      transition: var(--transition);
      &:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.2);
        outline: none;
        & + label {
          top: -0.5rem;
          left: 0.75rem;
          font-size: 0.75rem;
          background-color: var(--light-color);
          padding: 0 0.25rem;
          color: var(--primary-color);
        }
      }
      &:not(:placeholder-shown) + label,
      &:focus + label {
        top: -0.5rem;
        left: 0.75rem;
        font-size: 0.75rem;
        background-color: var(--light-color);
        padding: 0 0.25rem;
      }
    }
    textarea {
      min-height: 150px;
      resize: vertical;
    }
    select {
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 16px 12px;
    }
    .form-error {
      color: var(--danger-color);
      font-size: 0.875rem;
      margin-top: 0.25rem;
      display: none;
    }
    &.has-error {
      input, textarea, select {
        border-color: var(--danger-color);
        &:focus {
          box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
        }
      }
      label {
        color: var(--danger-color);
      }
      .form-error {
        display: block;
      }
    }
  }
  .file-group {
    .file-label {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background-color: var(--light-gray);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: var(--transition);
      &:hover {
        background-color: darken(var(--light-gray), 5%);
      }
    }
    .file-input {
      display: none;
    }
    .file-name {
      display: block;
      margin-top: 0.5rem;
      font-size: 0.875rem;
      color: var(--gray-color);
    }
  }
  .char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--gray-color);
    margin-top: 0.25rem;
  }
  .form-footer {
    margin-top: 1.5rem;
    .btn-submit {
      .loading-icon {
        display: none;
      }
      &.loading {
        .submit-text {
          display: none;
        }
        .loading-icon {
          display: block;
        }
      }
    }
    .form-success {
      display: none;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 1rem;
      background-color: rgba(40, 167, 69, 0.1);
      border-radius: var(--radius-md);
      color: var(--success-color);
      margin-top: 1rem;
      i {
        font-size: 1.25rem;
      }
    }
  }
}

/* Map Section */
.map-container {
  position: relative;
  height: 500px;
  iframe {
    width: 100%;
    height: 100%;
    border: none;
  }
  .map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: var(--transition);
    &:hover {
      opacity: 1;
    }
    .overlay-content {
      background-color: var(--light-color);
      padding: 2rem;
      border-radius: var(--radius-lg);
      text-align: center;
      max-width: 400px;
      h3 {
        margin-bottom: 1rem;
      }
      p {
        margin-bottom: 1.5rem;
        color: var(--gray-color);
      }
    }
  }
}

/* Newsletter Section */
.newsletter-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  .newsletter-text {
    flex: 1;
    min-width: 300px;
    h2 {
      margin-bottom: 1rem;
    }
  }
  .newsletter-form {
    flex: 1;
    min-width: 300px;
    .form-group {
      display: flex;
      input {
        flex: 1;
        min-width: 200px;
        padding: 0.75rem 1.25rem;
        border: none;
        border-radius: var(--radius-full) 0 0 var(--radius-full);
        font-size: 1rem;
        &:focus {
          outline: none;
          box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
        }
      }
      button {
        border-radius: 0 var(--radius-full) var(--radius-full) 0;
        .loading-icon {
          display: none;
        }
        &.loading {
          .submit-text {
            display: none;
          }
          .loading-icon {
            display: block;
          }
        }
      }
    }
    .form-agree {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-top: 1rem;
      font-size: 0.875rem;
      color: rgba(255, 255, 255, 0.8);
      input {
        width: auto;
      }
    }
  }
}

/* CTA Section */
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: white;
  h2 {
    color: white;
    margin-bottom: 1.5rem;
  }
  p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    opacity: 0.9;
  }
  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 5rem 0 0;
  a {
    color: var(--light-color);
    &:hover {
      color: var(--primary-color);
    }
  }
  &-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
  }
  &-col {
    h3 {
      color: white;
      margin-bottom: 1.5rem;
      font-size: 1.25rem;
      position: relative;
      padding-bottom: 0.75rem;
      &::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background-color: var(--primary-color);
      }
    }
    ul {
      list-style: none;
      li {
        margin-bottom: 0.75rem;
        a {
          display: flex;
          align-items: center;
          transition: var(--transition);
          &:hover {
            transform: translateX(5px);
            i {
              color: var(--primary-color);
            }
          }
          i {
            margin-right: 0.5rem;
            width: 1.25em;
            text-align: center;
            transition: var(--transition);
          }
        }
      }
    }
  }
  &-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    i {
      font-size: 1.75rem;
      color: var(--primary-color);
      margin-right: 0.5rem;
    }
    span {
      font-family: var(--font-secondary);
      font-weight: 700;
      font-size: 1.5rem;
    }
  }
  &-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.1);
      transition: var(--transition);
      &:hover {
        background-color: var(--primary-color);
        transform: translateY(-3px);
      }
    }
  }
  &-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
  }
  &-payments {
    display: flex;
    gap: 0.75rem;
    i {
      font-size: 1.75rem;
      opacity: 0.7;
      transition: var(--transition);
      &:hover {
        opacity: 1;
        color: var(--primary-color);
      }
    }
  }
  &-links {
    a {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: var(--transition);
      &:hover {
        color: var(--primary-color);
        i {
          transform: translateY(-3px);
        }
      }
      i {
        transition: var(--transition);
      }
    }
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  transition: var(--transition);
  &:hover {
    transform: scale(1.1);
    .whatsapp-tooltip {
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }
  }
  .whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 1rem);
    top: 50%;
    transform: translateX(10px) translateY(-50%);
    background-color: var(--dark-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    &::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 100%;
      transform: translateY(-50%);
      border-width: 8px;
      border-style: solid;
      border-color: transparent transparent transparent var(--dark-color);
    }
  }
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 1rem;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  &.show {
    transform: translateY(0);
  }
  .cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    p {
      margin-bottom: 0;
      flex: 1;
      min-width: 300px;
      a {
        color: var(--primary-color);
        text-decoration: underline;
      }
    }
    button {
      flex-shrink: 0;
    }
  }
}

/* Theme Switcher */
.theme-switcher {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
  .theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    &.light {
      background-color: #f8f9fa;
      color: #ffc107;
    }
    &.dark {
      background-color: #212529;
      color: #adb5bd;
    }
    &.auto {
      background-color: #6c757d;
      color: white;
    }
    &:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }
  }
}

/* Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  display: none;
}

.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
  display: none;
}

.cursor-ripple {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(58, 134, 255, 0.5);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  display: none;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  .loader {
    text-align: center;
    &-inner {
      position: relative;
      width: 80px;
      height: 80px;
      margin: 0 auto 1.5rem;
    }
    &-circle {
      position: absolute;
      width: 100%;
      height: 100%;
      border: 5px solid transparent;
      border-radius: 50%;
      animation: loaderCircle 1.5s linear infinite;
      &:nth-child(1) {
        border-top-color: var(--primary-color);
        animation-delay: 0.1s;
      }
      &:nth-child(2) {
        border-right-color: var(--secondary-color);
        animation-delay: 0.2s;
      }
      &:nth-child(3) {
        border-bottom-color: var(--accent-color);
        animation-delay: 0.3s;
      }
      &:nth-child(4) {
        border-left-color: var(--success-color);
        animation-delay: 0.4s;
      }
    }
    &-text {
      font-family: var(--font-secondary);
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--dark-color);
      position: relative;
      &::after {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        color: var(--primary-color);
        width: 0;
        overflow: hidden;
        animation: loaderText 3s linear infinite;
      }
    }
  }
}

/* Animations */
@keyframes loaderCircle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loaderText {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-10px, -10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

@keyframes processLine {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}

/* Responsive Styles */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  .section {
    padding: 4rem 0;
  }
  .about-content, .features-content, .faq-content, .contact-content {
    grid-template-columns: 1fr;
  }
  .features-media, .faq-image {
    order: -1;
  }
  .header .container {
    height: 70px;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--light-color);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    &.active {
      right: 0;
    }
    ul {
      flex-direction: column;
      padding: 2rem;
      li {
        margin: 0 0 1rem;
        .nav-link {
          padding: 0.75rem 0;
        }
      }
    }
  }
  .header-actions .hamburger {
    display: flex;
  }
  .banner .title {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  .section {
    padding: 3rem 0;
  }
  .section-header .section-title {
    font-size: 2rem;
  }
  .banner {
    min-height: 500px;
    .title {
      font-size: 2rem;
    }
    .subtitle {
      font-size: 1rem;
    }
  }
  .form-row {
    grid-template-columns: 1fr !important;
  }
  .process-steps {
    padding-left: 1rem;
    .process-line {
      left: 25px;
    }
    .process-item {
      gap: 1rem;
      .process-number {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
      }
    }
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-custom {
    flex-direction: column;
    text-align: center;
  }
  .map-overlay .overlay-content {
    padding: 1.5rem;
  }
}

@media (max-width: 575px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }
  .section-header .section-title {
    font-size: 1.75rem;
  }
  .banner {
    min-height: 450px;
    .title {
      font-size: 1.75rem;
    }
    .cta-buttons {
      flex-direction: column;
      .btn {
        width: 100%;
      }
    }
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-filter {
    gap: 0.25rem;
    .filter-btn {
      padding: 0.25rem 0.75rem;
      font-size: 0.875rem;
    }
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-content {
    flex-direction: column;
    text-align: center;
    .newsletter-form {
      width: 100%;
    }
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 1rem;
    right: 1rem;
  }
  .theme-switcher {
    bottom: 1rem;
    left: 1rem;
    flex-direction: row;
  }
}

/* Print Styles */
@media print {
  body {
    background: none;
    color: black;
    font-size: 12pt;
  }
  .header, .footer, .whatsapp-float, .theme-switcher, .stage, .preloader {
    display: none !important;
  }
  .section {
    padding: 1cm 0;
    page-break-inside: avoid;
  }
  a {
    text-decoration: none;
    color: black;
  }
  .btn, .badge, .video-background, .mobile-menu, .search-bar {
    display: none !important;
  }
}