/* 
========================================
   Key Solutions Technology
   Theme: Professional Navy Blue
   Font: Inter
   Icons: Lucide
========================================
*/

/* 1. Variables & Design Tokens */
:root {
  /* Brand Colors */
  --color-primary: #050a14;
  /* Deep Tech Navy */
  --color-secondary: #0f172a;
  /* Slate Navy */
  --color-accent: #06b6d4;
  /* Electric Cyan */
  --color-accent-hover: #0891b2;
  /* Darker Cyan */

  /* Text Colors */
  --text-main: #ffffff;
  /* Pure White */
  --text-body: #cbd5e1;
  /* Light Slate - Much better contrast */
  --text-muted: #94a3b8;
  /* Cool Gray */

  /* UI Elements */
  --border-color: rgba(6, 182, 212, 0.1);
  /* Subtle Cyan Border */
  --glass-bg: rgba(5, 10, 20, 0.85);
  --glass-border: rgba(6, 182, 212, 0.1);
  --card-bg: rgba(15, 23, 42, 0.6);

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --line-height-base: 1.6;

  /* Spacing */
  --section-padding: 4.5rem 0;
  --container-max-width: 1200px;

  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-primary);
  color: var(--text-body);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

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

/* 3. Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.text-accent {
  color: var(--color-accent);
}

.text-white {
  color: var(--text-main) !important;
}

.text-body {
  color: var(--text-body) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-body-sm {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.section {
  padding: var(--section-padding);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-base);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

/* 3.1 Stat Items */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.1), transparent 70%);
  pointer-events: none;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(6, 182, 212, 0.1);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  border: 1px solid rgba(6, 182, 212, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1;
  text-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* 4. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

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

.navbar-brand img {
  height: 40px;
  width: auto;
  /* Ensure logo is visible on dark bg */

}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

.mobile-toggle {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 5. Hero Section */
.hero {
  padding-top: 100px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 700px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 90%;
  opacity: 0.9;
}

.hero-badges {
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 2000px;
  /* Increased for deeper 3D */
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  transform-style: preserve-3d;
  animation: floatingMockup 6s ease-in-out infinite;
  border-radius: 2.5rem;
  overflow: hidden;
  transition: transform 0.3s ease-out;
  /* Smooth JS-driven tilt */
}

.hero-mockup {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

/* Light sweep reflection effect */
.mockup-reflection {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.1) 50%,
      transparent);
  transform: skewX(-25deg);
  animation: shine 6s infinite;
  pointer-events: none;
}

@keyframes floatingMockup {
  0% {
    transform: translateY(0) rotateX(2deg) rotateY(-2deg);
  }

  50% {
    transform: translateY(-20px) rotateX(4deg) rotateY(2deg);
  }

  100% {
    transform: translateY(0) rotateX(2deg) rotateY(-2deg);
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.hero-glow {
  position: absolute;
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  animation: glowPulse 5s ease-in-out infinite;
  z-index: -1;
}

@keyframes glowPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* 6. Card Styles (Services, Features) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.align-items-center {
  align-items: center;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: var(--transition-base);
  height: 100%;
}

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
  transition: var(--transition-base);
}

.card:hover .card-icon {
  background: rgba(6, 182, 212, 0.2);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
  transform: scale(1.05) rotate(5deg);
}

/* Category Cards (Productos Page) */
.category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 !important;
  /* Managed by children */
  background: rgba(13, 20, 35, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-image img {
  transform: scale(1.1);
  opacity: 1;
}

.category-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(5, 10, 20, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.category-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-tagline {
  font-size: 0.85rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.category-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.category-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.category-card-list li {
  margin-bottom: 0.75rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.4;
}

.category-card-list li i {
  margin-right: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Testimonials */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.rating {
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* Tech Stack */
.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tech-tag {
  background: rgba(6, 182, 212, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: var(--transition-base);
}

.tech-tag:hover {
  border-color: var(--color-accent);
  background: rgba(6, 182, 212, 0.15);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
  transform: translateY(-2px);
}

/* Feature List Section */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.feature-list-icon {
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: var(--transition-base);
}

.feature-list-item:hover .feature-list-icon {
  background: rgba(6, 182, 212, 0.2);
  transform: scale(1.1) rotate(5deg);
}

.feature-list-text h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.feature-list-text p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.visual-glow-container {
  position: relative;
  z-index: 1;
}

.visual-glow-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* 7. Footer */
.footer {
  background: var(--color-primary);
  background-image: radial-gradient(circle at 50% -10%, rgba(6, 182, 212, 0.15), transparent 70%);
  border-top: 1px solid var(--border-color);
  padding: 6rem 0 3rem;
  margin-top: 4rem;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-title {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  padding: 0;
  margin: 0;
}

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

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* 8. Floating Button */
.floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  z-index: 900;
  transition: var(--transition-base);
}

.floating-btn:hover {
  transform: scale(1.05);
  background: var(--color-accent-hover);
}

/* 9. Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }


  h2 {
    font-size: 2rem;
  }

  .navbar-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--color-secondary);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .hero-badges {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .hero-content div[style*="justify-content: flex-start"] {
    justify-content: center !important;
  }

  .hero-mockup {
    max-width: 300px;
  }

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

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

/* 10. Animations */
.fade-up-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 9. Infinite Logo Ticker */
.logo-ticker {
  overflow: hidden;
  padding: 2.5rem 0;
  background: rgba(5, 10, 20, 0.4);
  position: relative;
  white-space: nowrap;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.logo-ticker::before,
.logo-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--color-primary) 0%, transparent 100%);
}

.logo-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--color-primary) 0%, transparent 100%);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite;
  align-items: center;
}

.logo-item {
  width: 250px;
  height: 120px;
  /* Increased from 100px for much larger logos */
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.logo-item img {
  max-width: 220px;
  /* Increased for better visibility */
  max-height: 80px;
  /* Significantly increased from 65px */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.1) contrast(1.2);
  opacity: 0.7;
  transition: var(--transition-base);
}

/* Individual Scale Overrides for visual weight */
.logo-item img[alt="BCR Logística"] {
  max-height: 60px;
  /* BCR is very wide, slightly smaller to fit better */
}

.logo-item img[alt="Papeleria Montiel"],
.logo-item img[alt="Refaccionaria Carmona"] {
  max-height: 85px;
  /* These have tall icons, allow them to be larger */
}

.logo-item img[alt="Sounders DJ"],
.logo-item img[alt="Trailer Check"] {
  max-height: 80px;
  /* Use full default size */
}

.logo-item img[alt="Transtools"] {
  max-height: 50px;
  /* Smaller than other logos */
  transform: scale(0.85);
}

.logo-item:hover img {
  filter: grayscale(0%) brightness(1.3) contrast(1);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    /* Translate half the width of the track (6 logos * width) */
    transform: translateX(calc(-280px * 6));
  }
}

/* Responsive Ticker */
@media (max-width: 768px) {
  .logo-item {
    width: 200px;
    padding: 0 1.5rem;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-200px * 6));
    }
  }
}

