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

html, body {
    font-family: 'Monda', sans-serif;
    background-color: #7c878e !important; 
    color: #bfcfdc;
    line-height: 1.6;
    overflow-x: hidden; 
    margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

  
.logo {
    font-size: 1.35rem;
    font-weight: 400;
    color: #f39c12;
    letter-spacing: -0.5px;
    font-family: 'Orbit', sans-serif;
}


.submit-button {
    background-color: transparent;
    color: #bfcfdc !important;
    border: 1px solid #f39c12;
    border-radius: 6px;
    font-weight: 500;
    font-size: .8em;	
    padding: 0.5rem .5rem !important;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #f39c12;
    /* color: #4b5257 !important; */
}

main {
    background-color: #7c878e;
    padding: 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    overflow-x: hidden;
}

h1 {
    font-size: 2.9rem;
    font-weight: 400;
    margin-bottom: .8rem;
    color: #f39c12;
    text-align: center;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.7rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #f39c12;
    text-align: center;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: .5rem;
    color: #bfcfdc;
    text-align: center;
    letter-spacing: -0.5px;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #bfcfdc;
}

.hero {
    margin-top: 0;
    padding: 0;
    background-color: #4b5257;
    border-radius: 12px;
}

.hero h2 {
    color: #f39c12;
}

.hero p {
    color: #bfcfdc;
}
footer {
    background-color: #2c3238;
    padding: 1.5rem;
    text-align: center;
    margin-top: 4rem;
    font-weight: 500;
    width: 100%;
}
/* Home page submit button */
.home-submit-button {
    display: inline-block;
    background-color: #f39c12;
    color: #4b5257 !important;
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    font-family: system-ui, -apple-system, sans-serif;
    transition: all 0.3s ease;
}

.home-submit-button:hover {
    background-color: #C87F0A;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(147, 194, 71, 0.2);
}

/* Agent Map Styles */
.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.agent-card {
    background-color: #4b5257;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #bfcfdc;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.agent-card:hover {
    transform: translateY(-5px);
    border-color: #f39c12;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.agent-card h3 {
    color: #f39c12;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.agent-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.agent-card p {
    font-size: 0.9rem;
    color: #bfcfdc;
}

/* Agent Map Visualization */
/* Agent Map Visualization */
/* Agent Map Visualization */
.agent-map-container {
    width: 100%;
    height: 800px !important;
    min-height: 800px;
    background-color: rgba(75, 82, 87, 0.3);
    border-radius: 12px;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
}

#agent-map {
    width: 100%;
    height: 100%;
}

#agent-map circle {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

#agent-map text {
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

