:root {
  --primary-color: #004E89;
  --secondary-color: #FF6B35;
  --background-color: #0A0B0F;
  --footer-bg: #1A1A1A;
  --button-color: #FF6B35;
  --section-bg-1: #0A0B0F;
  --section-bg-2: #FF6B35;
  --section-bg-3: #004E89;
  --section-bg-4: #1A659E;
  --section-bg-5: #F18F01;
  --section-bg-6: #C1292E;
  --text-light: #FFFFFF;
  --text-dark: #0A0B0F;
  --text-muted: #B8C5D1;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--section-bg-4));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--section-bg-5));
  --gradient-hero: linear-gradient(135deg, var(--background-color) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
  --shadow-bold: 0 20px 40px rgba(255, 107, 53, 0.3);
  --shadow-subtle: 0 8px 32px rgba(0, 78, 137, 0.2);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background: var(--background-color);
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-attachment: fixed;
  background-image: 
    radial-gradient(circle at 20% 80%, var(--primary-color) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--secondary-color) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, var(--section-bg-4) 0%, transparent 50%);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
  margin-bottom: 2rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-light);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--secondary-color);
}

p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--text-light);
  transform: translateY(-2px);
}

a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: var(--transition);
}

a:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: var(--text-dark);
  padding: 16px 32px;
  border: none;
  border-radius: var(--border-radius);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-bold);
  position: relative;
  overflow: hidden;
  transform: perspective(1000px) rotateX(0deg);
}

.btn-primary::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: var(--transition);
}

.btn-primary:hover {
  transform: perspective(1000px) rotateX(-10deg) translateY(-8px);
  box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  padding: 16px 32px;
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: -1;
}

.btn-secondary:hover {
  color: var(--text-light);
  border-color: var(--secondary-color);
  transform: translateY(-4px);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover::before {
  width: 100%;
}

.card {
  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-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-secondary);
  transform: translateX(-100%);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-bold);
  border-color: rgba(255, 107, 53, 0.3);
}

.card:hover::before {
  transform: translateX(0);
}

.section-bg-1 {
  background: var(--section-bg-1);
  background-image: 
    radial-gradient(circle at 30% 70%, var(--primary-color) 0%, transparent 50%);
}

.section-bg-2 {
  background: var(--section-bg-2);
  color: var(--text-dark);
}

.section-bg-2 h2,
.section-bg-2 h3 {
  color: var(--text-dark);
}

.section-bg-2 p {
  color: rgba(10, 11, 15, 0.8);
}

.section-bg-3 {
  background: var(--gradient-primary);
}

.section-bg-4 {
  background: var(--section-bg-4);
  background-image: 
    linear-gradient(45deg, transparent 30%, rgba(255, 107, 53, 0.1) 50%, transparent 70%);
}

.section-bg-5 {
  background: var(--section-bg-5);
  color: var(--text-dark);
}

.section-bg-5 h2,
.section-bg-5 h3 {
  color: var(--text-dark);
}

.section-bg-5 p {
  color: rgba(10, 11, 15, 0.8);
}

.section-bg-6 {
  background: var(--section-bg-6);
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.05) 2px, rgba(255, 255, 255, 0.05) 4px);
}

.hero-section {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

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

.glow-effect {
  position: relative;
}

.glow-effect::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-secondary);
  border-radius: inherit;
  z-index: -1;
  filter: blur(10px);
  opacity: 0;
  transition: var(--transition);
}

.glow-effect:hover::before {
  opacity: 0.7;
}

.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(255, 107, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

@media (max-width: 768px) {
  :root {
    --border-radius: 8px;
    --border-radius-lg: 16px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  h2::after {
    width: 40px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  body {
    line-height: 1.6;
  }
  
  .card {
    padding: 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}

/* Footer Styles */
footer {
    position: relative;
    z-index: 10;
    margin-top: auto;
}

footer .container {
    position: relative;
    z-index: 20;
}

footer .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

@media (min-width: 1024px) {
    footer .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

footer h3,
footer h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

footer p,
footer a {
    color: var(--text-muted);
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary-color);
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--text-light);
    transition: var(--transition);
}

footer .social-links a:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

footer .contact-info i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
}

footer .newsletter-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

footer .newsletter-form input::placeholder {
    color: var(--text-muted);
}

footer .newsletter-form button {
    background: var(--gradient-secondary);
    border: none;
    color: var(--text-light);
    transition: var(--transition);
}

footer .newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-bold);
}

/* Ensure footer stays at bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Testimonials Page Styles */
.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.testimonial-quote {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-company {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.testimonial-stats {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonial-avatar {
        width: 48px;
        height: 48px;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }
    
    .testimonial-company {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-avatar {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
    }
}

/* Additional mobile optimizations for testimonials */
@media (max-width: 640px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-content {
        margin-left: 0.5rem;
    }
    
    .testimonial-quote {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        font-size: 1.1rem;
    }
    
    .testimonial-company {
        font-size: 0.8rem;
    }
    
    /* Ensure proper spacing in grid layouts */
    .grid.md\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ensure testimonials don't overflow on small screens */
.testimonial-card {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-quote {
    hyphens: auto;
    word-break: break-word;
}