@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol', 'Noto Color Emoji';
}

/* Custom styles for The Test Tool landing page - Navy Blue & White Theme */
body {
    font-family: 'Instrument Sans', Arial, sans-serif;
    background: #fdfdfc;
    color: #1b1b18;
    margin: 0;
    padding: 0;
}
.header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 32px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    position: relative;
}
.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000080; /* navy blue */
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s;
}
.nav-links a {
    text-decoration: none;
    color: #1b1b18;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #1e293b;
}
.signin-btn {
    background: #1e293b;
    color: #fff;
    padding: 8px 24px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    transition: background 0.2s;
}
.signin-btn:hover {
    background: #0f172a;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    z-index: 1100;
}
.nav-toggle-bar {
    width: 28px;
    height: 4px;
    background: #000080;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
}
.hero {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 48px 24px;
    box-sizing: border-box;
}
.hero-content {
    flex: 1;
    min-width: 300px;
}
.hero-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #1e293b;
}
.hero-content h2 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 24px;
}
.hero-desc {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 32px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.primary-btn {
    background: #1e293b;
    color: #fff;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(30,41,59,0.06);
    transition: background 0.2s;
}
.primary-btn:hover {
    background: #0f172a;
}
.secondary-btn {
    background: #fff;
    color: #1e293b;
    border: 2px solid #1e293b;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}
.secondary-btn:hover {
    background: #1e293b;
    color: #fff;
}
.hero-img {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-img img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(127,219,244,0.10);
    object-fit: contain;
}
.hero-bg-image {
    display: none;
}
@media (min-width: 1200px) {
    .hero-img img {
        width: 650px;
        max-width: none;
    }
}
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
    box-sizing: border-box;
}
.section-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 32px;
    color: #000080;
}
.features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.feature-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.06);
    padding: 32px 24px;
    text-align: center;
    flex: 1 1 250px;
    min-width: 220px;
    border-top: 4px solid #1e293b;
}
.feature-icon {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 12px;
}
.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000080;
}
.testimonials {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.06);
    padding: 32px 24px;
    flex: 1 1 350px;
    min-width: 220px;
    margin-bottom: 16px;
    border-left: 4px solid #1e293b;
}
.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #374151;
}
.testimonial-card span {
    font-weight: 600;
    color: #000080;
}
.pricing {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.pricing-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.06);
    padding: 32px 24px;
    text-align: center;
    flex: 1 1 250px;
    min-width: 220px;
    border: 2px solid transparent;
}
.pricing-card.pro {
    border-color: #1e293b;
}
.pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000080;
}
.pricing-price {
    font-size: 2rem;
    font-weight: bold;
    color: #1e293b;
}
@media (max-width: 900px) {
    .navbar, .hero, .section {
        padding-left: 12px;
        padding-right: 12px;
    }
    .navbar {
        flex-direction: row;
        align-items: center;
        padding: 16px 12px;
    }
    .nav-toggle {
        display: flex;
        z-index: 1200;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100vw;
        align-items: flex-start;
        margin-top: 0;
        background: #fff;
        position: fixed;
        top: 64px;
        left: 0;
        z-index: 1200;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border-radius: 0 0 12px 12px;
        padding: 0;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .nav-links a, .signin-btn {
        width: 100%;
        display: block;
        padding: 18px 24px;
        font-size: 1.15rem;
        text-align: left;
        color: #000080 !important;
        background: none;
    }
    .hero {
        flex-direction: column;
        gap: 24px;
        padding: 32px 12px;
    }
    .hero-content {
        padding: 24px 12px !important;
        min-width: 0;
        text-align: center;
    }
    .hero-title {
        font-size: 2.3rem !important;
        font-weight: 700;
        margin-bottom: 18px;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    .hero-desc {
        font-size: 0.7rem !important;
        font-weight: 400;
        margin-bottom: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        margin-bottom: 10px;
    }
    .primary-btn, .secondary-btn {
        width: 100%;
        padding: 14px 0 !important;
        font-size: 1.08rem !important;
        border-radius: 10px;
        margin-bottom: 0;
    }
    .hero-img {
        padding: 16px 0;
        width: 100%;
        justify-content: center;
        display: flex;
    }
    .hero-img img {
        max-width: 80vw;
        width: 100%;
        border-radius: 16px;
    }
    .section {
        padding: 32px 12px;
    }
    .features, .testimonials, .pricing {
        flex-direction: column;
        gap: 18px;
    }
    .feature-card, .testimonial-card, .pricing-card {
        min-width: 0;
        padding: 20px 12px;
    }
    .section-title, .feature-title, .pricing-title {
        font-size: 1.35rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    h2 span {
        font-size: 1.1rem !important;
        padding: 4px 16px !important;
    }
    .hero-content h1 {
        font-size: 2.3rem !important;
        font-weight: 700;
        margin-bottom: 18px;
    }
    .hero-content h2 {
        font-size: 1.5rem !important;
    }
    .hero-content p {
        font-size: 1rem !important;
        font-weight: 400;
        margin-bottom: 24px;
    }
}

/* Blog styles */
.blog-container { max-width: 1100px; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}
.blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30,41,59,0.06);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.blog-card-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(30,41,59,0.10); border-color: rgba(0,0,0,0.08); }

/* Media area with aspect ratio */
.blog-card-media { position: relative; aspect-ratio: 16 / 9; background: #f1f5f9; overflow: hidden; }
.blog-card-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #94a3b8; font-weight: 800; font-size: 3rem; letter-spacing: .02em; }
.badge-new { position: absolute; top: 10px; left: 10px; background: #0ea5e9; color: #fff; font-size: .75rem; padding: 6px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(14,165,233,.25); }

.blog-card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.blog-card-title { font-size: 1.15rem; margin: 0; color: #0f172a; }
.blog-card-excerpt { color: #475569; margin: 0; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #6b7280; font-size: .9rem; }
.blog-meta-left { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.author { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.author-avatar { width: 24px; height: 24px; border-radius: 999px; background: #e2e8f0; color: #0f172a; display: inline-grid; place-items: center; font-size: .8rem; font-weight: 700; }
.author-name { color: #334155; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { color: #94a3b8; }
.blog-meta-right { display: inline-flex; gap: 8px; align-items: center; }
.meta-chip { display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; color: #475569; padding: 6px 10px; border-radius: 999px; font-size: .8rem; }
.blog-card-cta { margin-top: 2px; color: #0f172a; font-weight: 600; opacity: .9; }
.blog-card:hover .blog-card-cta { opacity: 1; text-decoration: underline; }

/* Line clamp utilities */
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-clamp: 2; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-clamp: 3; }
.blog-pagination { margin-top: 24px; display: flex; justify-content: center; }

.blog-post-container { max-width: 900px; }
.blog-back { margin: 0 0 12px; }
.blog-post-title { font-size: 2rem; margin: 8px 0; color: #1e293b; }
.blog-post-meta { color: #6b7280; margin-bottom: 12px; }
.blog-post-figure { margin: 0 0 20px; }
.blog-post-figure img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.blog-post-body { line-height: 1.7; font-size: 1.05rem; color: #1b1b18; }
.blog-post-body img { max-width: 100%; height: auto; }
.blog-post-body h2, .blog-post-body h3 { color: #000080; }
.blog-post-body pre, .blog-post-body code { background:#f3f4f6; padding:.2em .4em; border-radius:6px; }

@media (max-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; gap: 18px; }
    .blog-card-media { aspect-ratio: 16 / 10; }
    .blog-card-title { font-size: 1.05rem; }
    .blog-card-excerpt { font-size: .95rem; }
    .blog-post-title { font-size: 1.6rem; }
}
@media (max-width: 600px) {
    .navbar, .hero, .section {
        padding-left: 8px;
        padding-right: 8px;
    }
    .hero-content {
        padding: 14px 6px !important;
    }
    .hero-title {
        font-size: 1.5rem !important;
    }
    h2 {
        font-size: 1.2rem !important;
    }
    .hero-desc {
        font-size: 0.8rem !important;
    }
    .hero-buttons {
        gap: 10px;
    }
    .primary-btn, .secondary-btn {
        padding: 10px 0 !important;
        font-size: 1rem !important;
    }
    .hero-img {
        padding: 8px 0;
    }
    .hero-img img {
        max-width: 95vw;
        width: 100%;
    }
    .section {
        padding: 14px 8px;
    }
    .features, .testimonials, .pricing {
        gap: 10px;
    }
    .feature-card, .testimonial-card, .pricing-card {
        padding: 10px 4px;
    }
    .section-title, .feature-title, .pricing-title {
        font-size: 1.1rem !important;
    }
    h2 {
        font-size: 1.2rem !important;
    }
    h2 span {
        font-size: 1rem !important;
        padding: 3px 10px !important;
    }
    .hero-content h1 {
        font-size: 1.5rem !important;
    }
    .hero-content h2 {
        font-size: 1.2rem !important;
    }
    .hero-content p {
        font-size: 0.8rem !important;
    }
}

/* === Benefits & Why Choose Us Section === */
.benefit-card { background:#fff;border-radius:24px;padding:32px 24px 36px 24px;text-align:center;box-shadow:0 2px 8px rgba(15,23,42,0.05),0 1px 3px rgba(15,23,42,0.06);transition:box-shadow .25s,transform .25s; }
.benefit-card:hover { box-shadow:0 8px 24px -6px rgba(15,23,42,0.12);transform:translateY(-4px); }
.benefit-icon { font-size:2.5rem;line-height:1;margin-bottom:12px;color:#0369a1; }
.benefit-value { font-size:2.2rem;font-weight:800;letter-spacing:.02em;color:#0f172a;margin-bottom:4px; }
.benefit-label { font-size:.85rem;font-weight:700;color:#334155;letter-spacing:.15em;margin-bottom:6px; }
.benefit-sub { margin:0;font-size:.9rem;color:#475569; }
.why-item { max-width:200px;text-align:center; }
.why-icon { font-size:2rem;margin-bottom:10px;color:#0369a1; }
.why-title { font-weight:700;color:#0f172a;margin-bottom:4px; }
.why-sub { font-size:.85rem;color:#475569; }
@media (max-width:820px){
    .benefit-card { padding:28px 20px 32px 20px; }
    .benefit-value { font-size:1.9rem; }
    .why-item { max-width:160px; }
}