#agent-map line {
    transition: opacity 0.3s ease;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.category-item {
    background-color: #4b5257;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #bfcfdc;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-list, .trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

.category-item:hover {
    transform: translateY(-5px);
    border-color: #f39c12;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.category-header h2 {
    font-size: 1.25rem;
    color: #f39c12;
    margin: 0;
    font-weight: 600;
}

.agent-count {
    font-size: 0.875rem;
    color: #f39c12;
    background-color: rgba(147, 194, 71, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.category-item p {
    font-size: 0.9rem;
    color: #bfcfdc;
    margin: 0;
}

/* Category Page Styles */
.agents-list {
    margin-top: 3rem;
}

.sponsored-section {
    margin-bottom: 4rem;
}

.regular-section {
    margin-bottom: 4rem;
}

.agents-list h2 {
    font-size: 1.5rem;
    color: #f39c12;
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.no-listings {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    background-color: rgba(75, 82, 87, 0.5);
    border-radius: 8px;
    color: #bfcfdc;
}

/* News Page Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-item {
    background-color: #4b5257;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date, .news-category {
    font-size: 0.875rem;
    color: #f39c12;
}

.news-item h2 {
    color: #bfcfdc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.news-item p {
    color: #bfcfdc;
    margin-bottom: 1rem;
    text-align: left;
}

.read-more {
    color: #f39c12;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #a1d158;
}

/* Contact Page Styles */
.contact-container {
    max-width: 600px;
    margin: 3rem auto;
}

.contact-form {
    background-color: #4b5257;
    border-radius: 12px;
    padding: 2rem;
}

.form-row{
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group{
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}


.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #bfcfdc;
    font-weight: 500;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #bfcfdc;
    font-family: 'Inter', sans-serif;
}

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

.submit-btn {
    background-color: #f39c12;
    color: #4b5257;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background-color: #C87F0A;
}

/* Submit Page Styles - Must be last to override other styles */
.submit-container {
    max-width: 800px;
    margin: 3rem auto;
}

.submit-form {
    background-color: #4b5257;
    border-radius: 12px;
    padding: 2rem;
}

.form-section {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #bfcfdc;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #bfcfdc;
    font-family: 'Inter', sans-serif;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 1.5rem;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #bfcfdc;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
    text-align: left;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #bfcfdc;
    width: calc(33.33% - 1rem);
    margin-bottom: 0.5rem;
}

/* Override center alignment from parent */
.checkbox-group label,
.checkbox-group {
    text-align: left !important;
}

.checkbox-group label input[type="checkbox"] {
    margin-right: 0.5rem;
}

.submit-btn {
    background-color: #f39c12;
    color: #4b5257;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto 0;
    display: block;
}

.submit-btn:hover {
    background-color: #C87F0A;
}

.form-group.full-width label {
    text-align: left !important;
}

.form-group.full-width {
    text-align: left !important;
}

.checkbox-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem 1rem;
    margin-top: 0.5rem;
    text-align: left;
}

.checkbox-wrapper label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    color: #bfcfdc;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.checkbox-wrapper input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0;
}

/* Mobile Responsive Styles */

/* Tablets and phones */
@media (max-width: 992px) {
    .nav-links {
        display: none; /* You'll want to add a menu toggle later */
    }
    
    .agent-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .agent-icon {
        font-size: 2rem;
    }
}

/* Tablets and small laptops */
@media (max-width: 768px) {
    body {
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    main {
        padding: 2rem 1rem;
    }
    
    .nav {
        flex-direction: column;
        text-align: center;
    }
    
    .submit-button {
        padding: 0.5rem !important;
        font-size: 0.9rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .agent-map-container {
        height: 400px;
    }
    
    .checkbox-wrapper {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .home-submit-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .agent-cards {
        grid-template-columns: 1fr;
    }
    
    .checkbox-wrapper {
        grid-template-columns: 1fr;
    }
    
    .submit-container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .submit-form {
        padding: 1rem;
    }
}

/* Make tables responsive */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
}

/* Fix mobile viewport */
* {
    box-sizing: border-box;
}

/* NAVIGATION - Clean Reset */
nav {
    background-color: #4b5257;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #bfcfdc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: #bfcfdc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #C87F0A;
    color: #4b5257;
    border-radius: 6px;
}


/* Mobile Navigation */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #4b5257;
        flex-direction: column;
        padding: 1rem;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links a {
        margin: 0.5rem 0;
    }
}


/* Responsive navigation menu */

.logo {
    font-size: 1.35rem;
    font-weight: 400;
    color: #f39c12;
    letter-spacing: -0.5px;
    font-family: 'Monda', sans-serif;
}

/* Agent Single Page Styles */
.agent-single {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.agent-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

/* Agent Logo Styles */
.agent-logo {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background-color: #4b5257;
  padding: 0.5rem;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}


.agent-card .agent-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
}

.agent-card-content img {
  max-width: 100%;
  max-height: 100%;
}

/* Tag Styles */
.tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #bfcfdc;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin: 0.25rem;
  font-size: 0.85rem;
}
.agent-logo img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
}

.agent-title h1 {
  margin-bottom: 0.5rem;
  text-align: left;
  color: #f39c12;
}

.agent-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.agent-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-tag,
.platform-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
}

.category-tag {
 font-size: .9rem !important;
    background-color: rgba(255, 255, 255, 0.1);
    /*color: #a3cbe1;*/
    color: #6cb6ff;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #6cb6ff;
    white-space: nowrap;
}

