.btn{
  font-size: 0.8rem;
}
/* === CUSTOM NAVBAR WITH MENU BAR AND LANGUAGE SELECTOR === */
.custom-navbar {
  padding: 0.5rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Menu Icon Button */
.btn-menu-icon {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #1f2937;
  padding: 0.5rem 0.75rem;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

.btn-menu-icon:hover {
  color: #00a99d;
  background-color: #f3f4f6;
  border-radius: 8px;
}

.btn-menu-icon:focus {
  outline: none;
  box-shadow: none;
}

/* Language Selector */
.language-selector {
  margin-right: 1rem;
}

.btn-language {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #1f2937;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-language:hover {
  background-color: #f3f4f6;
  border-color: #00a99d;
  color: #00a99d;
}

.btn-language:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.1);
}

.btn-language i {
  font-size: 1rem;
}

/* Language Dropdown */
.language-selector .dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0;
  min-width: 180px;
}

.language-selector .dropdown-item {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: #1f2937;
  transition: all 0.2s ease;
}

.language-selector .dropdown-item:hover {
  background-color: #f0fdfa;
  color: #00a99d;
}

.language-selector .dropdown-item i {
  margin-right: 0.5rem;
  color: #6b7280;
}

/* Brand Styling */
.brand-icon {
  color: #00a99d;
  font-size: 1.8rem;
  margin-right: 0.5rem;
  transform: rotate(-45deg);
  display: inline-block;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2937;
}

.brand-suffix {
  color: #00a99d;
}

.brand-tagline {
  font-size: 0.55rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-left: 2.1rem;
  font-weight: 500;
}

