 /* Shared Navigation and Footer Styles */

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
  }
  
  /* Enhanced sticky effect when scrolled */
  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
    position: relative;
  }
  
  .nav-logo {
    flex-shrink: 0;
    z-index: 1001;
  }
  
  .nav-logo img {
    height: 13rem;
    padding: 0;
    max-width: 350px;
    transition: all 0.3s ease;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: #3b82f6;
  }
  
  /* Mega Menu Styles */
  .nav-item-with-mega {
    position: relative;
  }
  
  .nav-item-with-mega .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 1rem;
  }
  
  .mega-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
  }
  
  .mega-menu-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .mega-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  /* Use Cases specific layout - 4 items per row */
  #usecases-mega-menu .mega-menu-content {
    display: block;
    padding: 2rem;
    min-width: 1000px;
  }
  
  #usecases-mega-menu .mega-menu-section {
    width: 100%;
  }
  
  #usecases-mega-menu .mega-menu-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  
  #usecases-mega-menu .mega-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
  }
  
  #usecases-mega-menu .mega-menu-item:hover {
    background-color: #f9fafb;
    transform: translateY(-1px);
  }
  
  #usecases-mega-menu .mega-menu-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  #usecases-mega-menu .mega-menu-title {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.875rem;
  }
  
  #usecases-mega-menu .mega-menu-desc {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
  }
  
  /* Resources specific layout - 4 items per row */
  #resources-mega-menu .mega-menu-content {
    display: block;
    padding: 2rem;
    min-width: 1000px;
  }
  
  #resources-mega-menu .mega-menu-section {
    width: 100%;
  }
  
  #resources-mega-menu .mega-menu-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  
  #resources-mega-menu .mega-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
  }
  
  #resources-mega-menu .mega-menu-item:hover {
    background-color: #f9fafb;
    transform: translateY(-1px);
  }
  
  #resources-mega-menu .mega-menu-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  #resources-mega-menu .mega-menu-title {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.875rem;
  }
  
  #resources-mega-menu .mega-menu-desc {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
  }
  
  .mega-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
  }
  
  .mega-menu-item:hover {
    background-color: #f9fafb;
    transform: translateY(-1px);
  }
  
  .mega-menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
  }
  
  .mega-menu-icon.blue {
    background-color: #eff6ff;
    color: #2563eb;
  }
  
  .mega-menu-icon.green {
    background-color: #f0fdf4;
    color: #16a34a;
  }
  
  .mega-menu-icon.purple {
    background-color: #faf5ff;
    color: #9333ea;
  }
  
  .mega-menu-icon.orange {
    background-color: #fff7ed;
    color: #ea580c;
  }
  
  .mega-menu-icon.cyan {
    background-color: #ecfeff;
    color: #0891b2;
  }
  
  .mega-menu-icon.pink {
    background-color: #fdf2f8;
    color: #db2777;
  }
  
  .mega-menu-icon.gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  .mega-menu-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .mega-menu-title {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.875rem;
  }
  
  .mega-menu-desc {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
  }
  
  /* Mobile Menu Styles */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
  }
  
  .mobile-menu-btn:hover {
    background-color: rgba(107, 114, 128, 0.1);
    color: #3b82f6;
  }
  
  .mobile-menu-btn:active {
    transform: scale(0.95);
  }
/* --- Mobile Menu Overlay Fix --- */
/* Sidebar-style mobile menu for hamburger */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  min-width: 0;
  background: #fff;
  z-index: 1200;
  box-shadow: 2px 0 16px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  border-radius: 0 !important;
  overflow: hidden;
}

@media (min-width: 600px) {
  .mobile-menu {
    width: 90vw;
    max-width: 340px;
    min-width: 220px;
    right: auto;
  }
}

.mobile-menu:not(.hidden) {
  transform: translateX(0);
}