.platform-tag {
    font-size: .9rem !important;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffd438; /* lime green */
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #ffd438;
    white-space: nowrap;
}

.price-tag{
    font-size: .9rem !important;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ff8f8f; /* light cheery blue */ 
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    white-space: nowrap;
    border: 1px solid #ff8f8f;
}

.source-tag{
    font-size: .9rem !important;
    background-color: rgba(255, 255, 255, 0.1);
    color: #6cd65c; /* light cheery blue */ 
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    white-space: nowrap;
    border: 1px solid #6cd65c;
}


.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: #bfcfdc;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #bfcfdc;
  font-size: 0.85rem;
}


.agent-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.agent-btn.primary {
  background-color: #93c247;
  color: #4b5257;
}

.agent-btn {
  background-color: #4b5257;
  color: #bfcfdc;
  border: 1px solid #93c247;
}

.agent-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.agent-details {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 2rem;
}

.agent-section {
  margin-bottom: 2rem;
  background-color: #4b5257;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: left;
  
}

.agent-section p{
    text-align: left !important;
    }

.agent-section h2,
.agent-section h3 {
  color: #f39c12;
  margin-bottom: 1rem;
  font-weight: 400;
  text-align: left;
}

.features-list,
.use-cases-list {
  list-style-type: none;
  padding: 0;
}

.features-list li,
.use-cases-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
  text-align: left;
}

.features-list li:before,
.use-cases-list li:before {
  content: "✓";
  color: #f39c12;
  position: absolute;
  left: 0;
}

.review-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 600;
}

.review-text {
  text-align: left;
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}


.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-link {
  display: block;
  color: #bfcfdc;
  text-decoration: none;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.social-link:hover {
  background-color: rgba(147, 194, 71, 0.2);
}

/* Recent Listings (for Homepage) */
.recent-listings {
  margin-top: 3rem;
}

.recent-listings h2 {
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .agent-header {
    flex-direction: column;
    text-align: center;
  }
  
  .agent-logo {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .agent-details {
    grid-template-columns: 1fr;
  }
  
  .agent-title h1 {
    text-align: center;
  }
  
  .agent-meta {
    justify-content: center;
  }
  
  .agent-actions {
    flex-direction: column;
  }
}

/* Agent List Styles for Homepage */

/* Agent List Styles for Homepage */
.agent-list-container {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* old background-color: #4b5257; */
    background-color: #4b5257;
    border-radius: 12px;
    padding: 1.5rem;
    
}

.agent-list-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #f39c12;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 65px; /* Match logo height */
}

/* Alternating row colors for agent listings */
.agent-list-item:nth-child(even) {
    background-color: #545b5f;
}

.agent-list-item:nth-child(odd) {
    background-color: transparent;
}

/* Enhance hover effect to stand out more */
.agent-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-color: #f39c12;
    z-index: 10;
    background-color: rgba(75, 82, 87, 0.5);
}

.agent-list-item:hover {
    transform: translateY(-1px);
    border: .2px solid  #f39c12;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.agent-list-logo {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4b5257;
    border-radius: 8px;
    overflow: hidden;
}

.agent-list-logo img {
    max-width: 100%;
    max-height: 100%;
}

.agent-list-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.agent-list-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.agent-list-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight:400;
    color: #f39c12;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agent-list-category {
    font-size: .75rem !important;
    background-color:#7c878e;
    color: #7ebaf5;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #7ebaf5;
    white-space: nowrap;
}

.agent-list-tagline {
     margin: 0;
    font-size: 0.85rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #bfcfdc;
    /*color: #bfcfdc !important; */
    max-width: 60ch; /* limit to 50 chars */
}

.agent-list-platform {
    font-size: 0.75rem;
    background-color: #7c878e;
    color: #ffd438;
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #ffd438;
    white-space: nowrap;
}

.agent-list-price{
    font-size: .75rem !important;
    background-color: #7c878e;
    color: #ff8f8f; /* light cheery blue */ 
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #ff8f8f;
    white-space: nowrap;
}

.agent-list-source{
    font-size: .75rem !important;
    background-color: #7c878e;
    color: #6cd65c; /* light cheery blue */ 
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    border: 1px solid #6cd65c;
    white-space: nowrap;
}

/* Remove the section we replaced */
.recent-listings {
    display: none;
}

/* Similar Agents */
.similar-agents {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.similar-agent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: rgba(75, 82, 87, 0.5);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.similar-agent:hover {
    background-color: #4b5257 !important;  
    transform: translateY(-2px);
    text-decoration: none;
  }

.similar-agent-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #4b5257;
  display: flex;
  align-items: left;
  justify-content: left;
  overflow: hidden;
}

.similar-agent-logo img {
  max-width: 100%;
  max-height: 100%;
}

.similar-agent-info {
  flex-grow: 1;
}

.similar-agent-info h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  color: #bfcfdc;
}

.similar-agent-category {
  font-size: 0.8rem;
  color: #f39c12;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #bfcfdc;
  text-align:left;
}

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

.breadcrumbs a:hover {
  color: #f39c12;
  text-decoration: underline;
}

.breadcrumbs span {
  color: #bfcfdc;
}

/* Updated Agent Page Styles */
.title-with-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
}

.title-with-button h1 {
  margin-bottom: 0;
}

.agent-btn.primary {
  background-color:#93c247;
  color: #4b5257;
  padding: 0.3rem .5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.75rem;
}

.agent-btn.primary:hover {
  background-color: #a1d158;
  transform: translateY(-2px);
}

/* Remove the action buttons section */
.agent-actions {
  display: none;
}

/* Smaller tags */
.tag {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #bfcfdc;
  border-radius: 12px;
}

/* Social icons row */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

/* Update similar agents */
.similar-agent {
  display: flex;
  text-align:left;
  gap: 1.1rem;
  padding: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.similar-agent:hover {
  background-color: rgba(243, 156, 18, 0.2);
}

.similar-agent-info h4 {
  margin: 0;
  color: #bfcfdc;
}

.similar-agent-category {
  display: none;
}

/* Stat boxes styling */
.stat-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 1rem 0 2rem;
    padding: 0.75rem;
    background-color: #7c878e; /* Semi-transparent dark gray */
    border-radius: 0.5rem;
  }
  
  .stat-box {
    flex: 1;
    min-width: 120px;
    margin: 0 0.5rem;
    padding: 0.75rem;
    background-color: #4b5257; /* Dark gray background */
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1.1px solid #f39c12;
  }
  
  .stat-number {
    font-size: 1.7rem;
    font-weight: 500;
    color: #f39c12; /* Orange/Gold primary accent */
    line-height: 1.2;
  }
  
  .stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #bfcfdc; /* Light gray text color */
    margin-top: 0.45rem;
  }
  
 
  .stat-subtitle {
    font-size: 0.85rem;
    color: rgba(191, 207, 220, 0.7); /* Lighter version of light gray text */
    line-height: 1.5;
  }

  .stat-source a{
    font-size: 0.6rem;
    color: rgba(191, 207, 220, 0.5); /* Even lighter version for sources */
    margin-top: 0.6rem;
    font-style: italic;
    text-decoration: none;
  }
  
  
  /* Responsive adjustments */
  @media (max-width: 640px) {
    .stat-boxes {
      flex-direction: row;
    }
    
    .stat-box {
      margin-bottom: 0.5rem;
    }
  }
 
  /* Pagination Styles */

  /* Simple pagination CSS - page numbers only */
.pagination {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.pagination li {
    display: inline-block;
    list-style: none;
    margin: 0 0.25rem;
}

.pagination li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    background-color: #4b5257;
    color: #bfcfdc;
}

.pagination li a:hover {
    background-color: #7c878e;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(243, 156, 18, 0.2);
}

.pagination li.active a {
    background-color: #f39c12 !important;
    color: #ffffff !important;
    font-weight: 600;
    border: 1px solid #f39c12 !important;
}

.pagination-info {
    text-align: center;
    color: #bfcfdc;
    opacity: 0.7;
    font-size: 0.7rem;
    margin-top: 0.75rem;
}

/* Layout styles for main content and sidebar */

.main-content {
    display: grid;
    grid-template-columns: 3fr minmax(250px, 1fr); /* Main content 3/4, sidebar 1/4 */
    gap: 1.5rem;
    margin: 1rem auto 0;
    max-width: 100%;
    width: 1162px; 
  }
  
  /* Reset sidebar container to not have a background */
  .agent-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top:0;
  }
  
  /* Style each section as a separate box */
  .agent-section {
    background-color: #4b5257;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #f39c12;
    margin-bottom: 1rem;
    width: 100%;
  }
  
  /* Section headers */
  .agent-section h3 {
    color: #f39c12;
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  

  /* Category links */
  .category-link {
    display: block;
    color: #bfcfdc;
    text-decoration: none;
    padding: 0.5rem 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
    width: 100%;
  }
  
  .category-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f39c12;
  }
  
   
  /* Tag items */
  .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.5rem;
  }
  
  .tag-item {
    display: inline-block;
    color: #bfcfdc;
    background-color: rgba(255, 255, 255, 0.075);
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
  }
  
  .tag-item:hover {
    background-color: rgba(243, 156, 18, 0.2);
    color: #f39c12;
  }
  
  /* Pricing links */
  .pricing-filter {
    display: block;
    color: #bfcfdc;
    text-decoration: none;
    padding: 0.5rem 0.35rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
    margin-bottom: 0.25rem;
  }
  
  .pricing-filter:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f39c12;
  }
  
  /* View all link */
  .view-all-link {
    display: block;
    text-align: center;
    color: #f39c12;
    text-decoration: none;
    margin-top: 0.75rem;
    font-size: 0.875rem;
  }
  
  .view-all-link:hover {
    text-decoration: underline;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .main-content {
      grid-template-columns: 1fr;
    }
    
    .agent-sidebar {
      order: 2;
    }
  }

  /* Footer Styling */
