   .logo {
       font-size: 1.75rem;
       font-weight: 700;
       letter-spacing: -0.5px;
       cursor: pointer;
       /* Indicates clickability */
       text-decoration: none;
       /* Removes default link underline */
       color: inherit;
       /* Maintains current text color */
       transition: opacity 0.3s ease;
       /* Smooth hover effect */
       display: inline-block;
   }

   .logo:hover {
       opacity: 0.8;
       /* Subtle fade effect on hover */
   }

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

   :root {
       --primary: #C41E3A;
       --primary-dark: #A01630;
       --secondary: #004687;
       --accent: #F4A520;
       --text-dark: #1F2937;
       --text-light: #6B7280;
       --bg-light: #F9FAFB;
       --border: #E5E7EB;
       --success: #10B981;
       --white: #FFFFFF;
   }

   html {
       scroll-behavior: smooth;
   }

   body {
       font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
       color: var(--text-dark);
       background-color: var(--white);
       line-height: 1.6;
       overflow-x: hidden;
   }

   /* Header & Navigation */
   header {
       background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
       color: var(--white);
       padding: 1rem 0;
       position: sticky;
       top: 0;
       z-index: 1000;
       box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   }

   nav {
       max-width: 1280px;
       margin: 0 auto;
       padding: 0 1.5rem;
       display: flex;
       justify-content: space-between;
       align-items: center;
   }

   /* Event Cards */
   .event-card {
       position: relative;
       display: flex;
       flex-direction: column;
       gap: 0.21rem;
   }

   .event-date-badge {
       position: absolute;
       top: 1rem;
       right: 1rem;
       background: linear-gradient(135deg, #f97316, #ea580c);
       border-radius: 8px;
       padding: 0.5rem 0.75rem;
       text-align: center;
       box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
       min-width: 60px;
   }

   .event-month {
       display: block;
       font-size: 0.7rem;
       font-weight: 600;
       color: rgba(255, 255, 255, 0.9);
       letter-spacing: 0.05em;
   }

   .event-day {
       display: block;
       font-size: 1.5rem;
       font-weight: 800;
       color: #ffffff;
       line-height: 1;
       margin-top: 0.1rem;
   }

   /* Event Title - Single Line, No Break */
   .event-card h3 {
       font-size: 1.1rem;
       font-weight: 700;
       margin: 0;
       padding-right: 75px;
       /* Space for date badge */
       padding-top: 1.5rem;
       /* Clear space for badges */
       padding-left: 0;
       line-height: 1.3;
       color: #0f172a;
       white-space: nowrap;
       overflow: hidden;
       text-overflow: ellipsis;
   }

   /* When featured, push title down MORE to avoid badge overlap */
   .event-card.has-featured h3 {
       padding-top: 4.5rem;
       padding-left: 0;
   }

   .event-type {
       font-size: 0.85rem;
       color: #f97316;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 0.05em;
       margin: 0;
   }

   .event-description {
       font-size: 0.9rem;
       color: #64748b;
       line-height: 1.5;
       margin: 0.25rem 0;
       display: -webkit-box;
       -webkit-line-clamp: 3;
       -webkit-box-orient: vertical;
       overflow: hidden;
   }

   .event-meta {
       display: flex;
       flex-direction: column;
       gap: 0.5rem;
       margin-top: 0.5rem;
       padding-top: 0.75rem;
       border-top: 1px solid rgba(148, 163, 184, 0.2);
   }

   .event-meta-item {
       display: flex;
       align-items: center;
       gap: 0.5rem;
       font-size: 0.85rem;
       color: #64748b;
   }

   .event-meta-item .icon {
       width: 16px;
       height: 16px;
       color: #94a3b8;
       flex-shrink: 0;
   }

   /* Featured Badge - Top Left, Higher z-index */
   .badge {
       position: absolute;
       top: 0.75rem;
       left: 0.75rem;
       padding: 0.35rem 0.75rem;
       border-radius: 999px;
       font-size: 0.7rem;
       font-weight: 700;
       text-transform: uppercase;
       letter-spacing: 0.08em;
       z-index: 10;
   }

   .badge-featured {
       background: linear-gradient(135deg, #22c55e, #16a34a);
       color: #ffffff;
       box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
   }

   .loading-message,
   .no-results,
   .error-message {
       grid-column: 1 / -1;
       text-align: center;
       padding: 3rem 1rem;
       color: #64748b;
       font-size: 1rem;
   }

   .error-message {
       color: #f97373;
   }

   /* Responsive adjustments */
   @media (max-width: 900px) {
       .grid-4 {
           grid-template-columns: repeat(2, minmax(0, 1fr));
       }
   }

   @media (max-width: 640px) {
       .grid-4 {
           grid-template-columns: minmax(0, 1fr);
       }

       .event-date-badge {
           position: static;
           align-self: flex-start;
           margin-bottom: 0.5rem;
       }

       .event-card h3 {
           padding-right: 0;
       }
   }

   .logo {
       font-size: 1.75rem;
       font-weight: 700;
       letter-spacing: -0.5px;
   }

   .nav-links {
       display: none;
       list-style: none;
       gap: 2rem;
   }

   .nav-links.active {
       display: flex;
       flex-direction: column;
       position: absolute;
       top: 70px;
       right: 0;
       left: 0;
       background: var(--primary-dark);
       padding: 2rem 1.5rem;
       gap: 1rem;
   }

   .nav-links a {
       color: var(--white);
       text-decoration: none;
       font-weight: 500;
       transition: color 0.3s;
   }

   .nav-links a:hover {
       color: var(--accent);
   }

   .hamburger {
       display: flex;
       flex-direction: column;
       gap: 0.35rem;
       cursor: pointer;
       border: none;
       background: transparent;
   }

   .hamburger span {
       width: 25px;
       height: 3px;
       background: var(--white);
       border-radius: 2px;
       transition: all 0.3s;
   }

   .hamburger.active span:nth-child(1) {
       transform: rotate(45deg) translate(10px, 10px);
   }

   .hamburger.active span:nth-child(2) {
       opacity: 0;
   }

   .hamburger.active span:nth-child(3) {
       transform: rotate(-45deg) translate(7px, -7px);
   }

   @media (min-width: 768px) {
       .nav-links {
           display: flex !important;
           position: static;
           background: transparent;
           padding: 0;
           flex-direction: row;
       }

       .hamburger {
           display: none;
       }
   }

   /* Hero Section */
   .hero {
       background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
       color: var(--white);
       padding: 4rem 1.5rem;
       text-align: center;
       min-height: 500px;
       display: flex;
       align-items: center;
       justify-content: center;
   }

   .hero-content {
       max-width: 800px;
   }

   .hero h1 {
       font-size: 3rem;
       margin-bottom: 1rem;
       line-height: 1.2;
   }

   .hero p {
       font-size: 1.25rem;
       margin-bottom: 2rem;
       opacity: 0.95;
   }

   .cta-button {
       display: inline-block;
       padding: 0.875rem 2rem;
       background-color: var(--accent);
       color: var(--primary);
       text-decoration: none;
       border-radius: 0.5rem;
       font-weight: 600;
       transition: all 0.3s;
       border: 2px solid var(--accent);
       cursor: pointer;
       font-size: 1rem;
       margin-bottom: 50px;
   }

   .cta-button:hover {
       background-color: transparent;
       color: var(--white);
       transform: translateY(-2px);
       box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
   }

   .cta-secondary {
       background-color: transparent;
       color: var(--white);
       border: 2px solid var(--white);
       margin-left: 1rem;
   }

   .cta-secondary:hover {
       background-color: var(--white);
       color: var(--primary);
   }

   /* Container */
   .container {
       max-width: 1280px;
       margin: 0 auto;
       padding: 0 1.5rem;
   }

   /* Sections */
   section {
       padding: 2rem 0;
   }

   .section-title {
       font-size: 2.5rem;
       font-weight: 700;
       margin-bottom: 1rem;
       text-align: center;
       color: var(--text-dark);
   }

   /* Businesses Section */
   .businesses {
       background-color: var(--bg-light);
   }

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

   .card {
       background: var(--white);
       border-radius: 0.75rem;
       padding: 1.5rem;
       box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
       transition: all 0.3s;
       border-left: 4px solid var(--primary);
   }

   .card:hover {
       transform: translateY(-4px);
       box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
   }

   .card-title {
       font-size: 1.25rem;
       font-weight: 600;
       margin-bottom: 0.5rem;
       color: var(--primary);
   }

   .card-category {
       display: inline-block;
       background-color: var(--secondary);
       color: var(--white);
       padding: 0.25rem 0.75rem;
       border-radius: 9999px;
       font-size: 0.875rem;
       font-weight: 500;
       margin-bottom: 0.75rem;
   }

   .card-link {
       color: var(--primary);
       text-decoration: none;
       font-weight: 600;
       display: inline-flex;
       align-items: center;
       gap: 0.5rem;
       transition: gap 0.3s;
       margin-top: 10px;
   }

   .card-link:hover {
       gap: 0.75rem;
   }

   .event-card:hover {
       box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
       background-color: var(--white);
   }

   .event-day {
       font-size: 1.75rem;
   }

   .event-month {
       font-size: 0.875rem;
       opacity: 0.9;
   }

   .event-details h3 {
       font-size: 1.125rem;
       margin-bottom: 0.5rem;
       color: var(--text-dark);
   }

   .event-details p {
       color: var(--text-light);
       margin-bottom: 0.75rem;
       font-size: 0.95rem;
   }

   /* Growth Section */
   .growth {
       background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
   }

   .feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
        gap: .5rem;
        margin-bottom: 2rem;
    }

   .feature {
       text-align: center;
       padding: 1rem;
   }

   .feature-icon {
       font-size: 1rem;
       margin-bottom: .5rem;
   }

   .feature h3 {
       font-size: 1.25rem;
       margin-bottom: 0.75rem;
       color: var(--primary);
   }

   .feature p {
       color: var(--text-light);
       font-size: 0.95rem;
       text-align: left;
   }

   /* CTA Section */
   .cta-section {
       background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
       color: var(--white);
       text-align: center;
       padding: 4rem 0;
   }

   .cta-section h2 {
       font-size: 2rem;
       margin-bottom: 1rem;
   }

   .cta-section p {
       font-size: 1.1rem;
       margin-bottom: 2rem;
       opacity: 0.95;
   }

   /* Event Modal Styles */
   .modal {
       display: none;
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       z-index: 9999;
       animation: fadeIn 0.3s ease;
   }

   .modal.active {
       display: flex;
       align-items: center;
       justify-content: center;
   }

   .modal-overlay {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: rgba(15, 23, 42, 0.75);
       backdrop-filter: blur(4px);
       z-index: 1;
   }

   .modal-content {
       position: relative;
       background: var(--white);
       border-radius: 1rem;
       max-width: 700px;
       width: 90%;
       max-height: 90vh;
       overflow-y: auto;
       z-index: 2;
       animation: slideUp 0.3s ease;
       box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
   }
   /* Sponsor highlighting on event cards */
    .event-meta-item strong {
        color: var(--primary);
        font-weight: 600;
    }

    /* Modal sponsor styling */
    #modal-sponsor {
        color: var(--primary);
        font-weight: 600;
        font-size: 1rem;
    }


   @keyframes fadeIn {
       from {
           opacity: 0;
       }

       to {
           opacity: 1;
       }
   }

   @keyframes slideUp {
       from {
           opacity: 0;
           transform: translateY(30px);
       }

       to {
           opacity: 1;
           transform: translateY(0);
       }
   }

   .modal-close {
       position: absolute;
       top: 1rem;
       right: 1rem;
       background: rgba(15, 23, 42, 0.1);
       border: none;
       width: 2.5rem;
       height: 2.5rem;
       border-radius: 50%;
       font-size: 1.5rem;
       color: var(--text-dark);
       cursor: pointer;
       display: flex;
       align-items: center;
       justify-content: center;
       transition: all 0.3s;
       z-index: 10;
   }

   .modal-close:hover {
       background: rgba(15, 23, 42, 0.2);
       transform: rotate(90deg);
   }

   .modal-header {
       background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
       color: var(--white);
       padding: 2rem;
       display: flex;
       gap: 1.5rem;
       align-items: flex-start;
       border-radius: 1rem 1rem 0 0;
   }

   .modal-date-badge {
       background: rgba(255, 255, 255, 0.2);
       backdrop-filter: blur(10px);
       border: 2px solid rgba(255, 255, 255, 0.3);
       border-radius: 0.75rem;
       padding: 1rem;
       min-width: 80px;
       text-align: center;
       display: flex;
       flex-direction: column;
       gap: 0.25rem;
   }

   .modal-month {
       font-size: 0.875rem;
       font-weight: 700;
       text-transform: uppercase;
       letter-spacing: 0.05em;
       opacity: 0.9;
   }

   .modal-day {
       font-size: 2rem;
       font-weight: 700;
       line-height: 1;
   }

   .modal-header-text {
       flex: 1;
       position: relative;
   }

   .modal-featured-badge {
       display: inline-block;
       background: linear-gradient(135deg, #22c55e, #16a34a);
       padding: 0.35rem 0.75rem;
       border-radius: 999px;
       font-size: 0.7rem;
       font-weight: 700;
       text-transform: uppercase;
       letter-spacing: 0.08em;
       margin-bottom: 0.75rem;
       box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
   }

   .modal-header-text h2 {
       font-size: 1.75rem;
       margin: 0 0 0.5rem 0;
       line-height: 1.3;
   }

   .modal-event-type {
       font-size: 0.95rem;
       opacity: 0.9;
       margin: 0;
   }

   .modal-body {
       padding: 2rem;
   }

   .modal-section {
       margin-bottom: 2rem;
   }

   .modal-section:last-child {
       margin-bottom: 0;
   }

   .modal-section h3 {
       color: var(--primary);
       font-size: 1.125rem;
       margin-bottom: 0.75rem;
       font-weight: 600;
   }

   .modal-section p {
       color: var(--text-light);
       line-height: 1.7;
       margin: 0;
   }

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

   .modal-detail-item {
       display: flex;
       gap: 1rem;
       align-items: flex-start;
   }

   .modal-detail-item .icon {
       width: 24px;
       height: 24px;
       color: var(--primary);
       flex-shrink: 0;
       margin-top: 0.25rem;
   }

   .modal-detail-item strong {
       display: block;
       color: var(--text-dark);
       font-size: 0.875rem;
       font-weight: 600;
       margin-bottom: 0.25rem;
   }

   .modal-detail-item p {
       color: var(--text-light);
       font-size: 0.95rem;
       line-height: 1.5;
   }

   .modal-btn {
       display: inline-block;
       background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
       color: var(--white);
       padding: 1rem 2rem;
       border-radius: 0.5rem;
       text-decoration: none;
       font-weight: 600;
       transition: all 0.3s;
       box-shadow: 0 4px 12px rgba(0, 67, 123, 0.3);
   }

   .modal-btn:hover {
       transform: translateY(-2px);
       box-shadow: 0 6px 20px rgba(0, 67, 123, 0.4);
   }

   /* Responsive Modal */
   @media (max-width: 640px) {
       .modal-content {
           width: 95%;
           max-height: 95vh;
       }

       .modal-header {
           flex-direction: column;
           padding: 1.5rem;
       }

       .modal-date-badge {
           align-self: flex-start;
       }

       .modal-header-text h2 {
           font-size: 1.5rem;
       }

       .modal-body {
           padding: 1.5rem;
       }

       .modal-details-grid {
           grid-template-columns: 1fr;
       }

       .modal-close {
           top: 0.75rem;
           right: 0.75rem;
           width: 2rem;
           height: 2rem;
           font-size: 1.25rem;
       }
   }

   /* Prevent body scroll when modal is open */
   body.modal-open {
       overflow: hidden;
   }

   /* Footer */
   footer {
       background: var(--text-dark);
       color: var(--white);
       padding: 3rem 0;
       text-align: center;
   }

   .footer-content {
       max-width: 1280px;
       margin: 0 auto;
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
       gap: 2rem;
       margin-bottom: 2rem;
       text-align: left;
       padding: 0 1.5rem;
   }

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

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

   .footer-section a {
       color: var(--text-light);
       text-decoration: none;
       transition: color 0.3s;
   }

   .footer-section a:hover {
       color: var(--accent);
   }

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

   .footer-section a:hover {
       color: var(--accent);
   }

   a[href*="securitytechlabs"] {
       color: var(--white);
       text-decoration: none;
   }

   a[href*="securitytechlabs"]:hover {
       color: var(--accent);
   }

   /* SEO Section */
   .seo-section {
       background-color: var(--bg-light);
       padding: 4rem 1.5rem;
   }

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

   .seo-card {
       background: var(--white);
       padding: 2rem;
       border-radius: 0.75rem;
       box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
       border-top: 4px solid var(--secondary);
       transition: all 0.3s;
   }

   .seo-card:hover {
       transform: translateY(-8px);
       box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
   }

   .seo-card h3 {
       font-size: 1.25rem;
       margin-bottom: 1rem;
       color: var(--secondary);
   }

   .seo-card p {
       color: var(--text-light);
       font-size: 0.95rem;
       line-height: 1.6;
   }

   /* Event Marketing Section */
   .event-marketing-section {
       background: var(--white);
       padding: 4rem 1.5rem;
   }

   .section-subtitle {
       text-align: center;
       color: var(--text-light);
       font-size: 1.25rem;
       margin-bottom: 3rem;
   }

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

   .marketing-card {
       background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
       padding: 2rem;
       border-radius: 0.75rem;
       border-left: 4px solid var(--accent);
       box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
       transition: all 0.3s;
   }

   .marketing-card:hover {
       box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
       transform: translateY(-6px);
   }

   .marketing-card h3 {
       font-size: 1.125rem;
       color: var(--primary);
       margin-bottom: 1rem;
       font-weight: 600;
   }

   .marketing-card p {
       color: var(--text-light);
       font-size: 0.95rem;
       line-height: 1.6;
   }

   /* Install Button */
   .install-btn {
       display: none;
       position: fixed;
       bottom: 2rem;
       right: 2rem;
       padding: 1rem 1.5rem;
       background: var(--primary);
       color: var(--white);
       border: none;
       border-radius: 0.5rem;
       font-weight: 600;
       cursor: pointer;
       box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
       z-index: 999;
       animation: slideUp 0.3s ease-out;
   }

   .install-btn.show {
       display: block;
   }

   @keyframes slideUp {
       from {
           transform: translateY(100px);
           opacity: 0;
       }

       to {
           transform: translateY(0);
           opacity: 1;
       }
   }

   /* Responsive */
   @media (max-width: 768px) {
       .hero h1 {
           font-size: 2rem;
       }

       .section-title {
           font-size: 1.75rem;
       }

       .event-card {
           grid-template-columns: 1fr;
       }

       .event-date {
           grid-template-columns: 1fr 1fr;
           gap: 1rem;
       }

       .event-day,
       .event-month {
           text-align: left;
       }

       .cta-secondary {
           display: block;
           margin-left: 0;
           margin-top: 1rem;
       }

       /* Makes both buttons consistent full width */
       .cta-button {
           display: block;
           /* Forces full width */
           width: 100%;
           /* Stretches to container edges */
           margin-bottom: 1rem;
           /* Adds space between the stack */
       }

       .cta-secondary {
           display: block;
           margin-left: 0;
           /* Aligns left */
           margin-top: 0;
           /* Handled by the margin-bottom above */
       }
   }

   /* Categories Section Styles */
   .categories-section {
       padding: 60px 20px;
       background: linear-gradient(#ffffff, #dae4f3);
   }

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

   .section-title {
       text-align: center;
       font-size: 2.5rem;
       font-weight: 700;
       color: #2c3e50;
       margin-bottom: 10px;
       font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   }

   .categories-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
       gap: 14px;
       margin: 0 auto;
   }

   .category-card {
       background: white;
       border-radius: 12px;
       padding: 10px 14px;
       text-align: center;
       text-decoration: none;
       color: inherit;
       box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
       border-top: 2px solid var(--secondary);
       transition: all 0.3s ease;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
       min-height: 140px;
   }

   .category-card:hover {
       transform: translateY(-6px);
       box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
       /* background: linear-gradient(135deg, #eee0e0 0%, #c9c9c9 100%); */
       color: rgb(0, 0, 0);
   }

   .category-icon {
      font-size: 1rem;
      margin-bottom: 2px;
      transition: transform 0.3s ease;
    }

   .category-card:hover .category-icon {
       transform: scale(1);
   }

   .category-card h3 {
       font-size: 1rem;
       font-weight: 600;
       line-height: 1.4;
       margin: 0;
       font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
   }

   /* Responsive Design */
   @media (max-width: 768px) {
       .categories-grid {
           grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
           gap: 16px;
       }

       .section-title {
           font-size: 2rem;
           margin-bottom: 30px;
       }

       .category-card {
           padding: 24px 16px;
           min-height: 120px;
       }
   }

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

       .categories-section {
           padding: 40px 16px;
           
       }
   }
   /* ========================================
   MODERN BUSINESS SEARCH STYLES
   ======================================== */