.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.25);
  z-index: 1100;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s cubic-bezier(.4,0,.2,1);
}

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .mobile-menu-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .mobile-nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
  }
  
  .mobile-nav-link:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.1);
    transform: translateX(4px);
  }
  
  .mobile-nav-link:active {
    transform: translateX(4px) scale(0.98);
  }
  
  .hidden {
    display: none !important;
  }
  
  /* Button Styles */
  .btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
  }
  
  /* Navigation-specific button styling - Higher specificity */
  .navbar .btn-primary,
  .mobile-menu .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
    color: white !important;
  }
  
  .navbar .btn-primary:hover,
  .mobile-menu .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4) !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
  }
  
  /* Default button styling for pages */
  .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
  }
  
  .btn-outline {
    border: 2px solid #d1d5db;
    color: #6b7280;
    background: transparent;
  }
  
  .btn-outline:hover {
    border-color: #3b82f6;
    color: #3b82f6;
  }
  
  .btn-outline.btn-orange:hover {
    background: white !important;
    color: #f97316 !important;
    border-color: #f97316 !important;
    box-shadow: none !important;
  }
  
  .btn-orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
  }
  
  .btn-orange:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  }
  
  .mobile-btn {
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
  }
  
  /* Mobile Menu Sections */
  .mobile-menu-section {
    border-bottom: 1px solid rgba(229, 231, 235, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .mobile-menu-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
  }
  
  .mobile-menu-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    text-align: left;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
  }
  
  .mobile-menu-trigger:hover {
    background-color: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
  }
  
  .mobile-menu-trigger:active {
    transform: scale(0.98);
  }
  
  .mobile-menu-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .mobile-menu-arrow {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
    color: #6b7280;
  }
  
  .mobile-menu-trigger.active .mobile-menu-arrow {
    transform: rotate(180deg);
    color: #3b82f6;
  }
  
  .mobile-menu-submenu {
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(59, 130, 246, 0.1);
  }
  
  .mobile-menu-submenu.show {
    display: block;
    animation: slideDownSubmenu 0.3s ease-out;
  }
  
  @keyframes slideDownSubmenu {
    from {
      opacity: 0;
      transform: translateY(-10px);
      max-height: 0;
    }
    to {
      opacity: 1;
      transform: translateY(0);
      max-height: 1000px;
    }
  }
  
  .mobile-submenu-section {
    margin-bottom: 1.5rem;
  }
  
  .mobile-submenu-section:last-child {
    margin-bottom: 0;
  }
  
  .mobile-submenu-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
  }
  
  .mobile-submenu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 0.5rem;
    text-decoration: none;
    color: #374151;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 0.25rem;
    border: 1px solid transparent;
  }
  
  .mobile-submenu-item:hover {
    background-color: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.1);
    transform: translateX(4px);
  }
  
  .mobile-submenu-item:active {
    transform: translateX(4px) scale(0.98);
  }
  
  .mobile-submenu-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  .mobile-submenu-icon.blue {
    background-color: #eff6ff;
    color: #2563eb;
  }
  
  .mobile-submenu-icon.green {
    background-color: #f0fdf4;
    color: #16a34a;
  }
  
  .mobile-submenu-icon.purple {
    background-color: #faf5ff;
    color: #9333ea;
  }
  
  .mobile-submenu-icon.orange {
    background-color: #fff7ed;
    color: #ea580c;
  }
  
  .mobile-submenu-icon.cyan {
    background-color: #ecfeff;
    color: #0891b2;
  }
  
  .mobile-submenu-icon.pink {
    background-color: #fdf2f8;
    color: #ec4899;
  }
  
  .mobile-submenu-icon.gradient {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
  }
  
  .mobile-submenu-text {
    flex: 1;
    min-width: 0;
  }
  
  .mobile-submenu-title {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
  }
  
  .mobile-submenu-desc {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
  }
  
  .mobile-menu-buttons {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 231, 235, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  /* Black/Dark Modern Footer Theme - Extra Compact */
  .footer, .glass-footer, .footer-bottom, .modern-footer-bottom {
    background: #0a0a0b !important;
    color: #ffffff;
    border-radius: 0;
    box-shadow: none;
    padding-top: 1.5rem;
    padding-bottom: 0;
    font-family: 'Inter', sans-serif;
  }
  
  /* Ensure ALL footer text is white */
  .footer *, .glass-footer *, .footer-bottom *, .modern-footer-bottom * {
    color: #ffffff !important;
  }
  
  /* Specific overrides for hover states */
  .footer a:hover, .glass-footer a:hover, .footer-bottom a:hover, .modern-footer-bottom a:hover,
  .footer a:hover *, .glass-footer a:hover *, .footer-bottom a:hover *, .modern-footer-bottom a:hover * {
    color: #3b82f6 !important;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: flex-start;
    border-bottom: 1px solid #1f1f23;
    padding-bottom: 1rem;
  }
  
  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-brand {
    max-width: 300px;
    text-align: left;
    margin-bottom: 0;
  }
  
  .footer-logo {
    height: 7rem;
    width: 10rem;
    margin-bottom: 0.5rem;
    object-fit: contain;
  }
  
  .brand-description {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-weight: 400;
  }
  
  .modern-socials {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
  }
  
  .social-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1a1a1e;
    color: #ffffff;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(59,130,246,0.1);
    border: 1px solid #2a2a2e;
  }
  
  .social-link:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
    border-color: #3b82f6;
  }
  
  /* Center the footer menu grid and columns */
  .modern-footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    width: 100%;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer-column {
    /*min-width: 160px;*/
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .column-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #3b82f6  !important;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
  }
  
  /* Restore original icon color for all columns */
  .column-title i {
    color: #3b82f6 !important; /* Original blue color for all icons */
  }
  
  .link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
  }
  
  .footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.97rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.4rem;
    transition: background 0.2s, color 0.2s;
    font-weight: 400;
    justify-content: center;
  }
  
  .footer-link span {
    color: #ffffff !important;
  }
  
  .footer-link:hover {
    background: #1a1a1e;
    color: #3b82f6 !important;
  }
  
  .footer-link:hover span {
    color: #3b82f6 !important;
  }
  
  .footer-link i {
    color: #ffffff !important;
    transition: color 0.2s;
    font-size: 1rem;
  }
  
  .footer-link:hover i {
    color: #3b82f6 !important;
  }
  
  /* Newsletter Card - Top Right Position */
  .modern-footer-newsletter {
    background: #1a1a1e;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 1rem;
    margin: 0;
    width: 300px;
    flex-shrink: 0;
    align-self: flex-start;
    border: 1px solid #2a2a2e;
  }
  
  .newsletter-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  .newsletter-title i {
    color: #3b82f6;
    font-size: 0.9rem;
  }
  
  .newsletter-desc {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  
  .input-group {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
  }
  
  .newsletter-input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    border: 1px solid #2a2a2e;
    font-size: 0.9rem;
    outline: none;
    background: #0a0a0b;
    color: #ffffff;
    transition: border 0.2s;
  }
  
  .newsletter-input::placeholder {
    color: #6b7280;
  }
  
  .newsletter-input:focus {
    border-color: #3b82f6;
    background: #111114;
  }
  
  .newsletter-btn {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #ffffff;
    border: none;
    border-radius: 0.6rem;
    padding: 0.6rem 0.9rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }
  
  .newsletter-btn:hover {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    transform: translateY(-1px) scale(1.02);
  }
  
  .newsletter-privacy {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }
  
  .newsletter-privacy i {
    color: #10b981;
    font-size: 0.75rem;
  }
  
  /* Trust Indicators - Extra Compact */
  .modern-footer-trust {
    background: #1a1a1e;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid #2a2a2e;
  }
  
  .trust-content {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #0a0a0b;
    border-radius: 0.6rem;
    padding: 0.6rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid #2a2a2e;
  }
  
  .trust-icon {
    color: #3b82f6;
    font-size: 1.1rem;
  }
  
  .trust-text {
    display: flex;
    flex-direction: column;
  }
  
  .trust-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
  }
  
  .trust-desc {
    color: #ffffff;
    font-size: 0.8rem;
  }
  
  /* Bottom Footer - Extra Compact */
  .modern-footer-bottom {
    background: #0a0a0b !important;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0.5rem;
    padding: 0.75rem 0 0.5rem 0;
    border-top: 1px solid #1f1f23;
  }
  
  .bottom-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .copyright {
    color: #ffffff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  .legal-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #ffffff;
  }
  
  .legal-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
  }
  
  .legal-link:hover {
    color: #3b82f6;
    background: #1a1a1e;
  }
  
  .separator {
    color: #ffffff;
  }
  
  .footer-cta .cta-link {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff !important;
    border-radius: 0.6rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-decoration: none;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
    font-size: 0.9rem;
  }
  
  .footer-cta .cta-link:hover {
    background: linear-gradient(135deg, #f59e0b, #8b5cf6);
    color: #fff !important;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 16px rgba(245,158,11,0.18);
  }
  
  /* Responsive Styles - Compact */
  @media (max-width: 1024px) {
    .footer-content {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .footer-left {
      gap: 1rem;
    }
    .modern-footer-links {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
    .modern-footer-newsletter {
      width: 100%;
      max-width: 400px;
    }
  }
  @media (max-width: 768px) {
    .footer, .glass-footer {
      padding-top: 1rem;
    }
    .footer-content {
      grid-template-columns: 1fr;
      gap: 1rem;
      padding-bottom: 0.75rem;
    }
    .footer-left {
      gap: 1rem;
    }
    .footer-brand {
      text-align: center;
      max-width: 100%;
    }
    .modern-socials {
      justify-content: center;
    }
    .modern-footer-links {
      grid-template-columns: 1fr;
      gap: 1.25rem;
      justify-items: center;
    }
    .footer-column {
      min-width: 0;
      width: 100%;
      align-items: center;
    }
    .link-list {
      align-items: center;
    }
    .modern-footer-newsletter {
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 1rem;
    }
    .modern-footer-trust {
      margin-top: 0.5rem;
      padding: 0.5rem 0;
    }
    .trust-content {
      flex-direction: column;
      gap: 0.5rem;
    }
    .modern-footer-bottom {
      margin-top: 0.5rem;
      padding: 0.5rem 0 0.25rem 0;
    }
    .bottom-content {
      flex-direction: column;
      gap: 0.25rem;
      align-items: center;
      text-align: center;
    }
  }
  
  /* Container */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Utility class for pages with fixed navbar - ensures content isn't hidden */
  .fixed-navbar-page {
    padding-top: 4rem;
  }
  
  /* For hero sections that should account for navbar */
  .hero-with-navbar {
    padding-top: 4rem;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .nav-logo img {
      height: 9rem;
      max-width: 280px;
    }
    .nav-logo
    {
    width:20%;
    }
    
    .nav-links {
      gap: 1.5rem;
    }
    
    .mega-menu {
      min-width: 600px;
      margin-left:60px;
    }
  
    .mega-menu-content {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Use Cases responsive for tablets */
    #usecases-mega-menu .mega-menu-content {
      min-width: 600px;
    }
  
    #usecases-mega-menu .mega-menu-items {
      grid-template-columns: repeat(3, 1fr);
    }
  
    /* Resources responsive for tablets */
    #resources-mega-menu .mega-menu-content {
      min-width: 600px;
    }
  
    #resources-mega-menu .mega-menu-items {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .navbar {
      height: auto;
      min-height: 4rem;
    }
    
    .nav-content {
      height: 4rem;
      padding: 0;
    }
    
    .nav-logo img {
      height: 9rem;
      max-width: 220px;
    }
    
    .nav-links {
      display: none;
    }
  
    .mobile-menu-btn {
      display: block;
    }
  
    .mega-menu {
      min-width: 350px;
      left: 1rem;
      right: 1rem;
      transform: none;
      border-radius: 12px;
    }
  
    .mega-menu.active {
      transform: none;
    }
  
    .mega-menu-content {
      grid-template-columns: 1fr;
      gap: 1rem;
      padding: 1rem;
    }
  
    /* Use Cases responsive for mobile */
    #usecases-mega-menu .mega-menu-content {
      min-width: auto;
    }
  
    #usecases-mega-menu .mega-menu-items {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
  
    #usecases-mega-menu .mega-menu-item {
      padding: 0.75rem;
      border-radius: 8px;
    }
  
    /* Resources responsive for mobile */
    #resources-mega-menu .mega-menu-content {
      min-width: auto;
    }
  
    #resources-mega-menu .mega-menu-items {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
  
    #resources-mega-menu .mega-menu-item {
      padding: 0.75rem;
      border-radius: 8px;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  
    .footer-links {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
  
    .footer-brand {
      text-align: center;
    }
  
    .social-links {
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .nav-container {
      padding: 0 1rem;
    }
    
    .nav-content {
      height: 3.5rem;
    }
    
    .nav-logo img {
      height: 8rem;
      max-width: 180px;
    }
    
    .mobile-menu-btn {
      padding: 0.5rem;
      font-size: 1.25rem;
    }
    
    .mobile-menu-content {
      padding: 1rem;
      gap: 0.75rem;
    }
    
    .mobile-nav-link {
      padding: 0.875rem 1rem;
      font-size: 0.95rem;
    }
    
    .mobile-btn {
      padding: 0.875rem 1.25rem;
      font-size: 0.95rem;
    }
    
    .mobile-menu-trigger {
      padding: 0.875rem 1rem;
      font-size: 0.95rem;
    }
    
    .mobile-submenu-item {
      padding: 0.75rem 0.375rem;
    }
    
    .mobile-submenu-icon {
      width: 28px;
      height: 28px;
      font-size: 0.875rem;
    }
    
    .mobile-submenu-title {
      font-size: 0.8125rem;
    }
    
    .mobile-submenu-desc {
      font-size: 0.6875rem;
    }
  
    .footer-links {
      grid-template-columns: 1fr;
    }
    
    /* Adjust utility classes for small screens */
    .fixed-navbar-page {
      padding-top: 3.5rem;
    }
  
    .hero-with-navbar {
      padding-top: 3.5rem;
    }
  }
  
  @media (max-width: 360px) {
    .nav-container {
      padding: 0 0.75rem;
    }
    
    .nav-content {
      height: 3rem;
    }
    
    .nav-logo img {
      height: 140px;
      max-width: 160px;
    }
    
    .mobile-menu-btn {
      padding: 0.375rem;
      font-size: 1.125rem;
    }
    
    .mobile-menu-content {
      padding: 0.875rem;
    }
    
    .mobile-nav-link {
      padding: 0.75rem 0.875rem;
      font-size: 0.9rem;
    }
    
    .mobile-btn {
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
    }
    
    .mobile-menu-trigger {
      padding: 0.75rem 0.875rem;
      font-size: 0.9rem;
    }
    
    .mobile-submenu-item {
      padding: 0.625rem 0.25rem;
      gap: 0.5rem;
    }
    
    .mobile-submenu-icon {
      width: 24px;
      height: 24px;
      font-size: 0.75rem;
    }
    
    .mobile-submenu-title {
      font-size: 0.75rem;
    }
    
    .mobile-submenu-desc {
      font-size: 0.625rem;
    }
    
    .mobile-submenu-section h4 {
      font-size: 0.75rem;
      margin-bottom: 0.5rem;
    }
    
    /* Adjust utility classes for extra small screens */
    .fixed-navbar-page {
      padding-top: 3rem;
    }
  
    .hero-with-navbar {
      padding-top: 3rem;
    }
  }
  
  /* Footer bottom layout fix */
  .footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .bottom-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .legal-links {
    flex: 1 1 auto;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem 1.2rem;
  }
  .footer-cta {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .cta-link {
    background: linear-gradient(90deg, #6366f1 60%, #818cf8 100%);
    color: #fff !important;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(80,60,180,0.10);
    margin-left: 1.5rem;
    display: inline-block;
  }
  .cta-link:hover {
    background: linear-gradient(90deg, #818cf8 60%, #6366f1 100%);
    color: #fff !important;
  }
  @media (max-width: 900px) {
    .bottom-content {
      flex-direction: column;
      align-items: stretch;
      gap: 1.2rem;
    }
    .footer-cta {
      justify-content: flex-start;
      margin-left: 0;
      margin-top: 0.5rem;
    }
    .cta-link {
      margin-left: 0;
      width: 100%;
      text-align: center;
    }
    .legal-links {
      justify-content: flex-start;
      text-align: left;
    }
  }

	@media (max-width: 600px) {
  	
 	 .mobile-menu-section {
   	 margin-bottom: 1.25rem !important;
   	 padding-bottom: 1rem !important;
   	 border-bottom: 1px solid #f3f4f6 !important;
   	background: #fff;
  	}
  	.mobile-menu-trigger {
   	 background: #f9fafb !important;
   	 border-radius: 8px !important;
   	 margin-bottom: 0.5rem !important;
  	}
  	.mobile-submenu-section {
  	  margin-bottom: 1rem !important;
  	}
}
.mobile-menu-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1300;
  background: none;
  border: none;
  padding: 0.5rem;
  font-size: 2rem;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 600px) {
  .mobile-menu-btn {
    right: 1.5rem;
    top: 1.25rem;
  }
}

.mobile-menu:not(.hidden) .menu-icon {
  display: none !important;
}
.mobile-menu:not(.hidden) .close-icon {
  display: inline !important;
}

/* --- Force mobile menu and hamburger visibility only on mobile screens --- */
.mobile-menu-btn,
.mobile-menu,
.mobile-menu-backdrop {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block !important;
  }
  .mobile-menu {
    display: flex !important;
  }
  .mobile-menu.hidden {
    display: none !important;
  }
  .mobile-menu-backdrop {
    display: block !important;
  }
}

/* Position the close (cross) button at the top-right of the sidebar */
.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #374151;
  z-index: 1301;
  cursor: pointer;
}

/* Make the mobile sidebar scrollable if content overflows */
.mobile-menu {
  overflow-y: auto !important;
  max-height: 100vh !important;
}

/* Vertically center the hamburger menu button in the navbar and align with logo */
.nav-content {
  align-items: center !important;
  display: flex !important;
  height: 4rem;
  position: relative;
}

.mobile-menu-btn {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  margin: 0;
  padding: 0.5rem;
  z-index: 1300;
  background: none;
  border: none;
  font-size: 2rem;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    position: fixed !important;
    top: 0.75rem !important;
    right: 1rem !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    z-index: 3000 !important;
    background: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 2.5rem !important;
    width: 2.5rem !important;
    padding: 0 !important;
  }
}

.mobile-menu {
  height: 100vh !important;
  max-height: 100vh !important;
  top: 0 !important;
}

.mobile-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  max-width: 340px !important;
  height: 100vh !important;
  overflow-y: auto !important;
  z-index: 1200 !important;
  border-radius: 0 !important;
}

@media (max-width: 768px) {
  .mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    max-height: 100vh !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    z-index: 1200 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
  }
}

@media (max-width: 768px) {
  html, body {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    /* overflow: hidden !important; */
  }
}

.hidden { display: none !important; }
.mobile-menu-backdrop { z-index: 1100 !important; }
.mobile-menu { z-index: 1200 !important; }