/* Book a Demo Button */
.btn-demo {
  background-color: #00a99d;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.5rem;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}

.btn-demo:hover {
  background-color: #008c82;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 169, 157, 0.3);
}

/* Sign up Button */
.btn-signup {
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.3rem;
  border-radius: 8px;
  border: none;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.btn-signup:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

/* Right Nav Links */
.navbar-nav .nav-link {
  color: #1f2937 !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem !important;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #00a99d !important;
}

.navbar-nav .nav-link i {
  font-size: 1rem;
  margin-right: 0.3rem;
}

/* Submenu Bar */
.submenu-bar {
  background: linear-gradient(90deg, #00a99d 0%, #00c7b7 100%);
  padding: 0.75rem 0;
  color: white;
  font-size: 0.9rem;
}

.submenu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.submenu-list li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.submenu-list li a:hover {
  opacity: 0.8;
}

.btn-learn-more {
  background-color: white;
  color: #00a99d;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-left: 1rem;
  transition: all 0.3s ease;
}

.btn-learn-more:hover {
  background-color: #f0fdfa;
  color: #008c82;
  transform: translateY(-1px);
}

/* Side Menu Offcanvas Styling */
.side-menu-offcanvas {
  width: 320px !important;
  max-width: 85vw;
}

.side-menu-offcanvas .offcanvas-header {
  background: linear-gradient(135deg, #00a99d 0%, #00c7b7 100%);
  color: white;
  padding: 1.5rem;
  border-bottom: none;
}

.side-menu-offcanvas .offcanvas-title {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.side-menu-offcanvas .offcanvas-title .brand-icon {
  color: white;
  font-size: 1.5rem;
}

.side-menu-offcanvas .offcanvas-title .brand-text {
  color: white;
}

.side-menu-offcanvas .offcanvas-title .brand-suffix {
  color: white;
}

.side-menu-offcanvas .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.side-menu-offcanvas .btn-close:hover {
  opacity: 1;
}

.side-menu-offcanvas .offcanvas-body {
  padding: 0;
  background-color: #f9fafb;
}

/* Side Menu List */
.side-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu-section {
  margin-bottom: 0.5rem;
}

.side-menu-section h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1rem 1.5rem 0.5rem;
  margin: 0;
  background-color: white;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
}

.side-menu-section h6 i {
  color: #00a99d;
  margin-right: 0.5rem;
}

.side-menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: white;
}

.side-menu-section ul li {
  border-bottom: 1px solid #f3f4f6;
}

.side-menu-section ul li:last-child {
  border-bottom: none;
}

.side-menu-section ul li a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem 0.75rem 2.5rem;
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.side-menu-section ul li a i {
  margin-right: 0.75rem;
  color: #9ca3af;
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.side-menu-section ul li a:hover {
  background-color: #f0fdfa;
  color: #00a99d;
  padding-left: 2.75rem;
}

.side-menu-section ul li a:hover i {
  color: #00a99d;
}

/* NEW: Features Showcase Section Styles */
.features-showcase-section {
  background: linear-gradient(135deg, #00a99d 0%, #00a99d  100%);
  padding: 2.5rem 0;
  margin-top: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.features-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 200px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-icon i {
  font-size: 1rem;
  color: white;
}

.feature-content h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  margin: 0;
  line-height: 1.3;
}

.feature-cta {
  margin-left: auto;
}

.btn-feature-learn-more {
  background: white;
  color: #667eea;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-feature-learn-more:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .submenu-bar {
    display: none !important;
  }
  
  .navbar-nav {
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  
  .btn-demo, .btn-signup {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .language-selector {
    margin-right: 0.5rem;
  }
  
  .btn-language {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
  
  /* Features Showcase Mobile Adjustments */
  .features-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .feature-item {
    width: 100%;
    min-width: auto;
  }
  
  .feature-cta {
    margin-left: 0;
    width: 100%;
  }
  
  .btn-feature-learn-more {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .brand-tagline {
    display: none;
  }
  
  .brand-text {
    font-size: 1.2rem;
  }
  
  .btn-menu-icon {
    font-size: 1.3rem;
    padding: 0.4rem 0.6rem;
    margin-right: 0.5rem;
  }
  
  .language-selector {
    margin-right: 0.5rem;
  }
  
  .btn-language {
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
  }
  
  .btn-language span {
    display: none;
  }
  
  .side-menu-offcanvas {
    width: 280px !important;
  }
  
  /* Features Showcase Tablet Adjustments */
  .features-showcase-section {
    padding: 2rem 0;
  }
  
  .features-container {
    padding: 0 1rem;
  }
  
  .feature-item {
    gap: 0.75rem;
  }
  
  .feature-icon {
    width: 45px;
    height: 45px;
  }
  
  .feature-icon i {
    font-size: 1.3rem;
  }
  
  .feature-content h4 {
    font-size: 0.95rem;
  }
  
  .feature-content p {
    font-size: 0.75rem;
  }
}

@media (max-width: 380px) and (max-width: 576px) {
  .mobile-nav{
    position: relative;
    right: 5rem;
  }
}
@media (max-width: 576px) {
  .custom-navbar .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .btn-menu-icon {
    margin-right: 0.25rem;
  }
  
  .language-selector {
    margin-right: 0.25rem;
  }
  
  /* Features Showcase Mobile Adjustments */
  .features-showcase-section {
    padding: 1.5rem 0;
    margin-top: 102px;
  }
  
  .features-container {
    padding: 0 0.75rem;
    gap: 1rem;
  }
  
  .feature-item {
    gap: 0.5rem;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
  
  .feature-icon i {
    font-size: 1.1rem;
  }
  
  .feature-content h4 {
    font-size: 0.9rem;
  }
  
  .feature-content p {
    font-size: 0.7rem;
  }
  
  .btn-feature-learn-more {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* ========================================= */
/* AUTH MODAL - Professional & Responsive     */
/* ========================================= */

.auth-modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}

.auth-modal-content .modal-header {
    background: linear-gradient(135deg, #00a99d, #00c7b7);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 2rem;
}

.auth-modal-content .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.auth-modal-content .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.auth-tabs {
    border-bottom: 2px solid #e0e0e0;
    justify-content: center;
    gap: 2rem;
}

.auth-tabs .nav-link {
    color: #6b7280;
    font-weight: 500 !important;
    padding: 0.75rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    transition: all 0.3s ease;
}

.auth-tabs .nav-link.active {
    color: #00a99d;
    border-bottom-color: #00a99d;
}

.auth-tabs .nav-link:hover {
    color: #00a99d;
}

.auth-form .form-control {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1.5px solid #d1d5db;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.auth-form .form-control:focus {
    border-color: #00a99d;
    box-shadow: 0 0 0 0.2rem rgba(0, 169, 157, 0.15);
}

.auth-form .btn {
    border-radius: 50px !important;
    font-size: 1rem;
    font-weight: 500 !important;
    text-transform: none;
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, #00a99d, #00c7b7);
    border: none;
}

.auth-form .btn-success {
    background: linear-gradient(135deg, #00a99d, #00c7b7);
    border: none;
}

.auth-form .btn-outline-dark {
    border-radius: 50px;
    border: 2px solid #e5e7eb;
}

.switch-to-signup {
    cursor: pointer;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-modal-content {
        margin: 1rem;
        border-radius: 16px;
    }
    .auth-tabs {
        gap: 1rem;
    }
    .auth-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    .modal-header {
        padding: 1.2rem 1.5rem;
    }
    .modal-title {
        font-size: 1.3rem;
    }
}

.form-label{
  font-size: 0.8rem;
}

/* Search Suggestions */
.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item i {
    color: #00a99d;
    font-size: 14px;
}

.suggestion-text {
    font-size: 14px;
    color: #333;
}

.suggestion-state {
    font-size: 12px;
    color: #666;
    margin-left: auto;
}

/* Responsive adjustments for search suggestions */
@media (max-width: 768px) {
    .search-suggestions {
        position: fixed;
        top: auto;
        left: 20px;
        right: 20px;
        max-height: 50vh;
    }
}

/* === MOBILE USER ACTIONS IN SIDE MENU === */

.mobile-user-actions {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #00a99d;
    border-radius: 12px;
    margin: 0 1rem 1.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-user-actions .btn {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Book a Demo Mobile Button */
.btn-demo-mobile {
    background: linear-gradient(135deg, #00a99d, #00c7b7);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-demo-mobile:hover {
    background: linear-gradient(135deg, #008c82, #00a99d);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 169, 157, 0.3);
}

/* Outline Buttons */
.mobile-user-actions .btn-outline-primary {
    border: 2px solid #00a99d;
    color: #00a99d;
    background: transparent;
}

.mobile-user-actions .btn-outline-primary:hover {
    background-color: #00a99d;
    color: white;
    transform: translateY(-1px);
}

/* Primary Button */
.mobile-user-actions .btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    color: white;
    font-weight: 600;
}

.mobile-user-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Button Icons */
.mobile-user-actions .btn i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* Language Selector Specific */
.mobile-user-actions .btn-language {
    justify-content: space-between;
}

/* === RESPONSIVE NAVBAR IMPROVEMENTS === */

/* Hide the navbar toggler on desktop */
.navbar-toggler.d-lg-none {
    border: none;
    padding: 0.5rem 0.75rem;
    background: transparent;
}

/* Ensure the menu icon is properly spaced */
.btn-menu-icon {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #1f2937;
    padding: 0.5rem 0.75rem;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    z-index: 1000;
}

.btn-menu-icon:hover {
    color: #00a99d;
    background-color: #f3f4f6;
    border-radius: 8px;
}

/* Desktop right side links styling */
.d-none.d-lg-flex.align-items-center {
    gap: 1rem;
}

/* Mobile specific adjustments */
@media (max-width: 991.98px) {
    .custom-navbar .container-fluid {
        justify-content: space-between;
    }
    
    /* Hide desktop right side links on mobile */
    .d-none.d-lg-flex {
        display: none !important;
    }
    
    /* Show navbar toggler only on mobile */
    .navbar-toggler.d-lg-none {
        display: block !important;
    }
    
    /* Adjust logo positioning for mobile */
    .navbar-brand {
        margin: 0 auto;
        transform: translateX(-20px);
    }
    
    /* Mobile user actions adjustments */
    .mobile-user-actions {
        margin: 0 0.75rem 1.25rem 0.75rem;
    }
    
    .mobile-user-actions .btn {
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }
}

/* Desktop specific adjustments */
@media (min-width: 992px) {
    /* Hide mobile navbar toggler on desktop */
    .navbar-toggler.d-lg-none {
        display: none !important;
    }
    
    /* Show desktop right side links */
    .d-none.d-lg-flex {
        display: flex !important;
    }
    
    /* Hide mobile user actions on desktop */
    .mobile-user-actions.d-lg-none {
        display: none !important;
    }
}

/* Ensure the side menu offcanvas works properly */
.side-menu-offcanvas {
    width: 320px !important;
    max-width: 85vw;
}

/* Side menu scroll behavior */
.side-menu-offcanvas .offcanvas-body {
    padding: 0;
    background-color: #f9fafb;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Small screen adjustments */
@media (max-width: 576px) {
    .side-menu-offcanvas {
        width: 280px !important;
    }
    
    .mobile-user-actions {
        margin: 0 0.5rem 1rem 0.5rem;
        padding: 1rem !important;
    }
    
    .mobile-user-actions .btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .mobile-user-actions .btn i {
        font-size: 0.8rem;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .side-menu-offcanvas {
        width: 260px !important;
    }
    
    .mobile-user-actions .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
    }
}