/* Modern Tech Design - 3WS Tecnologia */

/* CSS Variables - Modern Tech Palette */
:root {
  /* Primary Tech Colors */
  --primary-blue: #0066ff;
  --secondary-blue: #0052cc;
  --accent-cyan: #00d4ff;
  --tech-purple: #6366f1;
  --success-green: #00ff88;
  --warning-orange: #ff6b35;
  --error-red: #ff3366;
  
  /* Modern Backgrounds */
  --bg-dark: #0a0a0f;
  --bg-darker: #050508;
  --bg-card: #1a1a2e;
  --bg-glass: rgba(26, 26, 46, 0.8);
  --bg-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b8bcc8;
  --text-muted: #6b7280;
  --text-accent: var(--accent-cyan);
  
  /* Modern Effects */
  --glow-primary: 0 0 20px rgba(0, 102, 255, 0.3);
  --glow-accent: 0 0 20px rgba(0, 212, 255, 0.4);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 48px rgba(0, 102, 255, 0.2);
  
  /* Spacing & Sizing */
  --header-height: 80px;
  --container-max: 1400px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header - Modern Glass Effect */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 255, 0.2);
  z-index: 1000;
  height: var(--header-height);
  transition: var(--transition);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

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

.logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

/* Navigation - Modern Tech Style */
.nav {
  display: flex;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
  transition: var(--transition);
}

.nav a:hover::before {
  left: 100%;
}

.nav a:hover {
  color: var(--accent-cyan);
  background: rgba(0, 102, 255, 0.1);
  box-shadow: var(--glow-accent);
}

/* Theme Toggle - Futuristic */
.theme-toggle {
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  margin-left: 1rem;
  position: relative;
}

.theme-toggle:hover {
  background: rgba(0, 212, 255, 0.2);
  color: var(--accent-cyan);
  box-shadow: var(--glow-accent);
  transform: scale(1.05);
}

.theme-toggle i {
  transition: var(--transition);
}

/* Initially show moon icon (light theme) */
.theme-toggle .fa-sun {
  display: none;
}

.theme-toggle .fa-moon {
  display: inline-block;
}

/* Dark theme - show sun icon */
[data-theme="dark"] .theme-toggle .fa-sun {
  display: inline-block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--accent-cyan);
  transition: var(--transition);
  border-radius: 2px;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav ul {
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  
  .nav a {
    font-size: 1.2rem;
    padding: 1rem;
    text-align: center;
    display: block;
  }
}

/* Main Content */
main {
  margin-top: var(--header-height);
}

/* Hero Section - Futuristic Design */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    var(--bg-gradient);
  position: relative;
  overflow: hidden;
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

/* Ensure button icons are visible */
.btn i {
  font-size: 1.1em;
  line-height: 1;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

/* Fallback for Font Awesome icons if they don't load */
.btn .fas.fa-rocket::before {
  content: "🚀";
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.btn .fas.fa-eye::before {
  content: "👁";
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.btn .fas.fa-paper-plane::before {
  content: "✈️";
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--tech-purple) 100%);
  color: white;
  box-shadow: var(--shadow-card);
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-hover), 0 0 30px rgba(0, 102, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-outline:hover {
  background: var(--accent-cyan);
  color: var(--bg-dark);
  box-shadow: var(--glow-accent);
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 2px;
  animation: slideInLeft 1s ease-out 0.5s both;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards - Modern Glass Effect */
.card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover), 0 0 30px rgba(0, 102, 255, 0.2);
  border-color: var(--accent-cyan);
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg, 2rem);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md, 1rem);
    padding: var(--spacing-lg, 1.5rem);
    background: var(--bg-glass);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--border-radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--tech-purple));
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--glow-primary);
}

.contact-details h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.whatsapp-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.whatsapp-link:hover {
    color: var(--success-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-glass);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xxl, 2.5rem);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg, 1.5rem);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), var(--glow-accent);
    background: rgba(26, 26, 46, 0.8);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

.contact-form .btn {
    margin-top: var(--spacing-md, 1rem);
    align-self: flex-start;
    min-width: 200px;
}

/* Footer - Modern Design */
.footer {
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-card) 100%);
  border-top: 1px solid rgba(0, 102, 255, 0.3);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.8;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  animation: fadeInUp 0.8s ease-out;
}

.footer-section h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  border-radius: 1px;
}

/* Footer Brand Section */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand .footer-logo img {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
  transition: var(--transition);
}

.footer-brand .footer-logo:hover img {
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
  transform: scale(1.05);
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 300px;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 255, 0.2);
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(10px);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: var(--transition);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.social-link.whatsapp:hover {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.social-link.twitter:hover {
  background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
  color: white;
  box-shadow: 0 8px 25px rgba(29, 161, 242, 0.4);
}

.social-link.linkedin:hover {
  background: linear-gradient(135deg, #0077B5, #005885);
  color: white;
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4);
  color: white;
  box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.social-link.github:hover {
  background: linear-gradient(135deg, #333, #24292e);
  color: white;
  box-shadow: 0 8px 25px rgba(51, 51, 51, 0.4);
}

/* Footer Navigation */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 0.3rem 0;
  display: inline-block;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
  transition: var(--transition);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

/* Footer Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-item-footer:hover {
  color: var(--accent-cyan);
  transform: translateX(5px);
}

.contact-item-footer i {
  width: 20px;
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(0, 102, 255, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
}

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

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent-cyan);
}

/* Mobile Navigation */
.nav.mobile-open {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeInDown 0.3s ease-out;
}

.nav.mobile-open ul {
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav.mobile-open a {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 16px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.nav.mobile-open a:hover {
  background: var(--bg-glass);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .grid {
    gap: 1.5rem;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .contact-form-container {
    padding: var(--spacing-xl, 2rem);
  }
  
  .contact-item {
    padding: var(--spacing-md, 1rem);
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .contact-form-container {
    padding: var(--spacing-lg, 1.5rem);
  }
  
  .contact-form .btn {
    width: 100%;
    justify-content: center;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm, 0.75rem);
  }
  
  .contact-details h3 {
    margin-bottom: 0.25rem;
  }
  
  /* Footer Responsive */
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-bottom-links {
    gap: 1rem;
  }
}

/* WhatsApp Floating Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-btn i {
  font-size: 1.8rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-blue), var(--tech-purple));
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
    font-size: 1.6rem;
  }
  
  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 80px;
    right: 15px;
    font-size: 1.1rem;
  }
}

/* Loading Animation */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(0, 102, 255, 0.3);
  border-top: 4px solid var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--primary-blue);
    }
    50% {
        box-shadow: 0 0 40px var(--primary-blue), 0 0 60px var(--primary-blue);
    }
}

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

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

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: var(--transition);
}

.skip-link:focus {
  top: 6px;
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite alternate;
}

.animate-bounce {
    animation: bounce 1s;
}

.animate-gradient {
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px var(--primary-blue);
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }