/* Base Styles */
:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #3b82f6;
  --primary-foreground: #f8fafc;
  --secondary: #f1f5f9;
  --secondary-foreground: #1e293b;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #f1f5f9;
  --accent-foreground: #1e293b;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #3b82f6;
  --radius: 0.5rem;

  --background-rgb: 255, 255, 255;
  --foreground-rgb: 15, 23, 42;
  --card-rgb: 255, 255, 255;
  --primary-rgb: 59, 130, 246;
  --secondary-rgb: 241, 245, 249;
  --border-rgb: 226, 232, 240;
  --ring-rgb: 59, 130, 246;
}

.dark {
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #0f172a;
  --card-foreground: #f8fafc;
  --primary: #3b82f6;
  --primary-foreground: #1e293b;
  --secondary: #1e293b;
  --secondary-foreground: #f8fafc;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #1e293b;
  --accent-foreground: #f8fafc;
  --destructive: #7f1d1d;
  --destructive-foreground: #f8fafc;
  --border: #1e293b;
  --input: #1e293b;
  --ring: #4f46e5;

  --background-rgb: 15, 23, 42;
  --foreground-rgb: 248, 250, 252;
  --card-rgb: 15, 23, 42;
  --primary-rgb: 59, 130, 246;
  --secondary-rgb: 30, 41, 59;
  --border-rgb: 30, 41, 59;
  --ring-rgb: 79, 70, 229;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.main-container {
    position: relative;
    min-height: 100vh;
    overflow-hidden;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

ul {
    list-style: none;
}

/* Particle Canvas */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn btn-primary{
	color: #fff;
	background-color: #0056b3;
	border: 1px solid #004494;
}

.btn-primary:hover {
    background-color: rgba(59, 130, 246, 0.9);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
		border-bottom-color: #118cff 
}

.btn-outline:hover {
    background-color: var(--accent);
	color: #118CFF
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--accent);
}

.btn-full {
    width: 100%;
}

.btn i {
    margin-left: 0.5rem;
}

/* Header / Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    background-color: rgba(var(--background-rgb), 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo-image2 {
    height: 60px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
}

.logo-dark {
    display: none;
}

.logo-light {
    display: block;
}

.dark .logo-dark {
    display: block;
}

.dark .logo-light {
    display: none;
}

.logo-highlight {
    background-color: var(--primary);
    color: white;
    padding: 0 0.25rem;
    margin-left: 0.25rem;
}

.nav-desktop {
    display: none;
}

.nav-link {
    margin: 0 1rem;
    color: rgba(var(--foreground-rgb), 0.8);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-mobile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu {
    display: none;
    background-color: rgba(var(--background-rgb), 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

.mobile-nav .nav-link {
    padding: 0.75rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0 4rem;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(var(--foreground-rgb), 0.8);
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    height: 400px;
    width: 100%;
}

.image-container img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 1.5rem;
    filter: blur(24px);
    z-index: -1;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: rgba(var(--secondary-rgb), 0.3);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section-description {
    color: rgba(var(--foreground-rgb), 0.8);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(var(--border-rgb), 0.5);
    background-color: rgba(var(--card-rgb), 0.5);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    transform: translateY(-5px);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-description {
    color: rgba(var(--foreground-rgb), 0.7);
}

/* Partners Section */
.partners {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
  background-color: rgba(var(--background-rgb), 0.7);
}

.partners-container {
  margin-top: 3rem;
}

.partners-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  width: 180px;
  padding: 1rem;
  border-radius: var(--radius);
  background-color: rgba(var(--card-rgb), 0.5);
  border: 1px solid rgba(var(--border-rgb), 0.2);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Media Queries para Partners */
@media (min-width: 768px) {
  .partners-slider {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 1rem 0;
    justify-content: flex-start;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  .partners-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
  
  .partner-logo {
    flex: 0 0 180px;
  }
}

@media (min-width: 1024px) {
  .partners-slider {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* About Section */
.about {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-description {
    color: rgba(var(--foreground-rgb), 0.8);
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    color: var(--primary);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: rgba(var(--secondary-rgb), 0.3);
    position: relative;
    z-index: 1;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

.contact-details h4 {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: rgba(var(--foreground-rgb), 0.7);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    width: 100%;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(var(--border-rgb), 0.5);
    background-color: rgba(var(--background-rgb), 0.5);
    color: var(--foreground);
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px rgba(var(--ring-rgb), 0.2);
}

/* Footer */
.footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(var(--border-rgb), 0.5);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer .logo-image {
    height: 35px;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: rgba(var(--foreground-rgb), 0.7);
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: rgba(var(--foreground-rgb), 0.7);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(var(--foreground-rgb), 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-address {
    font-style: normal;
    color: rgba(var(--foreground-rgb), 0.7);
}

.footer-address p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(var(--border-rgb), 0.5);
    color: rgba(var(--foreground-rgb), 0.7);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .form-row {
        flex-direction: row;
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
    }
    
    .nav-mobile {
        display: none;
    }
    
    .hero-content {
        flex-direction: row;
    }
    
    .hero-text {
        text-align: left;
        flex: 1;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-description {
        margin-left: 0;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-content {
        flex-direction: row;
    }
    
    .about-image {
        flex: 1;
    }
    
    .about-text {
        flex: 1;
    }
    
    .contact-content {
        flex-direction: row;
    }
    
    .contact-info {
        flex: 1;
    }
    
    .contact-form-container {
        flex: 1;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

