:root {
  --primary-color: #0a1628;
  --secondary-color: #1e3a5f;
  --accent-color: #00bcd4;
  --accent-hover: #00acc1;
  --text-color: #333;
  --text-light: #666;
  --white: #fff;
  --gray-light: #f5f7fa;
  --gray-border: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

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

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

ul {
  list-style: none;
}

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

header {
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 58, 95, 0.95) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 188, 212, 0.15);
  border-bottom: 1px solid rgba(0, 188, 212, 0.2);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #7c4dff, var(--accent-color));
  background-size: 200% 100%;
  animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

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

.logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(0, 188, 212, 0.5));
  transition: var(--transition);
}

.logo:hover img {
  filter: drop-shadow(0 0 15px rgba(0, 188, 212, 0.8));
}

.logo h1 {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.logo span {
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
}

nav ul {
  display: flex;
  gap: 8px;
}

nav a {
  color: var(--white);
  font-weight: 500;
  padding: 10px 20px;
  position: relative;
  transition: var(--transition);
  border-radius: 8px;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(124, 77, 255, 0.2));
  opacity: 0;
  transition: var(--transition);
  border-radius: 8px;
}

nav a:hover::before {
  opacity: 1;
}

nav a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), #7c4dff);
  transition: var(--transition);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-color);
}

nav a:hover::after {
  width: 60%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(0, 188, 212, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.3);
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: rgba(0, 188, 212, 0.2);
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.3);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--white), var(--accent-color));
  transition: var(--transition);
  border-radius: 2px;
}

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 188, 212, 0.4);
}

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

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.services {
  background: var(--gray-light);
}

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

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-card .icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-card .icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

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

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-item .check {
  width: 24px;
  height: 24px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  flex-shrink: 0;
}

.why-us {
  background: var(--primary-color);
  color: var(--white);
}

.why-us .section-title h2,
.why-us .section-title p {
  color: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  text-align: center;
}

.why-us-item h3 {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.why-us-item p {
  opacity: 0.9;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.contact-item span {
  color: var(--text-color);
}

.contact-form {
  background: var(--gray-light);
  padding: 40px;
  border-radius: 10px;
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-border);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  display: block;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  display: block;
}

footer {
  background: linear-gradient(180deg, var(--primary-color) 0%, #050d18 100%);
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #7c4dff, #ff4081, var(--accent-color));
  background-size: 300% 100%;
  animation: gradientMove 4s linear infinite;
}

footer::after {
  content: '';
  position: absolute;
  top: 50px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  top: 100px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(124, 77, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #7c4dff);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.footer-section p {
  opacity: 0.85;
  line-height: 1.9;
  font-size: 0.95rem;
}

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

.footer-section ul a {
  opacity: 0.8;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  position: relative;
}

.footer-section ul a::before {
  content: '→';
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
  color: var(--accent-color);
}

.footer-section ul a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-section ul a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 20px;
  text-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.footer-contact-item:hover {
  background: rgba(0, 188, 212, 0.05);
  border-color: rgba(0, 188, 212, 0.2);
  transform: translateX(5px);
}

.footer-contact-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-color), #7c4dff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.footer-contact-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal a {
  opacity: 0.7;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--accent-color);
  background: rgba(0, 188, 212, 0.1);
  border-color: rgba(0, 188, 212, 0.3);
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 140px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  opacity: 0.8;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 40px 0 15px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.legal-content ul {
  margin: 15px 0;
  padding-left: 30px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 10px;
  color: var(--text-light);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  font-size: 0.95rem;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

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

.cookie-buttons .btn {
  padding: 10px 25px;
  font-size: 0.85rem;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.service-detail-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-hover);
}

.service-detail-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-detail-content {
  padding: 30px;
}

.service-detail-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-detail-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-detail-content ul {
  margin-bottom: 20px;
}

.service-detail-content ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-light);
}

.service-detail-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.team-section {
  background: var(--gray-light);
}

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

.team-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card-content {
  padding: 25px;
}

.team-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-card span {
  color: var(--accent-color);
  font-size: 0.9rem;
}

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

@media (max-width: 992px) {
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 20px;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal a {
    margin: 0 10px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 25px;
  }
}
