/* 1. Import Inter from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap");

/* 2. Reset & Base Styles */

/* Enhanced navbar styles with immediate color transitions */

/* Modern Header */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: all 0.3s ease;
  /* Force hardware acceleration */
  transform: translateZ(0);
  will-change: background-color, border-color;
}

body.dark-mode .modern-header {
  background: rgba(45, 55, 72, 0.95);
  border-bottom-color: rgba(75, 85, 99, 0.8);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  min-height: 70px;
}

.header-container > * {
  display: flex;
  align-items: center;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 10;
}

.header-logo img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo:hover img {
  transform: scale(1.05);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Enhanced nav items with immediate color response */
.nav-item {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.1s ease !important;
  display: flex;
  align-items: center;
  height: 100%;
  /* Force hardware acceleration */
  transform: translateZ(0);
  will-change: color;
}

.nav-item:hover {
  color: #10b981 !important;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  transition: width 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
}

/* Immediate dark mode colors */
body.dark-mode .nav-item {
  color: #e2e8f0 !important;
  transition: color 0.1s ease !important;
}

body.dark-mode .nav-item:hover {
  color: #10b981 !important;
}

/* Light mode explicit colors */
body:not(.dark-mode) .nav-item {
  color: #374151 !important;
  transition: color 0.1s ease !important;
}

body:not(.dark-mode) .nav-item:hover {
  color: #10b981 !important;
}

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

/* Enhanced action buttons with immediate color response */
.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(243, 244, 246, 0.8);
  color: #374151;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.1s ease !important;
  font-size: 1.1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  /* Force hardware acceleration */
  transform: translateZ(0);
  will-change: color, background-color, transform;
}

.action-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981 !important;
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.action-btn:active {
  transform: translateY(0) translateZ(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Dark mode action buttons with immediate response */
body.dark-mode .action-btn {
  background: rgba(55, 65, 81, 0.8);
  color: #e2e8f0 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.1s ease !important;
}

body.dark-mode .action-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Language button specific styling */
#language-switch {
  background: rgba(243, 244, 246, 0.8) !important;
  border: none !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.1s ease !important;
}

#language-switch:hover {
  background: rgba(16, 185, 129, 0.15) !important;
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

body.dark-mode #language-switch {
  background: rgba(55, 65, 81, 0.8) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode #language-switch:hover {
  background: rgba(16, 185, 129, 0.2) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(243, 244, 246, 0.8);
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 4px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease;
  transform: translateZ(0);
}

.mobile-menu-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

body.dark-mode .mobile-menu-btn {
  background: rgba(55, 65, 81, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

body.dark-mode .mobile-menu-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.1s ease !important;
  transform-origin: center;
  will-change: background-color, transform;
}

/* Immediate hamburger line color updates */
body.dark-mode .hamburger-line {
  background: #e2e8f0 !important;
  transition: all 0.1s ease !important;
}

body:not(.dark-mode) .hamburger-line {
  background: #374151 !important;
  transition: all 0.1s ease !important;
}

/* Mobile menu active state */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.dark-mode .mobile-nav {
  background: rgba(45, 55, 72, 0.98);
  border-bottom-color: rgba(75, 85, 99, 0.8);
}

.mobile-nav.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
}

.mobile-nav-item {
  display: block;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: all 0.1s ease !important;
  border-left: 3px solid transparent;
  will-change: color, background-color;
}

.mobile-nav-item:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.05);
  border-left-color: #10b981;
}

body.dark-mode .mobile-nav-item {
  color: #e2e8f0 !important;
  transition: all 0.1s ease !important;
}

body.dark-mode .mobile-nav-item:hover {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

@media (max-width: 768px) {
  .header-container {
    height: 60px;
  }

  .header-logo img {
    height: 35px;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .action-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Ensure main content starts below fixed header */
main {
  padding-top: 70px;
}

@media (max-width: 768px) {
  main {
    padding-top: 60px;
  }
}

/* Flag icon specific styling */
.flag-icon {
  width: 20px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}




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

html {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;           /* 1rem = 16px */
    line-height: 1.6;          /* body text line-height */
    color: #111;               /* dark grey for text */
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: inherit;
}

/* 3. Typography Scale */
/* Headings */
h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);   /* ~40px–64px */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);     /* ~32px–48px */
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;                    /* 28px */
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: 1.5rem;                     /* 24px */
    font-weight: 600;
    line-height: 1.4;
}