.site-footer {
    background-color: #2c3238 !important; /* Slightly darker than your dark gray for contrast */
    color: #bfcfdc;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    border-top: 3px solid #f39c12; /* Orange accent border */
  }
  
  .footer-container {
    width: 1162px; /* Match your main content width */
    max-width: calc(100% - 2rem);
    margin: 0 auto;
  }
  
  /* Main footer section with columns */
  .footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Logo section is wider, removed a column */
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  
  @media (max-width: 1024px) {
    .footer-main {
      grid-template-columns: 1fr 1fr;
      gap: 2rem 3rem;
    }
  }
  
  @media (max-width: 640px) {
    .footer-main {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
  
  /* Footer sections */
  .footer-section {
    margin-bottom: 1.5rem;
  }
  
  .footer-section h4 {
    color: #f39c12; /* Orange headings */
    font-size: 1.1rem;
    margin: 0 0 .5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  /* Brand section with logo */
  .footer-brand h3 {
    color: #f39c12;
    font-size: 1.5rem;
    margin: 0.5rem 0 0.25rem;
  }
  
  .footer-brand .tagline {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.8;
  }
  
  .footer-logo {
    margin-bottom: 0.75rem;
  }
  
  /* Social links */
  .footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
  }
  
  .footer-social a {
    color: #bfcfdc;
    opacity: 0.7;
    transition: all 0.2s ease;
  }
  
  .footer-social a:hover {
    color: #f39c12;
    opacity: 1;
  }
  
  /* Footer navigation links */
  .footer-links {
    background-color: #2c3238;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: -5px;
  }
  
  .footer-links a {
    color: #bfcfdc;
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.8;
    margin-top: 0;
  }
  
  .footer-links a:hover {
    color: #f39c12;
    opacity: 1;
  }
  
  .footer-links a.highlight {
    color: #f39c12;
    font-weight: 500;
  }
  
  .footer-links a.view-more {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #f39c12;
    opacity: 0.9;
  }
  
  /* Contact section */
  .footer-contact address {
    font-style: normal;
    line-height: 1.6;
  }
  
  .footer-contact a {
    color: #bfcfdc;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer-contact a:hover {
    color: #f39c12;
  }
  
  .footer-address {
    margin-top: 0.75rem;
    opacity: 0.7;
  }
  
  /* Categories Grid Section */
  .footer-categories-section {
    margin-bottom: 2.5rem;
  }
  
  .footer-categories-section h4 {
    color: #f39c12;
    font-size: 1.1rem;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
 
  
  @media (max-width: 1200px) {
    .categories-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 900px) {
    .categories-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 640px) {
    .categories-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .category-column {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }
  
  
  .category-name {
    font-weight: 500;
    color: #f39c12;
    margin-bottom: 0.25rem;
  }
  

  
  /* Footer bottom section */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
  }
  
  .footer-copyright {
    opacity: 0.7;
  }
  
  .footer-legal {
    display: flex;
    gap: 1.5rem;
  }
  
  .footer-legal a {
    color: #bfcfdc;
    text-decoration: none;
    transition: color 0.2s ease;
    opacity: 0.7;
  }
  
  .footer-legal a:hover {
    color: #f39c12;
    opacity: 1;
  }
  
  @media (max-width: 768px) {
    .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }
    
    .footer-legal {
      justify-content: center;
    }
  }

  /* Legal pages styling */
.legal-container {
    max-width: 900px;
    margin: 2rem auto 4rem;
    padding: 0 1.5rem;
    color: #bfcfdc;
  }
  
  .legal-container h1 {
    color: #f39c12;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }
  
  .last-updated {
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    color: rgba(191, 207, 220, 0.7);
  }
  
  .legal-section {
    margin-bottom: 3rem;
  }
  
  .legal-section h2 {
    color: #f39c12;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .legal-section h3 {
    color: #bfcfdc;
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
  }
  
  .legal-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: left;
  }
  
  .legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
  }
  
  .legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    text-align: left;
  }
  
  .legal-section a {
    color: #f39c12;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .legal-section a:hover {
    text-decoration: underline;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .legal-container {
      margin: 1rem auto 3rem;
      padding: 0 1rem;
    }
    
    .legal-container h1 {
      font-size: 2rem;
    }
    
    .legal-section h2 {
      font-size: 1.35rem;
    }
    
    .legal-section h3 {
      font-size: 1.15rem;
    }
  }


  .category-link.active {
    background-color: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    font-weight: 500;
    border-left: 3px solid #f39c12;
    padding-left: calc(0.5rem - 3px);
  }

/* CSS for pricing checkbox filters */

/* Checkbox container */
.pricing-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  
  /* Individual checkbox item */
  .pricing-checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
  }
  
  /* Checkbox input styling */
  .pricing-checkbox-item input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
  }
  
  /* Label styling */
  .pricing-checkbox-item label {
    cursor: pointer;
    font-size: 14px;
    user-select: none; /* Prevents text selection when clicking */
  }
  
  /* Focus styling for accessibility */
  .pricing-checkbox-item input[type="checkbox"]:focus + label {
    text-decoration: underline;
  }
  
  /* No results message */
  .no-results-message {
    padding: 30px;
    text-align: center;
    width: 100%;
    margin: 20px auto;
    color: #666;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-style: italic;
  }
  
  /* Custom checkbox styling (optional - for a more stylized look) */
  .pricing-checkbox-item input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    border: 1.5px solid #bbb;
    border-radius: 3px;
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s ease;
  }
  
  .pricing-checkbox-item input[type="checkbox"]:checked {
    background-color: #4a86e8;
    border-color: #4a86e8;
  }
  
  .pricing-checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  
  .pricing-checkbox-item input[type="checkbox"]:hover {
    border-color: #4a86e8;
  }
  
  /* Special styling for "All" option */
  #filter-all + label {
    font-weight: 600;
  }

  /* Search container styles */
.search-container {
    position: relative;
    margin-bottom: 20px;
    margin-top: 10px;
    margin-left: 20px;
    max-width: 500px;
  }
  
  .search-input {
    width: 100%;
    padding: 8px 35px 8px 12px;
    font-size: 14px;
    color:#bfcfdc;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background-color: #7c878e;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }
  
  .search-input::placeholder {
    color: #bfcfdc;
    font-size: .9rem;
    font-style: italic;
  }
  
  .search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
  }
  
  /* Responsive search */
  @media (max-width: 768px) {
    .search-container {
      max-width: 100%;
    }
    
    .search-input {
      font-size: 16px; /* Prevents zoom on iOS */
    }
  }
  


