/* ===== CSS VARIABLES ===== */
:root {
  /* Brand Colors */
  --primary-navy: #0B2340;
  --primary-teal: #0FA3A3;
  --accent-gold: #E4B84A;
  --neutral-gray: #F6F8FB;
  --white: #FFFFFF;
  --black: #000000;
  
  /* Text Colors */
  --text-primary: #0B2340;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  
  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F6F8FB;
  --bg-dark: #0B2340;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(11, 35, 64, 0.1);
  --shadow-md: 0 4px 12px rgba(11, 35, 64, 0.15);
  --shadow-lg: 0 8px 24px rgba(11, 35, 64, 0.2);
}

/* Dark Mode Variables */
body.dark {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --text-primary: #FFFFFF;
  --text-secondary: #D1D5DB;
  --text-light: #9CA3AF;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-navy);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: var(--white);
  border-color: var(--primary-teal);
}

.btn-primary:hover {
  background-color: var(--primary-navy);
  border-color: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-navy);
  border-color: var(--primary-navy);
}

.btn-secondary:hover {
  background-color: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-teal);
  border-color: var(--primary-teal);
}

.btn-outline:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--bg-primary);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 35, 64, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img, #siteLogo {
  height: 48px;
  width: auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-teal);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-primary);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 1rem 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-primary);
  transition: background-color var(--transition-fast);
}

.dropdown-menu a:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-teal);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--neutral-gray) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: blur(0.5px);
}

.hero-waves {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: var(--header-height);
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-line:nth-child(3) {
  animation-delay: 0.4s;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 1s; }
.stat-item:nth-child(2) { animation-delay: 1.2s; }
.stat-item:nth-child(3) { animation-delay: 1.4s; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-teal);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-description {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  line-height: 1.3;
}
/* ===== SERVICES OVERVIEW ===== */
.services-overview {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
}

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

.section-title {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

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

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(11, 35, 64, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 163, 163, 0.05), rgba(11, 35, 64, 0.05));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 32px rgba(15, 163, 163, 0.15), 0 4px 16px rgba(11, 35, 64, 0.1);
}

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

.service-card > * {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 2rem;
}

.service-title {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.service-description {
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-teal);
  font-weight: bold;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

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

/* ===== COMPANY HIGHLIGHT ===== */
.company-highlight {
  background: linear-gradient(135deg, var(--neutral-gray) 0%, var(--white) 100%);
  padding: var(--section-padding);
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.profile-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

.profile-item:hover {
  transform: translateY(-4px);
}

.profile-preview {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.pdf-preview {
  position: relative;
  height: 100%;
  background: #f8f9fa;
}

.pdf-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-preview {
  position: relative;
  height: 100%;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(15, 163, 163, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.play-button:hover {
  background: var(--primary-teal);
  transform: translate(-50%, -50%) scale(1.1);
}

.preview-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11, 35, 64, 0.8));
  color: var(--white);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* YouTube Video Player Styles */
.video-card-embed {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-md);
}

.responsive-iframe {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Video element styling */
.responsive-iframe video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* YouTube fallback container */
.youtube-fallback {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
}

.youtube-fallback iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}



.video-download {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(15, 163, 163, 0.1);
  color: var(--primary-teal);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.video-download:hover {
  background: rgba(15, 163, 163, 0.2);
  color: var(--primary-navy);
}

.profile-info {
  padding: 1.5rem;
}

.profile-info h3 {
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.profile-info p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.achievement-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.company-info h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.company-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
  color: var(--primary-teal);
  width: 16px;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

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

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

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: var(--primary-teal);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

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

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

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

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(11, 35, 64, 0.1);
  padding: 1rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  font-size: 0.875rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

/* Prevent selection of decorative elements — fixes Select All artifact on Services page */
.decorative, .visual-number, .hero-decor, .bg-metric, .timeline-large-year,
.decorative::before, .decorative::after,
.service-card::before, .solution-tile::before, .benefit-card::before,
.timeline-card::before, .cert-item::before, .login-tile::before,
.hero-pattern, .hero-bg svg, .hero-bg path {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  pointer-events: none;
}

/* Keep real interactive content selectable */
.content, .content *, .card, .card *, main, header, footer,
.service-card .service-title, .service-card .service-description,
.service-card .service-features, .service-card .service-stats,
.stat-label, .hero-title, .hero-subtitle, .section-title, .section-subtitle {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
}

/* Ensure interactive elements remain clickable */
.btn, .nav-link, .service-cta, .cta-actions *,
.service-footer *, .header-actions * {
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* Style selection to be subtle and consistent */
::selection {
  background: rgba(11, 35, 64, 0.12);
  color: inherit;
}

::-moz-selection {
  background: rgba(11, 35, 64, 0.12);
  color: inherit;
}

/* Screen reader only elements */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-stats {
    flex-direction: row;
    justify-content: center;
  }
  
  .profile-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .profile-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .achievement-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}