/* ==========================================================================
   Guidance24 - Exact Screenshot Pixel-Perfect Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --g24-primary: #1d72fe;
    --g24-primary-hover: #155cd8;
    --g24-danger: #ef4444;
    --g24-danger-hover: #dc2626;
    --g24-success: #10b981;
    --g24-warning: #f59e0b;
    --g24-purple: #8b5cf6;
    --g24-dark: #0f172a;
    --g24-card-bg: #ffffff;
    --g24-border: #e2e8f0;
    --g24-text-main: #1e293b;
    --g24-text-muted: #64748b;
    --g24-body-bg: #f8fafc;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: var(--g24-body-bg) !important;
    color: var(--g24-text-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.g24-container {
    width: 96%;
    max-width: 1380px;
    margin: 0 auto;
}

/* ==========================================================================
   1. Modern Navbar / Header
   ========================================================================== */
.g24-navbar-wrap {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.g24-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    min-height: 76px;
    gap: 16px;
}

.g24-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.g24-brand-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.g24-brand-logo:hover img {
    transform: scale(1.02);
}

.g24-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.g24-nav-item {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.g24-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.g24-nav-btn:hover {
    background: #f1f5f9;
    color: var(--g24-primary);
    border-color: #cbd5e1;
}

.g24-nav-btn.active {
    background: var(--g24-primary);
    color: #ffffff;
    border-color: var(--g24-primary);
}

.g24-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    min-width: 250px;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    display: none;
    z-index: 99999;
    padding: 8px;
}

/* Invisible bridge so mouse hover never drops between button and dropdown */
.g24-nav-dropdown::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

.g24-nav-item:hover .g24-nav-dropdown {
    display: block;
}

.g24-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.g24-dropdown-link:hover {
    background: #eff6ff;
    color: var(--g24-primary);
    transform: translateX(3px);
}

/* Header Search */
.g24-nav-search {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 2px 2px 2px 10px;
    width: 270px;
    transition: all 0.2s ease;
}

.g24-nav-search:focus-within {
    border-color: var(--g24-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(29, 114, 254, 0.12);
}

.g24-nav-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 12.5px;
    width: 100%;
    color: #1e293b;
}

