:root {
  --primary-color: #ffc800;
  --secondary-color: #0ea5e9;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-light: #374151;
  --text-muted: #4b5563;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-display: swap;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 0;
  background: var(--primary-color);
  color: var(--dark-bg);
  padding: 12px 16px;
  text-decoration: none;
  z-index: 100;
  font-weight: 600;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skip-link:focus {
  top: 0;
}

.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 102, 204, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.3rem 0;
  transition: transform 0.3s ease-in-out;
}

.navbar-brand img {
  width: 160px;
  height: 40px;
  aspect-ratio: 4/1;
}

.navbar-toggler {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 12px;
}

.navbar-nav .nav-link {
  color: #0f172a !important;
  margin: 0 0.5rem;
  font-weight: 600;
  transition: color 0.3s;
  padding: 12px 16px !important;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-nav .nav-link:hover {
  color: #0066CC !important;
}

.hero-section {
  background-color: var(--dark-bg);
  background-image: url('../img/consulting-cloud-expanded-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
  padding: 150px 0 100px;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  contain: layout style paint;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(0, 102, 204, 0.6) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 200, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  will-change: transform;
  transform: translateZ(0);
}

.hero-badge {
  display: inline-block;
  animation: pulse 2s infinite;
}

.badge-text {
  background: linear-gradient(135deg, rgba(255, 200, 0, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
  border: 1px solid rgba(255, 200, 0, 0.3);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffc800;
  backdrop-filter: blur(10px);
}

.brand-name {
  font-size: 4rem;
  font-weight: 800;
  color: #ffc800;
  display: block;
  line-height: 1;
  position: relative;
  z-index: 10;
  will-change: transform;
  transform: translateZ(0);
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.3),
    0 4px 8px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0 8px 16px rgba(255, 200, 0, 0.2));
}

@keyframes goldShine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.subtitle {
  font-size: 1.8rem;
  color: #ffc800;
  font-weight: 600;
  display: block;
  margin-top: 0.5rem;
}

.hero-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  max-width: 650px;
}

.pulse-btn {
  animation: pulse-glow 2s infinite;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.pulse-btn::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;
}

.pulse-btn:hover::before {
  left: 100%;
}

.glass-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 3rem;
}

.stat-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffc800;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.hero-visual {
  position: relative;
  height: 500px;
  z-index: 2;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.card-1 {
  top: 50px;
  right: 50px;
  animation-delay: 0s;
}

.card-2 {
  top: 200px;
  right: 100px;
  animation-delay: 1s;
}

.card-3 {
  top: 350px;
  right: 30px;
  animation-delay: 2s;
}

.hero-image-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero-tagline {
  font-size: 1.5rem;
  color: #ffc800 !important;
  margin-bottom: 2rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  margin-top: 2rem;
}

.hero-buttons .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--dark-bg);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #e6b400;
  border-color: #e6b400;
  color: var(--dark-bg);
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--dark-bg);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 2rem;
}

.services-section {
  background-color: var(--light-bg);
}

.service-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.service-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.service-card .card-text {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.cloud-providers-section {
  background-color: #fff;
}

.cloud-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  will-change: transform;
}

.cloud-card:hover {
  transform: translateY(-5px);
}

.cloud-icon-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cloud-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.cloud-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.cloud-card .card-text {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cloud-features {
  list-style: none;
  padding: 0;
}

.cloud-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.cloud-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.our-approach-section {
  background-color: var(--light-bg);
}

.approach-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  will-change: transform;
}

.approach-card:hover {
  transform: translateY(-5px);
}

.approach-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.approach-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.approach-card .card-text {
  color: #374151;
  font-size: 0.95rem;
}

.about-section {
  background-color: #fff;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

a {
  color: #1e40af;
  text-decoration: underline;
}

a:hover {
  color: #1e3a8a;
}

.about-paragraph a {
  color: #1e40af;
  text-decoration: underline;
}

.about-paragraph a:hover {
  color: #1e3a8a;
  text-decoration: underline;
}

.about-paragraph {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-section {
  background-color: var(--light-bg);
}

.contact-section .section-title,
.contact-section .section-subtitle {
  text-align: left;
}

.contact-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-card .form-control {
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  transition: border-color 0.15s ease;
}

.contact-card .form-control:focus {
  border-color: var(--secondary-color);
  outline: 0;
}

.contact-card textarea.form-control {
  min-height: 200px;
}

.footer {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 -2px 8px rgba(0, 102, 204, 0.1);
  border-top: 1px solid rgba(0, 102, 204, 0.1);
  color: #374151;
  padding: 0.1rem 0;
}

.footer img {
  cursor: pointer;
  transition: opacity 0.3s;
  width: 160px;
  height: 40px;
  aspect-ratio: 4/1;
}

.footer img:hover {
  opacity: 0.8;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .brand-name {
    font-size: 3rem;
  }
  
  .subtitle {
    font-size: 1.5rem;
  }
  
  .hero-tagline {
    font-size: 1.25rem;
    color: #ffc800;
  }
  
  .hero-visual {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 120px 0 80px;
  }
  
  .brand-name {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .hero-tagline {
    font-size: 1.1rem;
    color: #ffc800;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-right: 0;
  }
  
  .hero-stats {
    margin-top: 2rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

html {
  scroll-behavior: smooth;
}

.alert {
  border-radius: 8px;
}

.alert-success {
  background-color: #d1fae5;
  border-color: #6ee7b7;
  color: #065f46;
}

.alert-danger {
  background-color: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}