.business-search-section {
    background: linear-gradient(153deg, #8eb0f5, #2733cc);
    padding: 2.5rem 0;
    margin-bottom: 3rem;
}

.search-hero {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    margin-top: 30px;
}

.search-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 6px rgba(29, 41, 112, 0.38);
}

.search-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.search-wrapper {
  position: relative;
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(21, 21, 168, 0.37);
  z-index: 0;
  overflow: visible; /* allow glow to extend out */
}

/* base subtle glow, always on */
.search-wrapper::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: -1;
}

/* expanding ripple ring */
.search-wrapper::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation: search-border-ripple 2.5s ease-out infinite;
}

/* ripple: grows out and fades */
@keyframes search-border-ripple {
  0% {
    transform: scale(1);
    opacity: 0.3;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1.06); /* spreads out from the edge */
    opacity: 0;
    box-shadow: 0 0 18px 8px rgba(255, 255, 255, 0.0);
  }
  100% {
    transform: scale(1.05);
    opacity: 0;
    box-shadow: 0 0 18px 8px rgba(255, 255, 255, 0.0);
  }
}


.search-box {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9CA3AF;
    pointer-events: none;
    z-index: 1;
}

.search-input-main {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    font-size: 1.1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-input-main:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.clear-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #EF4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}

.clear-btn:hover {
    background: #DC2626;
    transform: translateY(-50%) scale(1.1);  /* ← Keep vertical centering */
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.filter-select-search {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    background: white;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.filter-select-search:hover {
    border-color: #667eea;
}

.filter-select-search:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.search-count {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
}

.search-results {
    margin-top: 2rem;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid #E5E7EB;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0.5rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #F9FAFB;
    transform: translateX(5px);
}

.search-result-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.search-result-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #667eea;
    color: white;
    border-radius: 1rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6B7280;
}

.search-result-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.search-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #6B7280;
}

.search-no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-title {
        font-size: 2.8rem;
        margin-bottom: 0.5rem;
        line-height: 3rem;
    }
    
    .search-subtitle {
        font-size: 1.1rem;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
    }
    
    .search-wrapper {
        padding: 1rem;
    }
}