.g24-nav-search button {
    background: var(--g24-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.g24-nav-search button:hover {
    background: var(--g24-primary-hover);
}

/* Header Auth Buttons */
.g24-nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.g24-btn-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.g24-btn-login:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.g24-btn-register {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: var(--g24-danger);
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
}

.g24-btn-register:hover {
    background: var(--g24-danger-hover);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.g24-hero-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 45%, #eff6ff 100%);
    border-radius: 20px;
    border: 1px solid #bae6fd;
    padding: 24px 28px;
    margin-top: 18px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(186, 230, 253, 0.25);
}

/* Background sketch doodle overlays */
.g24-hero-card::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 320px;
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 2.5 1.5 4.5 3 6h8c1.5-1.5 3-3.5 3-6a7 7 0 0 0-7-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.g24-hero-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 240px;
    width: 65px;
    height: 65px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.35;
    pointer-events: none;
}

.g24-hero-grid {
    display: grid;
    grid-template-columns: 180px 1fr 310px;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.g24-hero-student-col {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.g24-hero-student-img {
    height: 205px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}

.g24-hero-center-col {
    padding: 0 10px;
}

.g24-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.g24-hero-title span {
    color: var(--g24-primary);
}

.g24-hero-subtitle {
    font-size: 13.5px;
    color: #475569;
    margin: 0 0 16px 0;
    font-weight: 500;
}

/* Big Search Bar */
.g24-big-search {
    background: #ffffff;
    border: 2px solid #38bdf8;
    border-radius: 40px;
    padding: 4px 5px 4px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.16);
    margin-bottom: 14px;
}

.g24-big-search i {
    color: #94a3b8;
    font-size: 16px;
    margin-right: 10px;
}

.g24-big-search input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 500;
}

.g24-big-search-btn {
    background: var(--g24-primary);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 9px 24px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.g24-big-search-btn:hover {
    background: var(--g24-primary-hover);
}

/* Popular Searches tags */
.g24-popular-searches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.g24-popular-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-right: 3px;
}

.g24-tag-pill {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.g24-tag-pill:hover {
    background: #eff6ff;
    border-color: var(--g24-primary);
    color: var(--g24-primary);
    transform: translateY(-1px);
}

/* Quick Features Row */
.g24-hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.g24-metric-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.g24-metric-icon {
    font-size: 18px;
    color: var(--g24-primary);
}

.g24-metric-text strong {
    display: block;
    font-size: 12.5px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
}

.g24-metric-text span {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

/* News & Updates Box */
.g24-news-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.g24-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.g24-news-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.g24-news-view-all {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--g24-primary);
    text-decoration: none;
}

.g24-news-view-all:hover {
    text-decoration: underline;
}

.g24-news-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.g24-news-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease;
}

.g24-news-item:hover {
    transform: translateX(2px);
}

.g24-news-date {
    background: #eff6ff;
    color: var(--g24-primary);
    border: 1px solid #dbeafe;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    min-width: 44px;
    line-height: 1.1;
    flex-shrink: 0;
}

.g24-news-date span {
    display: block;
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
}

.g24-news-content {
    font-size: 11.5px;
    line-height: 1.35;
    color: #334155;
}

.g24-news-content strong {
    font-weight: 700;
    color: #0f172a;
    display: block;
}

/* ==========================================================================
   3. 4 Category Banner Cards
   ========================================================================== */
.g24-cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.g24-cat-card {
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.g24-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.g24-cat-card.school {
    background: #fff1f2;
    border-color: #fecdd3;
}
.g24-cat-card.competitive {
    background: #fffbeb;
    border-color: #fef3c7;
}
.g24-cat-card.computer {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.g24-cat-card.material {
    background: #fff7ed;
    border-color: #ffedd5;
}

.g24-cat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.g24-cat-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.g24-cat-card.school .g24-cat-icon-box { background: #ffe4e6; color: #e11d48; }
.g24-cat-card.competitive .g24-cat-icon-box { background: #fef3c7; color: #d97706; }
.g24-cat-card.computer .g24-cat-icon-box { background: #dcfce7; color: #16a34a; }
.g24-cat-card.material .g24-cat-icon-box { background: #ffedd5; color: #ea580c; }

.g24-cat-text h3 {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px 0;
}

.g24-cat-text p {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

.g24-cat-arrow-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.g24-cat-card.school .g24-cat-arrow-btn { background: #e11d48; }
.g24-cat-card.competitive .g24-cat-arrow-btn { background: #2563eb; }
.g24-cat-card.computer .g24-cat-arrow-btn { background: #16a34a; }
.g24-cat-card.material .g24-cat-arrow-btn { background: #ea580c; }

.g24-cat-card:hover .g24-cat-arrow-btn {
    transform: translateX(3px);
}

/* ==========================================================================
   4. Stats Counter Ribbon
   ========================================================================= */
.g24-stats-ribbon {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 20px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.g24-ribbon-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.g24-ribbon-icon {
    font-size: 18px;
    color: var(--g24-primary);
}

.g24-ribbon-text strong {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.g24-ribbon-text span {
    font-size: 11px;
    color: #64748b;
    line-height: 1.1;
}

/* ==========================================================================
   5. Challenge Any One & Your Performance Row
   ========================================================================== */
.g24-challenge-perf-row {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 18px;
    margin-top: 20px;
}

/* Left Card: Challenge Any One */
.g24-challenge-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 16px;
    align-items: center;
}

.g24-challenge-avatar-wrap {
    flex-shrink: 0;
}

.g24-challenge-avatar-img {
    width: 125px;
    height: auto;
    object-fit: contain;
}

.g24-challenge-info {
    flex: 1;
}

.g24-challenge-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.g24-challenge-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 12px 0;
}

.g24-challenge-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.g24-challenge-mini-card {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.g24-challenge-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.g24-challenge-mini-card.random {
    background: #fff5f5;
    border-color: #fed7d7;
}

.g24-challenge-mini-card.radius {
    background: #ebf8ff;
    border-color: #bee3f8;
}

.g24-challenge-mini-card.search {
    background: #f0fff4;
    border-color: #c6f6d5;
}

.g24-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    width: fit-content;
}

.g24-challenge-mini-card.random .g24-mini-badge { background: #e53e3e; color: #ffffff; }
.g24-challenge-mini-card.radius .g24-mini-badge { background: #3182ce; color: #ffffff; }
.g24-challenge-mini-card.search .g24-mini-badge { background: #38a169; color: #ffffff; }

.g24-mini-desc {
    font-size: 10.5px;
    color: #4a5568;
    line-height: 1.3;
    margin-bottom: 8px;
}

.g24-mini-arrow {
    align-self: flex-end;
    font-size: 11px;
    font-weight: 700;
}

.g24-challenge-mini-card.random .g24-mini-arrow { color: #e53e3e; }
.g24-challenge-mini-card.radius .g24-mini-arrow { color: #3182ce; }
.g24-challenge-mini-card.search .g24-mini-arrow { color: #38a169; }

/* Right Card: Your Performance */
.g24-perf-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.g24-perf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.g24-perf-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.g24-perf-link {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--g24-primary);
    text-decoration: none;
}

.g24-perf-top-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.g24-donut-chart {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.g24-donut-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.g24-donut-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.g24-donut-text span {
    font-size: 8.5px;
    color: #64748b;
    font-weight: 600;
}

.g24-perf-status-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.g24-status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
}

.g24-status-badge {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.g24-status-badge.purple { background: #f3e8ff; color: #9333ea; }
.g24-status-badge.green { background: #dcfce7; color: #16a34a; }
.g24-status-badge.orange { background: #ffedd5; color: #ea580c; }

.g24-perf-metrics-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 10px;
    text-align: center;
}

.g24-perf-meta-item span {
    display: block;
    font-size: 9.5px;
    color: #64748b;
    font-weight: 600;
}

.g24-perf-meta-item strong {
    font-size: 11.5px;
    font-weight: 800;
    color: #0f172a;
}

/* ==========================================================================
   6. Latest & Featured Mock Tests (3-Column Layout)
   ========================================================================== */
.g24-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 28px 0 16px 0;
}

.g24-section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.g24-main-grid-layout {
    display: grid;
    grid-template-columns: 240px 1fr 270px;
    gap: 18px;
    align-items: start;
}

/* Left Sidebar Filter */
.g24-filter-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.g24-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.g24-filter-header h4 {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.g24-filter-reset {
    font-size: 11.5px;
    color: var(--g24-primary);
    text-decoration: none;
    font-weight: 600;
}

.g24-filter-group {
    margin-bottom: 14px;
}

.g24-filter-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.g24-checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #475569;
    margin-bottom: 5px;
    cursor: pointer;
}

.g24-checkbox-item input {
    margin-right: 6px;
    cursor: pointer;
}

.g24-filter-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 12px;
    color: #334155;
    outline: none;
    background: #f8fafc;
}

.g24-filter-select:focus {
    border-color: var(--g24-primary);
    background: #ffffff;
}

.g24-btn-apply-filters {
    width: 100%;
    background: var(--g24-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.g24-btn-apply-filters:hover {
    background: var(--g24-primary-hover);
}

/* Center Tests Content */
.g24-tests-center {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.g24-filter-tabs-row {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.g24-tab-pill {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    cursor: pointer;
}

.g24-tab-pill:hover {
    border-color: var(--g24-primary);
    color: var(--g24-primary);
}

.g24-tab-pill.active {
    background: var(--g24-primary);
    color: #ffffff;
    border-color: var(--g24-primary);
}

.g24-tests-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
}

.g24-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.g24-sort-select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 3px 6px;
    font-size: 11.5px;
    color: #334155;
    background: #ffffff;
}

.g24-view-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
}

.g24-view-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    cursor: pointer;
}

.g24-view-icon.active {
    background: #eff6ff;
    color: var(--g24-primary);
    border-color: #bfdbfe;
}

/* 3x3 Mock Tests Grid */
.g24-tests-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.g24-mock-test-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.g24-mock-test-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.g24-test-top-badges {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.g24-badge-left {
    display: flex;
    gap: 4px;
}

.g24-badge-pill {
    font-size: 9.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.g24-badge-pill.new { background: #dbeafe; color: #1d4ed8; }
.g24-badge-pill.trending { background: #ffedd5; color: #ea580c; }
.g24-badge-pill.popular { background: #fee2e2; color: #dc2626; }
.g24-badge-pill.premium { background: #f3e8ff; color: #7e22ce; }
.g24-badge-pill.free { background: #dcfce7; color: #15803d; }

.g24-test-icon-title {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.g24-test-thumb-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: #eff6ff;
    color: var(--g24-primary);
}

.g24-test-title-link {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.3;
}

.g24-test-title-link:hover {
    color: var(--g24-primary);
}

.g24-test-meta-info {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
}

.g24-test-category-path {
    font-size: 10.5px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.g24-test-rating-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #475569;
    margin-bottom: 12px;
}

.g24-test-rating-row i {
    color: #f59e0b;
}

.g24-test-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: auto;
}

.g24-btn-start-test {
    background: var(--g24-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.g24-btn-start-test:hover {
    background: var(--g24-primary-hover);
    color: #ffffff;
}

.g24-btn-view-details {
    background: #ffffff;
    color: var(--g24-primary);
    border: 1px solid var(--g24-primary);
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 11.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.g24-btn-view-details:hover {
    background: #eff6ff;
    color: var(--g24-primary-hover);
}

/* Right Sidebar Widgets */
.g24-widgets-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Widget 1: Top Performance */
.g24-widget-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.g24-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
}

.g24-widget-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.g24-widget-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--g24-primary);
    text-decoration: none;
}

.g24-progress-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.g24-progress-item-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.g24-progress-name-val {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
}

.g24-prog-bar-bg {
    background: #f1f5f9;
    border-radius: 10px;
    height: 7px;
    overflow: hidden;
}

.g24-prog-fill {
    height: 100%;
    border-radius: 10px;
}

.g24-prog-fill.green { background: #10b981; }
.g24-prog-fill.blue { background: #3b82f6; }
.g24-prog-fill.orange { background: #f97316; }
.g24-prog-fill.red { background: #ef4444; }
.g24-prog-fill.pink { background: #ec4899; }

/* Widget 2: Unlock Premium Card */
.g24-premium-card {
    background: linear-gradient(145deg, #7c3aed 0%, #6d28d9 50%, #4c1d95 100%);
    border-radius: 14px;
    padding: 18px 16px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.25);
    position: relative;
    overflow: hidden;
}

.g24-crown-icon {
    font-size: 32px;
    color: #fcd34d;
    margin-bottom: 6px;
}

.g24-premium-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.g24-premium-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.g24-premium-features li {
    font-size: 11.5px;
    color: #f3e8ff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.g24-premium-features li i {
    color: #34d399;
    font-size: 10px;
}

.g24-btn-upgrade {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    border: none;
    border-radius: 30px;
    padding: 9px 20px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    transition: transform 0.2s;
}

.g24-btn-upgrade:hover {
    transform: scale(1.03);
    color: #0f172a;
}

/* ==========================================================================
   7. Browse by Subject
   ========================================================================== */
.g24-subjects-scroll-row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 10px;
}

.g24-subject-pill-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.g24-subject-pill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.g24-subj-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.g24-subj-title {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* ==========================================================================
   8. Popular Exams Row
   ========================================================================== */
.g24-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.g24-carousel-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.g24-carousel-btn:hover {
    background: #eff6ff;
    color: var(--g24-primary);
}

.g24-carousel-btn.prev { left: -16px; }
.g24-carousel-btn.next { right: -16px; }

.g24-exams-grid-carousel {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    width: 100%;
    padding: 6px 2px;
    scroll-behavior: smooth;
}

.g24-exam-badge-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.g24-exam-badge-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.g24-exam-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.g24-exam-name {
    font-size: 11px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

/* ==========================================================================
   9. Educational Videos Carousel
   ========================================================================== */
.g24-videos-grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.g24-video-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.g24-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.g24-video-thumb-wrap {
    position: relative;
    width: 100%;
    height: 105px;
    background: #0f172a;
    overflow: hidden;
}

.g24-video-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.3s;
}

.g24-video-card:hover .g24-video-thumb-img {
    transform: scale(1.05);
}

.g24-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    backdrop-filter: blur(2px);
}

.g24-video-duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
}

.g24-video-title-box {
    padding: 10px;
}

.g24-video-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   10. Articles & Updates Carousel
   ========================================================================== */
.g24-articles-grid-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.g24-article-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.g24-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.g24-article-thumb-wrap {
    width: 100%;
    height: 95px;
    overflow: hidden;
    background: #f1f5f9;
}

.g24-article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.g24-article-card:hover .g24-article-thumb-img {
    transform: scale(1.05);
}

.g24-article-info-box {
    padding: 10px;
}

.g24-article-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g24-article-date {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
}

/* ==========================================================================
   11. Footer (Dark Theme Matching Screenshot)
   ========================================================================== */
.g24-footer-dark {
    background: #0a1120;
    color: #e2e8f0;
    margin-top: 45px;
    padding-top: 45px;
    border-top: 1px solid #1e293b;
}

.g24-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.3fr;
    gap: 28px;
    padding-bottom: 35px;
}

.g24-footer-col h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.g24-footer-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.g24-footer-desc {
    font-size: 11.5px;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 16px;
}

.g24-social-links {
    display: flex;
    gap: 8px;
}

.g24-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
    transition: transform 0.2s;
}

.g24-social-icon:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.g24-social-icon.yt { background: #ef4444; }
.g24-social-icon.fb { background: #3b82f6; }
.g24-social-icon.ig { background: #ec4899; }
.g24-social-icon.li { background: #0ea5e9; }
.g24-social-icon.tw { background: #000000; }

.g24-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.g24-footer-links li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.g24-footer-links li a:hover {
    color: #ffffff;
}

/* App Download Badges */
.g24-app-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.g24-app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000000;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 6px 14px;
    color: #ffffff;
    text-decoration: none;
    width: fit-content;
}

.g24-app-store-btn i {
    font-size: 20px;
}

.g24-app-store-btn .btn-text-small {
    display: block;
    font-size: 8.5px;
    color: #94a3b8;
    line-height: 1;
}

.g24-app-store-btn .btn-text-main {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.1;
}

/* Subscribe Input */
.g24-subscribe-wrap {
    margin-top: 10px;
}

.g24-subscribe-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.g24-subscribe-form {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.g24-subscribe-input {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 11.5px;
    color: #ffffff;
    outline: none;
    width: 100%;
}

.g24-subscribe-input:focus {
    border-color: var(--g24-primary);
}

.g24-subscribe-btn {
    background: var(--g24-primary);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.g24-subscribe-btn:hover {
    background: var(--g24-primary-hover);
}

/* Bottom Bar */
.g24-footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
}

.g24-footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 12px;
}

.g24-footer-bottom a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Two-Column Section: All Study Materials & Notes (Left) + Latest Updates & Blogs (Right)
   ========================================================================== */
.g24-materials-blogs-section {
    margin-top: 30px;
    margin-bottom: 20px;
}

.g24-panel-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.g24-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.g24-panel-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.g24-panel-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.g24-panel-scroll-box {
    max-height: 680px;
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Custom Scrollbar */
.g24-panel-scroll-box::-webkit-scrollbar {
    width: 6px;
}
.g24-panel-scroll-box::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.g24-panel-scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.g24-panel-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Study Material Item Card */
.g24-material-row-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.2s ease;
}

.g24-material-row-item:hover {
    background: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.08);
}

.g24-mat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: #fee2e2;
    color: #ef4444;
}

.g24-mat-info {
    flex: 1;
    min-width: 0;
}

.g24-mat-title-link {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.35;
    display: block;
    margin-bottom: 4px;
}

.g24-mat-title-link:hover {
    color: var(--g24-primary);
}

.g24-mat-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #64748b;
    flex-wrap: wrap;
}

.g24-mat-subject-tag {
    background: #eff6ff;
    color: var(--g24-primary);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 10.5px;
}

.g24-btn-download-mat {
    background: #eff6ff;
    color: var(--g24-primary);
    border: 1px solid #bfdbfe;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.g24-btn-download-mat:hover {
    background: var(--g24-primary);
    color: #ffffff;
    border-color: var(--g24-primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* Blog / Update Item Card */
.g24-blog-row-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 13px 15px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.g24-blog-row-item:hover {
    background: #ffffff;
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.08);
}

.g24-blog-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.g24-blog-cat-badge {
    background: #f5f3ff;
    color: #7c3aed;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.g24-blog-date {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 600;
}

.g24-blog-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 5px 0;
}

.g24-blog-snippet {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g24-btn-readmore {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--g24-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    transition: all 0.15s ease;
}

.g24-btn-readmore:hover {
    background: #eff6ff;
    color: var(--g24-primary-hover);
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .g24-hero-grid { grid-template-columns: 1fr; }
    .g24-main-grid-layout { grid-template-columns: 1fr; }
    .g24-cat-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .g24-videos-grid-row, .g24-articles-grid-row { grid-template-columns: repeat(3, 1fr); }
    .g24-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .g24-subjects-scroll-row { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 768px) {
    .g24-cat-cards-grid { grid-template-columns: 1fr; }
    .g24-challenge-perf-row { grid-template-columns: 1fr; }
    .g24-tests-cards-grid { grid-template-columns: 1fr; }
    .g24-videos-grid-row, .g24-articles-grid-row { grid-template-columns: 1fr; }
    .g24-footer-grid { grid-template-columns: 1fr; }
    .g24-subjects-scroll-row { grid-template-columns: repeat(4, 1fr); }
    .g24-nav-links, .g24-nav-search { display: none; }
}