/* Body text and small copy */
p,
li,
small {
    font-size: 1rem;       /* 16px */
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
    margin-bottom: 1em;
}

/* Buttons and UI text */
.button,
.btn {
    font-size: 0.875rem;   /* 14px */
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: none;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #fff;
    color: #10b981;
}

.btn-primary:hover {
    background-color: #f0fdf4;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 4. Layout Helpers */
.hero-section {
    padding-top: 80px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 5. Header Styles */
.header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

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

.logo-img,
.logo-img-footer {
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo-img {
    height: 50px;
}

.logo-img-footer {
    height: 32px;
}

.logo i,
.logo span {
    display: none;
}

/* Dark-mode logo brightness */
body.dark-mode .logo-img,
body.dark-mode .logo-img-footer {
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-link {
    margin-left: 1.5rem;
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: #10b981;
}

.nav-link button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.dark-mode-toggle {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: #111;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dark-mode-toggle:hover {
    color: #10b981;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #10b981;
}

/* 6. Hero Section */
.hero-section {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #fff;
    padding: 8rem 0 3rem;
    text-align: center;
}

.hero-section h1 {
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.cta-buttons a {
    flex: 1;
    max-width: 200px;
}

/* 7. Stats Section */
.stats-section {
    background-color: #f0fdf4;
    padding: 4rem 0;
    transition: background-color 0.3s ease;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}

/* 8. Services Section */
.services-section {
    padding: 4rem 0;
}

.services-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

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

.service-card {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: #10b981;
}

.service-card i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 9. Process Section */
.process-section {
    background-color: #f0fdf4;
    padding: 4rem 0;
    transition: background-color 0.3s ease;
}

.process-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.process-step i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* 10. Blog Section */
.blog-section {
    padding: 4rem 0;
}

.blog-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: #10b981;
}

.blog-meta {
    display: flex;
    justify-content: flex-start;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Blog Hero Section */
.blog-hero-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: #fff;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #10b981;
}

.breadcrumb span {
    color: #94a3b8;
}

.blog-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.meta-item i {
    color: #10b981;
}

/* Blog Content Section */
.blog-content-section {
    padding: 4rem 0;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

body.dark-mode .blog-content-section {
    background-color: #1f2937;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Main Content */
.blog-main-content {
    min-width: 0; /* Prevent text overflow */
}

.blog-image {
    margin-bottom: 3rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.blog-image:hover img {
    transform: scale(1.02);
}

.blog-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #374151;
    max-width: none;
}

body.dark-mode .blog-content {
    color: #e2e8f0;
}

.blog-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
    position: relative;
}

body.dark-mode .blog-content h2 {
    color: #f9fafb;
}

.blog-content h2::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 2px;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

body.dark-mode .blog-content h3 {
    color: #e2e8f0;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-content ul,
.blog-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.blog-content strong {
    color: #1f2937;
    font-weight: 600;
}

body.dark-mode .blog-content strong {
    color: #f9fafb;
}

/* Special Components */
.principle-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #0ea5e9;
}

body.dark-mode .principle-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #0ea5e9;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

body.dark-mode .principle-item {
    background: rgba(15, 23, 42, 0.7);
}

.principle-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.principle-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

body.dark-mode .principle-content h4 {
    color: #f9fafb;
}

.principle-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

body.dark-mode .benefit-item {
    background: #374151;
    border-color: #4b5563;
}

body.dark-mode .benefit-item:hover {
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
}

body.dark-mode .benefit-content h4 {
    color: #f9fafb;
}

.benefit-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Implementation Steps */
.implementation-steps {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border-left: 4px solid #10b981;
}

body.dark-mode .step-item {
    background: #374151;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Defense Strategy Cards */
.defense-strategy {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.defense-strategy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

body.dark-mode .defense-strategy {
    background: #374151;
    border-color: #4b5563;
}

body.dark-mode .defense-strategy:hover {
    border-color: #10b981;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.strategy-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.strategy-content h3 {
    margin: 0 0 1rem 0;
    color: #1f2937;
}

body.dark-mode .strategy-content h3 {
    color: #f9fafb;
}

.strategy-content p {
    margin: 0;
    line-height: 1.7;
}

/* Special Alert Boxes */
.key-takeaway {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 0.75rem;
    border: 1px solid #f59e0b;
    margin: 2rem 0;
}

body.dark-mode .key-takeaway {
    background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
    border-color: #f59e0b;
}

.takeaway-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f59e0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.takeaway-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #92400e;
}

body.dark-mode .takeaway-content h4 {
    color: #fbbf24;
}

.takeaway-content p {
    margin: 0;
    color: #78350f;
    line-height: 1.6;
}

body.dark-mode .takeaway-content p {
    color: #fed7aa;
}

.warning-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 0.75rem;
    border: 1px solid #ef4444;
    margin: 2rem 0;
}

body.dark-mode .warning-box {
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 100%);
    border-color: #ef4444;
}

.warning-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.warning-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc2626;
}

body.dark-mode .warning-content h4 {
    color: #f87171;
}

.warning-content p {
    margin: 0;
    color: #7f1d1d;
    line-height: 1.6;
}

body.dark-mode .warning-content p {
    color: #fca5a5;
}

/* Compliance Strategies List */
.compliance-strategies {
    background: #f0f9ff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #0ea5e9;
    margin: 2rem 0;
}

body.dark-mode .compliance-strategies {
    background: #1e293b;
    border-color: #0ea5e9;
}

.compliance-strategies li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.compliance-strategies li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Share Section */
.share-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

body.dark-mode .share-section {
    border-top-color: #4b5563;
}

.share-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

body.dark-mode .share-section h4 {
    color: #e2e8f0;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.share-button.facebook {
    background: #1877f2;
    color: #fff;
}

.share-button.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-button.twitter {
    background: #1da1f2;
    color: #fff;
}

.share-button.twitter:hover {
    background: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.share-button.linkedin {
    background: #0a66c2;
    color: #fff;
}

.share-button.linkedin:hover {
    background: #095dab;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

/* Sidebar */
.blog-sidebar {
    min-width: 0;
}

.sidebar-widget {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

body.dark-mode .sidebar-widget {
    background: #374151;
    border-color: #4b5563;
}

.sidebar-widget h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
}

body.dark-mode .sidebar-widget h3 {
    color: #f9fafb;
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.related-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

body.dark-mode .related-post {
    background: #2d3748;
    border-color: #4a5568;
}

body.dark-mode .related-post:hover {
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.related-post-image {
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.related-post-content h4 a {
    text-decoration: none;
    color: #374151;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: #10b981;
}

body.dark-mode .related-post-content h4 a {
    color: #e2e8f0;
}

.related-post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

body.dark-mode .related-post-meta {
    color: #9ca3af;
}

.related-post-meta i {
    color: #10b981;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    text-align: center;
    border: none;
}

.cta-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-content h3 {
    margin: 0 0 1rem 0;
    color: #fff;
    font-size: 1.4rem;
}

.cta-content p {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #fff;
    color: #10b981;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    background: #f9fafb;
}

/* 11. FAQ Section */
.faq-section {
    background-color: #f9fafb;
    padding: 4rem 0;
    transition: background-color 0.3s ease;
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    padding-right: 2rem;
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    color: #666;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-answer p {
    margin: 0 0 1rem 0;
}

.faq-answer ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    padding: 0 1.5rem 1.5rem 1.5rem;
    animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 12. Contact Section */
section#contact.contact-section {
    padding: 4rem 0;
    background-color: #f9fafb;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info,
.contact-form {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.contact-info a {
    color: #10b981;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #3b82f6;
}

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

.contact-icon {
    font-size: 1.5rem;
    color: #10b981;
}

.contact-form iframe {
    width: 100%;
    border: none;
}

/* 13. Footer */
.footer {
    background-color: #1f2937;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

/* 14. Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    body.dark-mode .nav-links {
        background-color: #2d3748;
    }

    body.dark-mode .nav-links.active .nav-link {
        color: #fff;
    }

    body.dark-mode .nav-links.active .nav-link:hover {
        color: #10b981;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .dark-mode-toggle {
        font-size: 1.5rem;
    }

    /* Blog mobile styles */
    .blog-hero-section {
        padding: 6rem 0 3rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .principles-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .defense-strategy,
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-button {
        justify-content: center;
    }
    
    .related-post {
        flex-direction: column;
    }
    
    .related-post-image {
        width: 100%;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .blog-hero-section {
        padding: 5rem 0 2rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .principle-item,
    .benefit-item,
    .defense-strategy,
    .step-item {
        padding: 1rem;
    }
}

/* 15. Animation on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* 16. Scroll-to-top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #10b981;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
}

/* 17. Dark Mode Base Overrides */
body.dark-mode {
    background-color: #2d3748;
    color: #e2e8f0;
}

body.dark-mode .header,
body.dark-mode .service-card,
body.dark-mode .blog-post,
body.dark-mode .faq-item,
body.dark-mode .faq-answer,
body.dark-mode .contact-info,
body.dark-mode .contact-form {
    background-color: #2d3748;
}

body.dark-mode .service-card {
    border: 1px solid #4a5568;
    box-shadow: none;
}

body.dark-mode .service-card:hover {
    border-color: #10b981;
}

body.dark-mode .service-card i {
    color: #10b981;
}

body.dark-mode .nav-link,
body.dark-mode .service-card h3,
body.dark-mode .blog-content h3 a,
body.dark-mode .faq-question h3,
body.dark-mode .contact-info,
body.dark-mode .contact-form {
    color: #e2e8f0;
}

body.dark-mode section#contact.contact-section {
    background-color: #1f2937;
    color: #e2e8f0;
}

body.dark-mode .faq-section,
body.dark-mode .stats-section,
body.dark-mode .process-section {
    background-color: #1f2937;
}

/* Dark-mode tweaks for contact cards */
body.dark-mode .contact-info,
body.dark-mode .contact-form {
    background-color: #2d3748;
    color: #e2e8f0;
}

/* Dark-mode lead paragraph and meta fixes */
body.dark-mode .lead-paragraph {
    color: #cbd5e0;
}

body.dark-mode .blog-meta {
    color: #a0aec0;
}

/* 18. Blog Post Full Styles */
.blog-post-section {
    padding: 4rem 0;
}

.blog-post-full {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.lead-paragraph {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.blog-post-image {
    margin-bottom: 2rem;
}

.blog-post-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-content p {
    margin-bottom: 1rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.share-buttons {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #4b5563;
    transition: background-color 0.3s ease;
}

.share-button:hover {
    background-color: #d1d5db;
}

.related-articles {
    margin-top: 3rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.related-articles h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #10b981;
    text-decoration: none;
}

.related-articles a:hover {
    text-decoration: underline;
}

/* 19. Calculators Section */
.calculators-section {
    padding: 4rem 0;
    background-color: #f9fafb;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.calculator-card {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.calculator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #10b981;
}

.calculator-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
}

.input-group input {
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 1rem;
}

.calculator-result {
    font-weight: 600;
    margin-top: 1rem;
}

/* Dark-mode for calculators */
body.dark-mode .calculators-section {
    background-color: #1f2937;
}

body.dark-mode .calculator-card {
    background-color: #2d3748;
}

body.dark-mode .calculator-card h3 {
    color: #10b981;
}

body.dark-mode .input-group input {
    background-color: #374151;
    border-color: #4b5563;
    color: #e2e8f0;
}

/* 20. Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background-color: #f0fdf4;
    transition: background-color 0.3s ease;
}

.pricing-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

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

.calculator input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.calculator button {
    background-color: #10b981;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calculator button:hover {
    background-color: #059669;
}

/* Dark-mode for pricing */
body.dark-mode .pricing-section {
    background-color: #1f2937;
}

body.dark-mode .pricing-card {
    background-color: #2d3748;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

body.dark-mode .pricing-card h3 {
    color: #e2e8f0;
}

body.dark-mode .calculator input {
    background-color: #374151;
    border-color: #4b5563;
    color: #e2e8f0;
}

body.dark-mode .calculator button {
    background-color: #059669;
}

body.dark-mode .calculator button:hover {
    background-color: #047857;
}

/* Range input styling */
.calculator input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 5px;
    background: #d1d5db;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.calculator input[type="range"]:hover {
    opacity: 1;
}

.calculator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    cursor: pointer;
}

.calculator input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    cursor: pointer;
}

.calculator output {
    font-weight: 600;
    color: #10b981;
}

/* 21. Team Section */
.team-section {
    padding: 4rem 0;
    background-color: #f3f4f6;
    transition: background-color 0.3s ease;
}

.team-section h2 {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

@media (max-width: 1023px) {
    .team-section {
        background-color: #f3f4f6;
    }
}

body.dark-mode .team-section {
    background-color: #2d3748;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-member {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

body.dark-mode .team-member {
    background-color: #3b4351;
}

.team-member-photo {
    border-radius: 50%;
    margin-bottom: 1rem;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

body.dark-mode .team-member h3 {
    color: #f9fafb;
}

.team-member p {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

body.dark-mode .team-member p {
    color: #cbd5e0;
}

.team-links {
    margin-top: 1rem;
}

.team-links a {
    color: #10b981;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-links a:hover {
    color: #3b82f6;
}

/* 22. Collaborations Slider */
.company-collaborations-slider {
    margin-top: 2rem;
    text-align: center;
    overflow: hidden;
}

.company-collaborations-slider .slider {
    display: flex;
}

.company-collaborations-slider .slide {
    flex: 0 0 calc(100% / 5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.company-collaborations-slider .slide img {
    max-width: 80px;
    filter: grayscale(60%) contrast(1) brightness(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.company-collaborations-slider .slide img:hover {
    filter: grayscale(0%) contrast(1) brightness(1);
    transform: scale(1.03);
}

.slider-caption {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

@media (max-width: 768px) {
    .company-collaborations-slider .slider {
        gap: 2rem;
    }
    .company-collaborations-slider .slide {
        flex-basis: calc(100% / 3);
    }
}

@media (max-width: 480px) {
    .company-collaborations-slider .slide {
        flex-basis: calc(100% / 2);
    }
}

/* 23. Section Divider & Discreet Message */
.section-divider {
    margin: 2rem auto;
    width: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.discreet-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .discreet-message {
        margin-top: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}

/* 24. Contact-section overrides for broader .contact-section class */
.contact-section .contact-info,
.contact-section .contact-item div {
    text-align: left;
}

/* Remove any white box under the flag */
#language-switch {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#language-switch .flag-icon {
  background-color: transparent !important;
  border: none !important;
}

/* Print Styles */
@media print {
    .blog-hero-section {
        background: none;
        color: #000;
        padding: 2rem 0;
    }
    
    .modern-header,
    .share-section,
    .blog-sidebar,
    footer {
        display: none;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-content {
        color: #000;
    }
    
    .blog-content h2,
    .blog-content h3 {
        color: #000;
    }
}


/* Mobile – make meta line left-aligned */
@media (max-width: 768px){
  .blog-meta{
    justify-content: flex-start;   /* no centering */
    gap: 1rem;                     /* tidy spacing between items */
  }
}

/* Only apply green when the user selects text */
::selection {
  background-color: #10b981;
  color: #ffffff;
}
::-moz-selection {
  background-color: #10b981;
  color: #ffffff;
}



/* Minimal Contact Form - Just a few lines to match the vibe */
#contact-form {
  background-color: #f8fafc;
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

body.dark-mode #contact-form {
  background-color: #374151;
  border-color: #4b5563;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

body.dark-mode .form-group label {
  color: #e2e8f0;
}

.form-group input,
.form-group textarea {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #10b981;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
  background-color: #4b5563;
  border-color: #6b7280;
  color: #e2e8f0;
}

#contact-form .btn {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

#contact-form .btn:hover {
  background: #059669;
}

/* --- Contact two-column layout & field alignment override --- */
.contact-grid{
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: stretch;               /* both cards equal height */
}

/* ensure the form itself is a tidy vertical stack */
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* labels stay left – inputs stretch 100 % */
.contact-form .form-group{
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
}

/* keep the submit button left aligned like the icons on the info card */
.contact-form .btn{
  align-self: flex-start;
}

/* --- Colour-match labels with the info card --- */
.contact-form .form-group label{
  color: #333;          /* same as default text in contact-info */
}

body.dark-mode .contact-form .form-group label{
  color: #e2e8f0;       /* same as contact-info in dark mode */
}

/* === Share buttons override – unifies styles and removes circle clash === */

/* layout */
.share-section .share-buttons{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  align-items:center;
}

/* pill base */
.share-button{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  height:42px;
  padding:0 .95rem;
  border:1px solid #e5e7eb;
  border-radius:.75rem;
  background:#fff;
  color:#374151;
  font-weight:600;
  font-size:.95rem;
  line-height:1;
  text-decoration:none;
  box-shadow:none;
  transition:transform .15s ease, border-color .15s ease,
             color .15s ease, background-color .15s ease, box-shadow .15s ease;
  width:auto;                 /* override old 40px circle */
}
.share-button i{ font-size:1.05rem; }
.share-button span{ display:inline; }  /* ensure label is visible */
.share-button:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 10px rgba(0,0,0,.06);
}
.share-button:active{
  transform:translateY(0);
  box-shadow:0 2px 6px rgba(0,0,0,.05);
}
.share-button:focus-visible{
  outline:2px solid currentColor;
  outline-offset:2px;
}

/* brand-on-hover only */
.share-button.facebook{
  background:#fff; color:#374151; border-color:#e5e7eb;
}
.share-button.facebook:hover{
  color:#1877f2; border-color:#1877f2; background:rgba(24,119,242,.06);
}

.share-button.twitter{
  background:#fff; color:#374151; border-color:#e5e7eb;
}
.share-button.twitter:hover{
  color:#111; border-color:#111; background:rgba(0,0,0,.05);
}

.share-button.linkedin{
  background:#fff; color:#374151; border-color:#e5e7eb;
}
.share-button.linkedin:hover{
  color:#0a66c2; border-color:#0a66c2; background:rgba(10,102,194,.06);
}

/* dark mode */
body.dark-mode .share-button{
  background:#2d3748;
  color:#e2e8f0;
  border-color:#4b5563;
}
body.dark-mode .share-button:hover{
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}
body.dark-mode .share-button.facebook:hover{
  color:#93c5fd; border-color:#60a5fa; background:rgba(147,197,253,.08);
}
body.dark-mode .share-button.twitter:hover{
  color:#e2e8f0; border-color:#e2e8f0; background:rgba(255,255,255,.06);
}
body.dark-mode .share-button.linkedin:hover{
  color:#93c5fd; border-color:#60a5fa; background:rgba(147,197,253,.08);
}

/* ensure Section 18 circle styles are overridden in the blog post layout */
.blog-post-full .share-buttons .share-button{
  width:auto; height:42px; border-radius:.75rem;
}

/* compact on very small screens */
@media (max-width:420px){
  .share-button{ padding:0 .8rem; gap:.5rem; }
}

/* Make the decorative overlay non-interactive and behind content */
.phishing-page .cta-final { position: relative; }
.phishing-page .cta-final::before {
  pointer-events: none;   /* critical fix */
  z-index: 0;             /* ensure it stays behind */
}

/* Ensure the CTA button sits above just in case */
.phishing-page .cta-final .btn-solid {
  position: relative;
  z-index: 1;
}

/* Optional: if a fixed header hides the top of the target section */
#business-campaign { scroll-margin-top: 80px; }  /* adjust to your header height */