/* 10. Testimonial Carousel */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.carousel-container {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 1.5rem;
  /* Padding moved here */
  box-sizing: border-box;
  overflow: hidden;
  /* Prevent shadow bleeding */
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.carousel-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel-btn:hover {
  background: var(--color-accent);
  color: white;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.75rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: var(--transition-base);
}

.dot.active {
  background: var(--color-accent);
  width: 25px;
  border-radius: 5px;
}

/* 11. Contact Page Specialized Styles */
.contact-form-glass {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 1.5rem !important;
  overflow: hidden;
}

.contact-visual-panel {
  background: linear-gradient(135deg, #050a14 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.contact-visual-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.15), transparent 70%);
}

.contact-visual-content {
  height: 100%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modern-form .form-label-modern {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  display: block;
}

.form-input-modern,
.form-select-modern {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: white;
  font-family: var(--font-main);
  transition: all 0.3s ease;
}

.form-input-modern:focus,
.form-select-modern:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

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

/* Form Control Placeholder Styling */
.form-control::placeholder,
.form-select::placeholder {
  color: var(--text-muted) !important;
}

textarea.form-input-modern {
  min-height: 120px;
  resize: none;
}

.success-message {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

.success-message.show {
  display: flex;
  align-items: center;
  animation: slideInDown 0.4s ease;
}

.category-card.contact-info-card {
  height: 100%;
  border-radius: 1.25rem !important;
  transition: all 0.3s ease;
}

.category-card.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent) !important;
  background: rgba(15, 23, 42, 0.6);
}

.category-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--color-accent);
}

.category-card-icon i {
  width: 28px;
  height: 28px;
}

/* 12. Modern Footer Enhancements */
.footer-modern {
  background: #050a14;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-accent);
}

.footer-links a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-body);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  background: var(--color-accent);
  color: white;
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  color: var(--text-body);
}

.footer-info i {
  color: var(--color-accent);
  margin-top: 4px;
}

/* 13. Animations & Reveal Effects */
.fade-up-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.fade-up-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 10. Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader-logo {
  width: 60px;
  height: 60px;
  z-index: 2;
  animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

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

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseLogo {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}