/* ================ BASE STYLES ================ */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --dark: #050a0e;
  --darker: #030608;
  --light: #f3f4f6;
  --gray: #9ca3af;
  --dark-gray: #1a1d21;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Section spacing */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.highlight {
  color: var(--primary);
}

/* ================ ANIMATIONS ================ */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  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 bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

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

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

.animate-fade {
  animation: fadeIn 1s ease-out forwards;
}

.animate-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-right {
  animation: slideInRight 1s ease-out forwards;
}

/* ================ COMPONENT STYLES ================ */
/* Header/Navigation */
.navbar {
  position: sticky;
  top: 20px;
  z-index: 50;
  max-width: 900px;
  height: 80px;
  border-radius: 9999px;
  background-color: rgba(31, 41, 55, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  color: var(--gray);
}

.nav-link:hover,
.nav-link.active {
  color: var(--light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #111827;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #34d399;
  transform: translateY(-2px);
}

/* Card Styles */
.card {
  background: linear-gradient(to bottom, var(--dark-gray), #0e0f12);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

/* Social Icons */
.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  animation: bounce 0.5s ease;
}

.youtube {
  background-color: #FF0000;
}

.linkedin {
  background-color: #0077B5;
}

.instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.tiktok {
  background-color: #000000;
}

.whatsapp {
  background-color: #25D366;
}

.facebook {
  background-color: #1877F2;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--dark-gray);
  border-radius: 0.5rem;
  max-width: 900px;
  width: 90%;
  position: relative;
}

.demo-modal {
  max-width: 500px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 101;
}

.close-modal:hover {
  color: var(--primary);
  transform: scale(1.2);
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--darker);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-circle {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(16, 185, 129, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Timeline Styles */
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #10b981;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.timeline-content {
  width: calc(50% - 30px);
  padding: 20px;
  border-radius: 8px;
  background-color: #1a1d21;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-content.left {
  margin-right: auto;
  border-left: 4px solid #10b981;
}

.timeline-content.right {
  margin-left: auto;
  border-right: 4px solid #10b981;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 2px;
  background-color: #2d3748;
}

.timeline-content.left::before {
  right: -20px;
}

.timeline-content.right::before {
  left: -20px;
}

/* Blog Card Styles */
.blog-card {
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: justify;
  color: #d1d5db;
  background: linear-gradient(to bottom, var(--dark-gray), #0e0f12);
}

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

.blog-image {
  transition: transform 0.5s ease;
}

.blog-category {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(16, 185, 129, 0.9);
  color: #111827;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ================ RESPONSIVE STYLES ================ */
@media (max-width: 768px) {
  .navbar {
    top: 0;
    border-radius: 0;
    max-width: 100%;
  }

  section {
    padding: 80px 0;
  }

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

  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .timeline-dot {
    left: 20px;
    transform: none;
  }

  .timeline-content,
  .timeline-content.left,
  .timeline-content.right {
    width: calc(100% - 60px);
    margin-left: 60px;
    border-left: 4px solid #10b981;
    border-right: none;
  }

  .timeline-content::before {
    left: -20px;
    right: auto;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#contactForm input,
#contactForm textarea {
  color: #000000;
  background-color: #f3f4f6; /* Light gray background */
}