/* 
   Pokerexams.org – Global Styles
   Theme Colors:
     Primary Light: #21d375
     Primary Dark:  #08a045
     Background:    #d5ebda
     */

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #d5ebda;
    color:  #1a1f25;
    line-height: 1.6;
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto; /* This pushes footer down */
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
}
/* ===============
   HEADER & MAIN NAVIGATION
================== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.125rem 0;
}

/*.logo {
    font-size: 1.65rem;
    font-weight: 800;
    color: #08a045;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.logo:hover {
    color: #21d375;
}*/
.logo {
    font-weight: bold;            /* Makes the text bold */
    font-size: 1.65rem;           /* Equivalent to text-xl */
    color:#08a045 ; /* Replace with your brand-secondary color, e.g. #4b5563 */
}

.text-brand-primary {
    color:#1c673a;   /* Replace with your brand-primary color, e.g. #dc2626 */
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    color: #5a6b65;
    text-decoration: none;
    padding: 0.4rem 0;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: #21d375;
}

/* Underline hover effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #21d375;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active page indicator (optional) */
.nav-link.active {
    color: #08a045;
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
    background-color: #08a045;
}



/* ===============
   PAGE HEADER
================== */
.page-header {
    margin: 2.5rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color:  #08a045;
}

.page-subtitle {
    color: #5a6b65;
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto;
}

/* ===============
   SCHOOL GRID & CARDS
================== */
.school-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 20px;
}

.school-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 16px rgba(8, 160, 69, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

/* === HOVER: Use actual hex colors, no variables === */
.school-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(8, 160, 69, 0.20); /* explicit shadow */
}

.school-card:hover .card-icon {
    background: rgba(33, 211, 117, 0.2); /* #21d375 with 20% opacity */
    color: #21d375; /* bright green */
}

.school-card:hover .school-name {
    color: #08a045; /* dark green */
}

.school-card:hover .category-badge {
    background: rgba(8, 160, 69, 0.15); /* #08a045 with 15% opacity */
    color: #21d375; /* bright green text */
}

/* Top accent bar (always visible) */
.school-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #21d375, #08a045);
}
/* Icon container */
.card-icon {
    width: 72px;
    height: 72px;
    background: rgba(33, 211, 117, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color:  #08a045;
    font-size: 1.75rem;
}

/* School name */
.school-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color:  #1a1f25;
    line-height: 1.3;
}

/* Category count badge */
.category-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(8, 160, 69, 0.08);
    color:  #08a045;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.925rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.category-badge i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

/* ===============
   EMPTY STATE
================== */
.empty-state {
    text-align: center;
    margin: 3rem auto;
    max-width: 600px;
    padding: 2rem;
}

.text-muted {
    color: #5a6b65;
    font-style: italic;
}

/* ===============
   FOOTER
================== */
.site-footer {
    flex-shrink: 0;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 2rem 0 1.5rem;
    color: #5a6b65;
    font-size: 0.95rem;
}

.footer-categories h3 {
    color: #08a045;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
    color:green;
}

.category-list li {
    flex: 1 0 calc(25% - 1rem);
    min-width: 120px;
}

.category-list a {
    color: #5a6b65;
    text-decoration: none;
    padding: 0.25rem 0;
    display: block;
    transition: color 0.2s;
}

.category-list a:hover {
    color: #21d375;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.95rem;
}
/* Breadcrumb Styles - matches your existing breadcrumb-simple class */
.breadcrumb-simple {
    padding: 10px 20px;
    background: #f8f9fa;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumb-simple a {
    color: #08a045;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-simple a:hover {
    color: #21d375;
    text-decoration: underline;
}

.breadcrumb-simple span {
    color: #6c757d;
    margin: 0 4px;
}

@media (max-width: 480px) {
    .category-list li {
        flex: 1 0 100%;
    }
}
/* ===============
   UTILITIES
================== */
.text-center {
    text-align: center;
}

.py-4 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/*.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}*/

.mt-5 {
    margin-top: 3rem;
}


/* ===============
   SEARCH BAR
================== */
.search-section {
    margin-bottom: 2.5rem;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #5a6b65;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 2.75rem;
    font-size: 1rem;
    border: 2px solid #d5ebda;
    border-radius: 50px;
    background: #ffffff;
    color: #1a1f25;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.search-input:focus {
    border-color: #21d375;
    box-shadow: 0 0 0 3px rgba(33, 211, 117, 0.2);
}

.search-input::placeholder {
    color: #a0b2ae;
}
/* Search Results */
.search-results-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(8, 160, 69, 0.08);
    border: 1px solid #e0f0e9;
}

.search-results-title {
    color: #08a045;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.search-results-container h4 {
    color: #21d375;
    margin: 1.25rem 0 0.75rem;
    font-size: 1.1rem;
}

.search-results-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-container li {
    padding: 0.5rem 0;
}

.search-results-container a {
    color: #08a045;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.search-results-container a:hover {
    color: #21d375;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .search-results-container {
        padding: 1.25rem;
    }
}
/* ===============
   RESPONSIVE DESIGN
================== */
@media (max-width: 992px) {
    .school-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 1.875rem;
    }

    .school-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
    }

    .school-card {
        padding: 1.5rem 1rem;
    }
      .main-nav {
        gap: 1.25rem;
    }

        .nav-link {
        font-size: 0.95rem;
    }
        .category-list li {
        flex: 1 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 480px) {
    .school-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 0 1rem;
    }

    .page-title {
        font-size: 1.625rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 5px;
        width: 90%;
    }
}
 
@media (max-width: 576px) {
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .main-nav {
        gap: 1.25rem;
    }
}