:root {
    --cirkli-family: #4CAF50;
    --cirkli-friends: #9C27B0;
    --cirkli-social: #FF9800;
    --cirkli-professional: #2196F3;
    --cirkli-dating: #E91E63;
    --dark-bg: #2c2c2c;
    --darker-bg: #121212;
    --light-bg: #f0f0f0;
  }
  
  /* Add keyframes for gradient animation */
  @keyframes gradient {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
  }
  
  /* Navbar styles update */
  .navbar {
      background: transparent;
      transition: all 0.3s ease;
      padding: 0.5rem 0;
  }
  
  .navbar-nav {
      display: flex;
      align-items: center;
  }
  
  .navbar-nav .nav-item {
      margin-left: 1rem;
  }
  
  /* Navbar dropdown menu positioning */
  .navbar .navbar-collapse {
      justify-content: flex-end;
  }
  
  @media (min-width: 992px) {
      .navbar-expand-lg .navbar-nav {
          flex-direction: row;
      }
  
      .navbar-expand-lg .navbar-collapse {
          display: flex !important;
          flex-basis: auto;
      }
  }
  
  /* Mobile menu adjustments */
  @media (max-width: 991.98px) {
      .navbar-collapse {
          background: var(--dark-bg);
          padding: 1rem;
          border-radius: 8px;
          margin-top: 1rem;
      }
  
      .navbar-nav .nav-item {
          margin: 0.5rem 0;
      }
  }
  
  .navbar.scrolled {
      background: linear-gradient(135deg,
          rgba(76, 175, 80, 0.8),
          rgba(33, 150, 243, 0.8),
          rgba(255, 152, 0, 0.8),
          rgba(156, 39, 176, 0.8),
          rgba(233, 30, 99, 0.8)
      );
      background-size: 400% 400%;
      animation: gradient 15s ease infinite;
      backdrop-filter: blur(8px);
  }
  
  /* Hero section styles update */
  .hero {
      min-height: 75vh;
      padding: 120px 0 60px;
      background: linear-gradient(135deg,
          var(--cirkli-family) 0%,
          var(--cirkli-professional) 25%,
          var(--cirkli-social) 50%,
          var(--cirkli-friends) 75%,
          var(--cirkli-dating) 100%
      );
      background-size: 400% 400%;
      animation: gradient 15s ease infinite;
      color: rgb(255, 255, 255);
      display: flex;
      align-items: center;
  }
  
  .hero-content {
      width: 100%;
      padding: 0 1rem;
  }
  
  /* Value proposition carousel */
  .value-carousel {
      margin: 2.5rem auto;
      height: 70px;
      overflow: hidden;
      position: relative;
      max-width: 900px;
  }
  
  .value-item {
      text-align: center;
      opacity: 0;
      position: absolute;
      width: 100%;
      transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s;
      font-size: 1.25rem;
      font-weight: 500;
      line-height: 1.4;
  }
  
  .value-item.active {
      opacity: 1;
      transform: translateY(0);
  }
  
  /* Adjust text sizes */
  .hero-content h2.display-2 {
      font-size: 3.2rem;
      line-height: 1.2;
      margin-bottom: 1.5rem;
  }
  
  .hero-content .lead {
      font-size: 1.4rem;
      font-weight: 400;
      max-width: 900px;
      margin: 0 auto 2.5rem;
      line-height: 1.4;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
      .hero {
          min-height: 70vh;
          padding: 100px 0 40px;
      }
  
      .hero-content h2.display-2 {
          font-size: 2.2rem;
      }
      
      .hero-content .lead {
          font-size: 1.1rem;
      }
  
      .value-carousel {
          height: 80px;
          margin: 1.5rem auto;
      }
  }
  
  /* Keep the navbar text readable */
  .navbar-nav .nav-link {
      color: white !important;
      font-weight: 500;
  }
  
  .navbar .navbar-toggler {
      border-color: rgba(255, 255, 255, 0.5);
  }
  
  .navbar .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Cirkl card styles */
  .cirkl-card.border-purple {
      border: 2px solid var(--cirkli-friends);
      box-shadow: 0 4px 8px rgba(156, 39, 176, 0.1);
  }
  
  .card-body .bi.bi-people {
      color: var(--cirkli-friends);
  }
  
  /* Add hover effect */
  .cirkl-card.border-purple:hover {
      box-shadow: 0 8px 16px rgba(156, 39, 176, 0.2);
      transform: translateY(-2px);
      transition: all 0.3s ease;
  }
  
  /* Features section styling */
  #features {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg,
          rgba(76, 175, 80, 0.15),
          rgba(33, 150, 243, 0.15),
          rgba(255, 152, 0, 0.15),
          rgba(156, 39, 176, 0.15),
          rgba(233, 30, 99, 0.15)
      );
      padding: 4rem 0;
  }
  
  #features::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg,
          rgba(255, 255, 255, 0.9),
          rgba(234, 231, 231, 0.85)
      );
      transform: skewY(-6deg);
      transform-origin: top left;
  }
  
  #features .container {
      position: relative;
      z-index: 1;
  }
  
  #features h2 {
      color: #333333;
      font-weight: 700;
      margin-bottom: 3rem;
      text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
  }
  
  #features .card {
      background: var(--dark-bg);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  #features .card-body {
      color: white;
  }
  
  #features .card-title {
      color: white;
      font-weight: 600;
  }
  
  #features .card-text {
      color: rgba(255, 255, 255, 0.9);
  }
  
  #features .list-unstyled li {
      color: rgba(255, 255, 255, 0.85);
  }
  
  /* Card hover effects */
  .cirkl-card, .feature-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background: var(--dark-bg);
      color: white;
  }
  
  .cirkl-card:hover, .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }
  
  /* Form elements */
  .form-control {
      border-radius: 0.5rem;
      border: 2px solid rgba(18, 18, 18, 0.3);
      background: rgba(255,255,255,0.95);
      color: #000000;
      font-size: 1rem;
      padding: 0.375rem 1rem;
      height: auto;
      line-height: 1.5;
  }
  
  .form-control:focus {
      border-color: var(--cirkli-professional);
      box-shadow: 0 0 0 0.25rem rgba(33, 150, 243, 0.25);
      background: white;
      color: #000000;
  }
  
  /* Input Groups */
  .input-group {
      gap: 0.5rem;
  }
  
  .input-group > .form-control {
      flex: 2;
  }
  
  .input-group > .btn {
      flex: 1;
      padding: 0.375rem 1rem;
  }
  
  /* Status message styling */
  .status-message {
      margin-top: 1rem;
  }
  
  .status-message .alert {
      margin-bottom: 0;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
      .hero {
          padding-top: 60px;
      }
      
      .hero-content {
          padding: 2rem 1rem;
      }
      
      .display-2 {
          font-size: 2.5rem;
      }
      
      .lead {
          font-size: 1.1rem;
      }
      
      .form-control, 
      .btn {
          font-size: 0.9rem;
      }
  }
  
  /* Join section styling */
  #join {
      background: var(--darker-bg);
      color: rgb(31, 30, 30);
      padding: 6rem 0;
      position: relative;
      overflow: hidden;
  }
  
  #join::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg,
          rgba(76, 175, 80, 0.1),
          rgba(33, 150, 243, 0.1),
          rgba(255, 152, 0, 0.1),
          rgba(156, 39, 176, 0.1),
          rgba(233, 30, 99, 0.1)
      );
      pointer-events: none;
  }
  
  #join .container {
      position: relative;
      z-index: 1;
  }
  
  #join h2 {
      color: white;
      font-weight: 700;
      margin-bottom: 2rem;
  }
  
  #join .lead {
      color: rgba(255, 255, 255, 0.9);
      font-size: 1.2rem;
      margin-bottom: 3rem;
  }
  
  #join .list-unstyled li {
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 1rem;
      font-size: 1.1rem;
  }
  
  #join .list-unstyled .bi {
      color: var(--cirkli-professional);
      margin-right: 1rem;
  }
  
  #join .bottom-logo {
      max-width: 300px;
      opacity: 0.9;
      transition: all 0.3s ease;
  }
  
  /* Form styling update */
  #join .form-control {
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(255, 255, 255, 0.2);
      color: white;
  }
  
  #join .form-control:focus {
      background: rgba(255, 255, 255, 0.15);
      border-color: var(--cirkli-professional);
      color: white;
  }
  
  #join .form-control::placeholder {
      color: rgba(255, 255, 255, 0.5);
  }
  
  #join .btn-primary {
      background: var(--cirkli-professional);
      border: none;
      padding: 0.75rem 2rem;
      font-weight: 600;
  }
  
  #join .btn-primary:hover {
      background: var(--cirkli-friends);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
  }
  
  /* Keep existing responsive styles */
  @media (max-width: 768px) {
      /* ... keep existing media queries ... */
      
      #join {
          padding: 4rem 0;
      }
      
      #join .bottom-logo {
          max-width: 200px;
          margin-top: 2rem;
      }
  }
  
  /* Smart Meet feature card styling */
  .tabs-content[value="smartmeet"] .bg-white {
      background: var(--dark-bg);
      border: 1px solid rgba(33, 150, 243, 0.2);
  }
  
  .tabs-content[value="smartmeet"] ul li {
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 0.5rem;
  }
  
  .tabs-content[value="smartmeet"] .bg-opacity-10 {
      border: 1px solid rgba(33, 150, 243, 0.3);
  }
  
  /* Update TabsList grid for 4 items */
  .tabs-list {
      grid-template-columns: repeat(4, 1fr) !important;
  }
  
  @media (max-width: 768px) {
      .tabs-list {
          grid-template-columns: repeat(2, 1fr) !important;
          gap: 0.5rem;
      }
      
      .tabs-trigger {
          padding: 0.5rem;
          font-size: 0.9rem;
      }
  }
  
  /* Smart Meet specific animations */
  .tabs-content[value="smartmeet"] {
      transition: all 0.3s ease;
  }
  
  .tabs-content[value="smartmeet"]:hover {
      transform: translateY(-2px);
  }
  
  .tabs-content[value="smartmeet"] .bg-opacity-10 {
      transition: background-color 0.3s ease;
  }
  
  .tabs-content[value="smartmeet"]:hover .bg-opacity-10 {
      background-color: rgba(33, 150, 243, 0.15);
  }
  
  /* Enhanced Feature Cards */
  .feature-card {
      background: var(--dark-bg);
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
      transition: all 0.3s ease;
      overflow: hidden;
      position: relative;
  }
  
  .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, 
          rgba(33, 150, 243, 0.8),
          rgba(156, 39, 176, 0.8)
      );
      opacity: 0;
      transition: opacity 0.3s ease;
  }
  
  .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }
  
  .feature-card:hover::before {
      opacity: 1;
  }
  
  .feature-card .card-body {
      padding: 2rem;
      color: white;
  }
  
  .feature-card h3 {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      color: white;
  }
  
  .feature-card .bi {
      font-size: 2rem;
      margin-bottom: 1.5rem;
  }
  
  .feature-card ul li {
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
  }
  
  .feature-card ul li i {
      margin-right: 0.75rem;
      font-size: 1.2rem;
  }
  
  /* Smart Meet specific styling */
  .feature-card .bg-light {
      background: rgba(255, 255, 255, 0.05) !important;
      backdrop-filter: blur(8px);
      border-color: rgba(255, 255, 255, 0.1) !important;
  }
  
  .feature-card .text-info {
      color: #5bc0de !important;
  }
  
  .feature-card .border-info {
      border-color: rgba(91, 192, 222, 0.3) !important;
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
      .feature-card {
          margin-bottom: 1.5rem;
      }
      
      .feature-card .card-body {
          padding: 1.5rem;
      }
  }
  
  /* AI Assistant specific colors */
  .text-purple {
      color: var(--cirkli-friends) !important;
  }
  
  .border-purple {
      border-color: var(--cirkli-friends) !important;
  }
  
  /* AI Assistant card specific styling */
  .feature-card .bg-light {
      background: rgba(255, 255, 255, 0.05) !important;
      backdrop-filter: blur(8px);
  }
  
  .feature-card[class*="border-purple"] .bg-light {
      border-color: rgba(156, 39, 176, 0.3) !important;
  }
  
  /* Adjust grid for 5 cards */
  @media (min-width: 992px) {
      .row {
          justify-content: center;
      }
      
      .col-lg-3 {
          flex: 0 0 auto;
          width: 20%;
      }
  }
  
  @media (max-width: 991.98px) {
      .feature-card {
          height: auto !important;
      }
  }
  
  /* AI Assistant Section Refined Styles */
  #ai-assistant {
      background: linear-gradient(135deg,
          rgba(33, 150, 243, 0.05),
          rgba(15, 15, 15, 0.85),
          rgba(76, 175, 80, 0.05)
      );
      position: relative;
      overflow: hidden;
      padding: 3rem 0;
      margin-top: 0rem;
  }
  
  #ai-assistant::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(198deg,
          rgba(33, 150, 243, 0.25),
          rgba(255, 235, 15, 0.55),
          rgba(76, 175, 80, 0.45)
      );
      opacity: 0.55;
  }
  
  #ai-assistant .container {
      position: relative;
      z-index: 1;
  }
  
  #ai-assistant h2 {
      color: rgb(14, 14, 14);
      margin-bottom: 2rem;
  }
  
  .ai-feature-card {
      background: rgba(0, 0, 0, 0.85);
      border-radius: 16px;
      backdrop-filter: blur(12px);
      border: 1px solid rgba(33, 150, 243, 0.2);
      color: white;
      transition: all 0.3s ease;
      height: 100%;
  }
  
  .feature-item {
      padding: 0.75rem;
      border-radius: 8px;
      transition: all 0.3s ease;
  }
  
  .feature-item:hover {
      background: rgba(33, 240, 243, 0.15);
  }
  
  .feature-header h4 {
      font-size: 1.1rem;
      margin: 0;
      color: #64B5F6;
  }
  
  .feature-item p {
      font-size: 0.95rem;
      opacity: 0.9;
      line-height: 1.5;
      margin-top: 0.25rem;
  }
  
  .capability-card {
      background: rgba(0, 0, 0, 0.85);
      border-radius: 12px;
      border: 1px solid rgba(33, 150, 243, 0.15);
      color: white;
      transition: all 0.3s ease;
  }
  
  .card-inner {
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: start;
  }
  
  .capability-card:hover {
    background: rgba(136, 0, 34, 0.538);
    transform: translateY(-3px);
  }
  
  .capability-card h5 {
      color: #64B5F6;
      font-size: 1.1rem;
  }
  
  .capability-card p {
      font-size: 0.9rem;
      opacity: 0.9;
      line-height: 1.5;
  }
  
  /* Update icon colors */
  #ai-assistant .bi {
      color: #64B5F6;
  }
  
  /* Responsive adjustments */
  @media (max-width: 991.98px) {
      #ai-assistant {
          padding: 2rem 0;
      }
      
      .ai-feature-card {
          margin-bottom: 1.5rem;
      }
      
      .feature-item {
          padding: 0.5rem;
      }
      
      .feature-header h4 {
          font-size: 1rem;
      }
      
      .capability-card {
          height: auto;
          margin-bottom: 1rem;
      }
  }
  
  @media (max-width: 767.98px) {
      .feature-item {
          padding: 0.5rem;
      }
      
      .feature-header h4 {
          font-size: 0.95rem;
      }
      
      .feature-item p {
          font-size: 0.9rem;
      }
  }
  
  /* Feature card icon and title layout */
  .feature-card .card-body .d-flex {
      gap: 1rem;
      margin-bottom: 1.5rem;
  }
  
  .feature-card .card-body i.display-5 {
      font-size: 2.5rem;
      flex-shrink: 0;
  }
  
  .feature-card .card-body h3 {
      margin: 0;
      font-size: 1.5rem;
      line-height: 1.2;
  }
  
  /* Ensure proper spacing in mobile view */
  @media (max-width: 576px) {
      .feature-card .card-body .d-flex {
          gap: 0.75rem;
      }
      
      .feature-card .card-body i.display-5 {
          font-size: 2rem;
      }
      
      .feature-card .card-body h3 {
          font-size: 1.25rem;
      }
  }
  
  /* Add these styles to handle the navbar toggler focus and active states */
  .navbar .navbar-toggler:focus,
  .navbar .navbar-toggler:active,
  .navbar .navbar-toggler-icon:focus {
      outline: none !important;
      box-shadow: none !important;
      border-color: transparent !important;
  }
  
  /* Remove any border when collapsed */
  .navbar .navbar-toggler.collapsed {
      border-color: transparent !important;
  }
  
  /* Only show border when menu is expanded */
  .navbar .navbar-toggler[aria-expanded="true"] {
      border-color: rgba(255, 255, 255, 0.5);
  }
  
  .navbar-logo {
      height: 50px;
      width: auto;
      object-fit: contain;
      filter: brightness(0) invert(1);
      margin: -5px 0;
      transition: filter 0.3s ease;
  }
  
  /* When navbar is scrolled, remove the white filter */
  .navbar.scrolled .navbar-logo {
      filter: none;
  }
  
  /* Add responsive adjustments for the logo */
  @media (max-width: 768px) {
      .navbar-logo {
          height: 45px;
      }
      
      .navbar {
          padding: 0.4rem 0;
      }
  }
  
  /* Remove any other logo-related CSS that might reference the old files */
  
  @media (min-width: 1200px) {
      .hero-content .lead {
          font-size: 1.5rem;
      }
      
      .value-item {
          font-size: 1.35rem;
      }
  }
  
  @media (max-width: 768px) {
      .hero-content .lead {
          font-size: 1.1rem;
      }
      
      .value-item {
          font-size: 1rem;
      }
      
      .value-carousel {
          height: 80px;
      }
  }
  
  /* Join section logo specific styling */
  #join .bottom-logo {
      max-width: 300px;
      opacity: 0.9;
      transition: all 0.3s ease;
  }
  
  @media (max-width: 768px) {
      #join .bottom-logo {
          max-width: 200px;
          margin-top: 2rem;
      }
  }
  
  .text-gradient {
      background: linear-gradient(120deg, #7928CA, #FF0080);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-fill-color: transparent;
  }
  
  .header-gradient {
      background: linear-gradient(
          90deg,
          #FFFFFF 0%,
          #E8E8FF 33%,
          #FFFFFF 50%,
          #E8E8FF 66%,
          #FFFFFF 100%
      );
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-fill-color: transparent;
  }
  
  /* Add these styles for policy pages */
  .policy-content {
      max-width: 800px;
      margin: 0 auto;
      padding: 2rem 0;
  }
  
  .policy-content h1 {
      color: #333;
      margin-bottom: 2rem;
  }
  
  .policy-content h2 {
      color: #444;
      margin-top: 2rem;
      margin-bottom: 1rem;
  }
  
  .policy-content ul {
      margin-bottom: 1.5rem;
  }
  
  .policy-content li {
      margin-bottom: 0.5rem;
  }
  
  /* Modal styles */
  .modal-dialog.modal-lg {
      max-width: 800px;
  }
  
  .modal-content {
      border-radius: 12px;
      border: none;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }
  
  .modal-header {
      border-bottom: 1px solid #eee;
      padding: 1rem 1.5rem;
  }
  
  .modal-body {
      padding: 1.5rem;
      max-height: 70vh;
      overflow-y: auto;
  }
  
  .modal-body h1 {
      display: none; /* Hide the main title since we're showing it in the modal header */
  }
  
  .modal-body h2 {
      color: #333;
      font-size: 1.5rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
  }
  
  .modal-body p, .modal-body li {
      color: #666;
      line-height: 1.6;
  }
  
  /* Policy pages styling */
  .policy-content {
      max-width: 800px;
      margin: 2rem auto;
      padding: 2rem;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .policy-content h1 {
      color: #333;
      margin-bottom: 1.5rem;
      font-size: 2.5rem;
  }
  
  .policy-content h2 {
      color: #444;
      margin-top: 2rem;
      margin-bottom: 1rem;
      font-size: 1.8rem;
  }
  
  .policy-content p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 1rem;
  }
  
  .policy-content ul {
      margin-bottom: 1.5rem;
      padding-left: 1.5rem;
  }
  
  .policy-content li {
      color: #666;
      margin-bottom: 0.5rem;
      line-height: 1.6;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
      .policy-content {
          padding: 1.5rem;
          margin: 1rem;
      }
  
      .policy-content h1 {
          font-size: 2rem;
      }
  
      .policy-content h2 {
          font-size: 1.5rem;
      }
  }
  
  /* Update the list styling in the Life Sphere section */
  .cirkl-card ul.list-unstyled {
      padding-left: 0;
      margin-bottom: 0;
  }
  
  .cirkl-card ul.list-unstyled li {
      display: flex;
      align-items: flex-start;
      margin-bottom: 0.5rem;
      padding-left: 1.5rem;
      position: relative;
  }
  
  .cirkl-card ul.list-unstyled li i.bi-check-circle-fill {
      position: absolute;
      left: 0;
      top: 0.25rem;
      margin-right: 0.5rem;
  }
  
  /* Ensure consistent spacing */
  .cirkl-card .card-body {
      padding: 1.5rem;
  }
  
  .cirkl-card .card-title {
      margin-bottom: 1rem;
  }
  
  .cirkl-card .card-text {
      margin-bottom: 1.5rem;
  }
  
  /* Adjust icon alignment for different screen sizes */
  @media (max-width: 768px) {
      .cirkl-card ul.list-unstyled li i.bi-check-circle-fill {
          top: 0.2rem;
      }
  }
  