:root {
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary-color: #f97316;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  padding-top: 7rem;
}

/* Ensure data-include containers don't interfere with sticky positioning */
[data-include] {
  display: contents;
}

/* Top bar with contact info */
.top-bar {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  color: white;
  padding: 8px 0;
  font-size: 0.875rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  transition: all 0.3s ease;
  margin-bottom: 5rem;
}

.top-bar a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.top-bar a:hover {
  opacity: 0.8;
}

.top-bar i {
  margin-right: 6px;
}

/* Main header */
.site-header {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 37px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.logo-wrapper:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 14px;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Navigation */
.main-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.75rem 0.75rem;
  position: relative;
  transition: color 0.3s;
}

.main-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transform: translateX(-50%);
  transition: width 0.3s;
}

.main-nav .nav-link:hover {
  color: var(--primary-color);
}

.main-nav .nav-link:hover::after {
  width: 70%;
}

.main-nav .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.main-nav .dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  transition: all 0.3s;
  font-size: 0.938rem;
}

.main-nav .dropdown-item:hover {
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  padding-left: 2rem;
}

/* CTA Button */
.btn-cta {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #ea580c 100%
  );
  border: 2px solid var(--secondary-color);
  color: white;
  padding: 0.625rem 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-cta:hover {
  background: linear-gradient(
    135deg,
    #ea580c 0%,
    var(--secondary-color) 100%
  );
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
  color: white;
}

.btn-track {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 0.625rem 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.btn-track:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    #ea580c 100%
  );
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 2000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.mobile-menu-nav {
  padding: 1rem 0;
}

.mobile-menu-nav .nav-link {
  display: block;
  padding: 0.875rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.mobile-menu-nav .nav-link:hover {
  background: #f3f4f6;
  color: var(--primary-color);
}

.mobile-submenu {
  display: none;
  padding-left: 1rem;
  transition: all 0.3s ease;
}

.mobile-submenu .nav-link {
  font-size: 0.938rem;
  padding: 0.75rem 1.5rem;
}

.mobile-submenu.active {
  display: block;
}

/* Responsive */
@media (max-width: 1199px) {
  .btn-cta {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  .btn-track {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}
@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-overlay {
    display: block;
  }

  .top-bar .d-none {
    display: none !important;
  }

  .logo-img {
    height: 40px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .header-actions {
    gap: 0.5rem !important;
  }
}

@media (max-width: 576px) {
  .top-bar {
    font-size: 0.75rem;
  }

  .logo-img {
    height: 36px;
    margin-right: 10px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.75rem;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  padding: 4rem 0 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      30deg,
      rgba(255, 255, 255, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(255, 255, 255, 0.05) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(255, 255, 255, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(255, 255, 255, 0.05) 87.5%
    );
  background-size: 80px 140px;
  opacity: 0.3;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.breadcrumb-item {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item.active {
  color: white;
  font-weight: 600;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: white;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  color: white;
  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 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand h4 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-size: 0.938rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links h5 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.938rem;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--secondary-color);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 991px) {
  .about-content {
    padding: 2rem;
  }

  .about-content h3 {
    font-size: 1.125rem;
  }

  .contact-section {
    padding: 3rem 0;
  }

  .footer-links {
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 3rem 0 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .about-section,
  .contact-section {
    padding: 3rem 0;
  }

  .about-content h3 {
    font-size: 1.125rem;
  }

  .about-buttons {
    flex-direction: column;
  }

  .btn-about-primary,
  .btn-about-secondary {
    width: 100%;
    justify-content: center;
  }

  .section-title-center h2 {
    font-size: 2rem;
  }

  .contact-card,
  .quote-form {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }
}

/* Fixed Social Media Sidebar */
.social-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 0.75rem;
  background: transparent;
  /* backdrop-filter: blur(12px); */
  border-radius: 50px 0 0 50px;
  /* box-shadow: -6px 0 24px rgba(0, 0, 0, 0.08); */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  /* border: 1px solid rgba(0, 0, 0, 0.06); */
}

.social-sidebar:hover {
  padding-right: 1rem;
  /* box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12); */
}

.social-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.103);
  position: relative;
  overflow: hidden;
}

.social-sidebar-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-sidebar-link:hover {
  transform: translateX(-8px) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: white;
}

.social-sidebar-link:active {
  transform: translateX(-8px) scale(1.05);
}

.social-sidebar-link i {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-sidebar-link:hover i {
  transform: scale(1.15) rotate(5deg);
}

/* WhatsApp */
.social-sidebar-link[aria-label="WhatsApp"]::before {
  background: linear-gradient(
    135deg,
    #25d366 0%,
    #128c7e 100%
  );
}

.social-sidebar-link[aria-label="WhatsApp"]:hover::before {
  opacity: 1;
}

.social-sidebar-link[aria-label="WhatsApp"]:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Instagram */
.social-sidebar-link[aria-label="Instagram"]::before {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.social-sidebar-link[aria-label="Instagram"]:hover::before {
  opacity: 1;
}

.social-sidebar-link[aria-label="Instagram"]:hover {
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
}

/* Facebook */
.social-sidebar-link[aria-label="Facebook"]::before {
  background: linear-gradient(
    135deg,
    #1877f2 0%,
    #0a5fd1 100%
  );
}

.social-sidebar-link[aria-label="Facebook"]:hover::before {
  opacity: 1;
}

.social-sidebar-link[aria-label="Facebook"]:hover {
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

/* LinkedIn */
.social-sidebar-link[aria-label="LinkedIn"]::before {
  background: linear-gradient(
    135deg,
    #0a66c2 0%,
    #004182 100%
  );
}

.social-sidebar-link[aria-label="LinkedIn"]:hover::before {
  opacity: 1;
}

.social-sidebar-link[aria-label="LinkedIn"]:hover {
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

/* Smooth entrance animation */
@keyframes slideInRight {
  from {
    transform: translateX(100%) translateY(-50%);
    opacity: 0;
  }
  to {
    transform: translateX(0) translateY(-50%);
    opacity: 1;
  }
}

.social-sidebar {
  animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1)
    0.3s backwards;
}

/* Staggered animation for links */
.social-sidebar-link:nth-child(1) {
  animation: fadeInScale 0.4s ease-out 0.5s backwards;
}

.social-sidebar-link:nth-child(2) {
  animation: fadeInScale 0.4s ease-out 0.6s backwards;
}

.social-sidebar-link:nth-child(3) {
  animation: fadeInScale 0.4s ease-out 0.7s backwards;
}

.social-sidebar-link:nth-child(4) {
  animation: fadeInScale 0.4s ease-out 0.8s backwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hide on mobile devices */
@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}

/* Accessibility: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .social-sidebar,
  .social-sidebar-link,
  .social-sidebar-link i,
  .social-sidebar-link::before {
    animation: none;
    transition: none;
  }
}