/* Enhanced Tag Cloud Styles */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0;
  padding: 0;
}

.tag-cloud-item {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, #4b5257 0%, #7c878e 100%);
  border: 2px solid transparent;
  border-radius: 15px;
  color: #bfcfdc;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 0.75em;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(75, 82, 87, 0.2);
  text-transform: capitalize;
}

/* Shimmer effect overlay */
.tag-cloud-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(243, 156, 18, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

/* Popular tags (larger font sizes) get special treatment */
.tag-cloud-item[style*="1.6em"],
.tag-cloud-item[style*="1.7em"],
.tag-cloud-item[style*="1.8em"] {
  background: linear-gradient(135deg, #f39c12 0%, #C87F0A 100%);
  color: white;
  border-color: #C87F0A;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

/* Medium popularity tags */
.tag-cloud-item[style*="1.3em"],
.tag-cloud-item[style*="1.4em"],
.tag-cloud-item[style*="1.5em"] {
  background: linear-gradient(135deg, #93c247 0%, #a1d158 100%);
  color: white;
  border-color: #93c247;
  box-shadow: 0 3px 12px rgba(147, 194, 71, 0.3);
}

/* Hover effects */
.tag-cloud-item:hover,
.tag-cloud-item-hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
  border-color: #f39c12;
}

/* High popularity hover */
.tag-cloud-item[style*="1.6em"]:hover,
.tag-cloud-item[style*="1.7em"]:hover,
.tag-cloud-item[style*="1.8em"]:hover {
  background: linear-gradient(135deg, #C87F0A 0%, #f39c12 100%);
  box-shadow: 0 4px 15px rgba(200, 127, 10, 0.5);
}

/* Medium popularity hover */
.tag-cloud-item[style*="1.3em"]:hover,
.tag-cloud-item[style*="1.4em"]:hover,
.tag-cloud-item[style*="1.5em"]:hover {
  background: linear-gradient(135deg, #a1d158 0%, #6cd65c 100%);
  box-shadow: 0 3px 10px rgba(161, 209, 88, 0.4);
}

/* Shimmer on hover */
.tag-cloud-item:hover::before {
  left: 100%;
}

/* Active/selected state */
.tag-cloud-item-active {
  background: linear-gradient(135deg, #6cd65c 0%, #93c247 100%) !important;
  color: white !important;
  border-color: #6cd65c !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(108, 214, 92, 0.4) !important;
}



/* Mobile responsiveness */
@media (max-width: 768px) {
  .tag-cloud {
    gap: 6px;
    margin: 8px 0;
  }
  
  .tag-cloud-item {
    padding: 3px 8px;
    font-size: 0.7em;
  }
  
  .tag-cloud-item:hover {
    transform: translateY(-1px) scale(1.02);
  }
}

/* Dark mode friendly */
@media (prefers-color-scheme: dark) {
  .tag-cloud-item {
    border-color: #7c878e;
  }
}

/* Animation for new tags */
@keyframes tagAppear {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.tag-cloud-item {
  animation: tagAppear 0.4s ease-out;
}

/* Stagger animation for multiple tags */
.tag-cloud-item:nth-child(1) { animation-delay: 0.1s; }
.tag-cloud-item:nth-child(2) { animation-delay: 0.2s; }
.tag-cloud-item:nth-child(3) { animation-delay: 0.3s; }
.tag-cloud-item:nth-child(4) { animation-delay: 0.4s; }
.tag-cloud-item:nth-child(5) { animation-delay: 0.5s; }
.tag-cloud-item:nth-child(6) { animation-delay: 0.6s; }
.tag-cloud-item:nth-child(7) { animation-delay: 0.7s; }
.tag-cloud-item:nth-child(8) { animation-delay: 0.8s; }