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

/* Kalpurush Font will be loaded in header.php */

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

:root {
    --primary: #059669;
    --primary-dark: #064e3b;
    --primary-light: #ecfdf5;
    --secondary: #3b82f6;
    --secondary-light: #eff6ff;
    --accent: #f59e0b;
    --text-main: #1e293b;
    --text-muted: #475569; /* Darkened for better visibility */
    --text-light: #94a3b8;
    --green: #1B7F4E;
    --green-light: #f0fdf4;
    --bg-body: #f8fafc;
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Kalpurush', 'Inter', Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 20px; /* Increased for Kalpurush readability */
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

button, input, select, textarea, .btn-primary, .btn-outline, .search-btn, .nav-btn {
    font-family: 'Kalpurush', sans-serif !important;
}

.site {
    width: 100%;
    margin: 0 auto;
    background: var(--bg-card);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}


/* LAYOUT STRUCTURE */
.main-wrapper {
    display: flex;
    gap: 30px;
    padding: 30px 24px;
}

.content-area {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 380px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .main-wrapper {
        flex-direction: column;
        padding: 20px 16px;
    }
    .sidebar {
        width: 100%;
    }
}

/* TOP BAR */
.topbar {
    background: var(--primary-dark);
    color: #a7f3d0;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar span {
    display: flex;
    align-items: center;
    gap: 6px;
}


/* HEADER */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 8px 16px rgba(5, 150, 105, 0.2);
}

.logo-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 15px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.blog-item-v2 {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.blog-item-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-light);
}

@media (max-width: 600px) {
    .blog-item-v2 { flex-direction: column; }
    .blog-thumb-v2 { width: 100% !important; height: 180px !important; }
}

.nav-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .header { padding: 15px 20px; }
    .menu-icon { display: block; }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }
    .nav.open { display: flex; }
    .logo-name { font-size: 20px; }
}


/* AD BANNER */
.ad-banner {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1.5px dashed #86EFAC;
    border-radius: var(--radius-sm);
    margin: 12px 16px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ad-label {
    font-size: 9px;
    color: #16A34A;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: #D1FAE5;
    padding: 2px 6px;
    border-radius: 4px;
}

.ad-text {
    font-size: 11px;
    color: #15803D;
    text-align: center;
    flex: 1;
    margin: 0 10px;
}

/* HERO V2 (RE-DESIGN) */
.hero-v2 {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.hero-v2-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title-v2 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-title-v2 span {
    color: var(--accent);
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub-v2 {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    line-height: 1.6;
}

.hero-search-v2 {
    max-width: 700px;
    margin: 0 auto 30px;
    background: #fff;
    padding: 10px;
    border-radius: 100px;
    display: flex;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.hero-search-v2 form {
    display: flex;
    width: 100%;
}

.hero-search-v2 input {
    flex: 1;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 100px;
    outline: none;
    font-family: inherit;
    color: var(--text-main);
}

.hero-search-v2 button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search-v2 button:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
}

.hero-tags a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

/* GLOBAL BUTTONS */
.btn-primary, .search-btn {
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.2);
}

.btn-primary:hover, .search-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--primary);
    font-size: 17px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}


/* TOOLS GRID */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    background: var(--primary-light);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    background: var(--primary);
    color: #fff;
}

.tool-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.tool-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 3px 10px;
    border-radius: 20px;
}


/* CATEGORY CHIPS */
.chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.chip {
    font-size: 10px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    text-decoration: none;
}

.chip.active {
    background: #0F3D2A;
    color: #A7F3C9;
    border-color: #0F3D2A;
}

.chip:hover:not(.active) {
    background: var(--green-light);
    border-color: var(--green);
    color: var(--green);
}

/* BLOG CARDS */
.blog-featured {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.blog-img {
    width: 100%;
    height: 250px; /* Taller image for wider content area */
    background: linear-gradient(135deg, #0F3D2A, #2EA06A);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.blog-img-cat {
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.blog-body {
    padding: 14px;
}

.blog-title {
    font-size: 18px; /* Increased from 14px */
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* BLOG DETAILS PREMIUM STYLES */
.blog-single-v2 {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.blog-hero {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.blog-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.blog-content-wrapper {
    padding: 40px;
}

@media (max-width: 768px) {
    .blog-content-wrapper { padding: 20px; }
    .blog-hero { height: 250px !important; }
}

.blog-content h2 { font-size: 28px; margin-top: 40px; border-left: 5px solid var(--primary); padding-left: 15px; }
.blog-content h3 { font-size: 22px; margin-top: 30px; color: var(--primary-dark); }
.blog-content p { color: #475569; margin-bottom: 25px; }

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.share-box {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.share-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }
.share-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* Related Posts Redesign */
.rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.rel-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.rel-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.rel-card-img { height: 150px; background-size: cover; background-position: center; }
.rel-card-body { padding: 15px; }
.rel-card-title { font-weight: 800; font-size: 16px; color: var(--text-main); line-height: 1.4; }


.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-content h2, .blog-content h3 {
    margin: 35px 0 20px;
    color: var(--text-main);
}

.blog-content p {
    margin-bottom: 20px;
    font-size: 17px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-excerpt {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.read-btn {
    font-size: 11px;
    font-weight: 600;
    color: var(--green);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    display: flex;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.blog-item:hover {
    border-color: var(--green);
    background: var(--green-light);
}

.blog-thumb {
    width: 64px;
    height: 56px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.blog-item-info {
    flex: 1;
}

.blog-item-cat {
    font-size: 9px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 3px;
}

.blog-item-title {
    font-size: 15px; /* Increased from 12px */
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 6px;
}

.blog-item-meta {
    font-size: 10px;
    color: var(--text-muted);
}

/* IN-CONTENT AD */
.ad-inline {
    background: var(--white);
    border: 1.5px dashed #CBD5E1;
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    margin: 12px 0;
}

.ad-inline-label {
    font-size: 9px;
    color: var(--text-light);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ad-inline-box {
    background: var(--bg);
    border-radius: 6px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-light);
}

/* SIDEBAR-STYLE WIDGETS */
.widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
}

.widget-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.trending-list {
    list-style: none;
}

.trending-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--bg);
    font-size: 11px;
    cursor: pointer;
}

.trending-list li:last-child {
    border: none;
}

.trend-num {
    font-size: 20px; /* Increased */
    font-weight: 800;
    color: var(--text-light);
    min-width: 25px;
    line-height: 1;
}

.trend-text {
    font-size: 16px; /* Increased from 11px */
    color: var(--text-muted);
    line-height: 1.5;
    transition: var(--transition);
}

.trend-text:hover {
    color: var(--primary);
}


/* NOTICE CARD */
.notice-card {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border: 1px solid #FCD34D;
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 10px;
}

.notice-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 6px;
}

.notice-items {
    list-style: none;
}

.notice-items li {
    font-size: 10px;
    color: #78350F;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid rgba(234,179,8,.2);
}

.notice-items li:last-child {
    border: none;
}

/* QUICK TOOL */
.quick-tool {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border: 1px solid #BFDBFE;
    border-radius: var(--radius);
    padding: 14px;
}

.quick-tool-title {
    font-size: 12px;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 10px;
}

.qt-input-row {
    display: flex; gap: 6px; margin-bottom: 8px;
}

.qt-select {
    flex: 1; font-size: 11px; padding: 6px 8px; border: 1px solid #BFDBFE; border-radius: 6px; background: #fff; color: var(--text); font-family: inherit; outline: none;
}

.qt-btn {
    background: #1D4ED8; color: #fff; font-size: 11px; font-weight: 600; padding: 6px 14px; border-radius: 6px; border: none; cursor: pointer; font-family: inherit; white-space: nowrap;
}

.qt-result {
    background: #fff; border-radius: 6px; padding: 8px; font-size: 12px; font-weight: 700; color: #1E40AF; text-align: center; border: 1px solid #BFDBFE;
}

/* GPA MINI */
.gpa-row {
    display: flex; gap: 6px; align-items: center; margin-bottom: 6px;
}

.gpa-label {
    font-size: 10px; color: #1E40AF; min-width: 40px;
}

.gpa-dots {
    display: flex; gap: 4px;
}

.gpa-dot {
    width: 20px; height: 20px; border-radius: 5px; background: #DBEAFE; border: 1px solid #BFDBFE; cursor: pointer; font-size: 9px; font-weight: 700; color: #1E40AF; display: flex; align-items: center; justify-content: center;
}

.gpa-dot.sel {
    background: #1D4ED8; color: #fff; border-color: #1D4ED8;
}

/* FOOTER */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-name {
    font-size: 24px;
    font-weight: 800;
}

.footer-about {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--accent);
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 17px;
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--accent);
    padding-left: 5px;
}

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

.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}

/* BLOG CARDS */
.blog-featured {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.blog-featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    width: 100%;
    height: 400px;
    background: #f1f5f9;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.blog-body {
    padding: 30px;
}

.blog-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.blog-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.blog-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}


/* SEARCH BAR */
.search-bar {
    background: var(--white);
    border: 2px solid var(--green-light);
    border-radius: 12px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px auto 5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.search-bar input {
    flex: 1;
    border: none;
    background: none;
    font-size: 15px;
    color: var(--text);
    outline: none;
    font-family: inherit;
}

.search-btn {
    background: var(--green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #0F3D2A;
}

/* ANNOUNCE STRIP */
.announce {
    background: #FEF9EE;
    border-bottom: 1px solid #FDE68A;
    padding: 7px 16px;
    font-size: 10px;
    color: #92400E;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

.announce-badge {
    background: #F59E0B;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

/* NAV TABS */
.nav-tabs {
    display: flex;
    overflow-x: auto;
    gap: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    scrollbar-width: none;
    padding: 5px 0;
}

.nav-tab {
    font-size: 15px; /* Reduced from 18px */
    font-weight: 600;
    padding: 8px 15px;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all .2s;
    text-decoration: none;
}

.nav-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* ANNOUNCE STRIP */
.announce {
    background: #fffbeb;
    border-bottom: 1px solid #fef3c7;
    padding: 8px 0;
    font-size: 14px; /* Reduced from 17px */
    color: #92400e;
    font-weight: 500;
}

.announce-badge {
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    margin-right: 10px;
    text-transform: uppercase;
}

/* SIDEBAR WIDGETS */
.widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 18px; /* Increased */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.notice-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 15px;
}

.notice-head {
    font-size: 18px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 12px;
}

.notice-items li {
    font-size: 16px; /* Increased */
    color: #b45309;
    padding: 8px 0;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2);
}

.quick-tool {
    background: var(--secondary-light);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 20px;
}

.quick-tool-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 15px;
}

.qt-select {
    width: 100%;
    font-size: 16px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
    margin-bottom: 10px;
}

.qt-btn {
    width: 100%;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
}

.gpa-label { font-size: 15px; }
.gpa-dot { width: 30px; height: 30px; font-size: 14px; }

/* BADGE */
.badge {
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.badge-new {
    background: #DCFCE7; color: #166534;
}

.badge-hot {
    background: #FEE2E2; color: #991B1B;
}

.badge-pop {
    background: #EFF6FF; color: #1E40AF;
}

/* AD SIDEBAR STYLE */
.ad-vertical {
    background: var(--white);
    border: 1.5px dashed #CBD5E1;
    border-radius: var(--radius-sm);
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}

.ad-v-label {
    font-size: 8px;
    color: var(--text-light);
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.ad-v-box {
    background: var(--bg);
    border-radius: 6px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

/* ============================================================
   COMPLETE MOBILE RESPONSIVENESS (Media Queries)
   ============================================================ */

@media (max-width: 1200px) {
    .container { max-width: 100%; padding: 0 20px; }
}

@media (max-width: 992px) {
    .main-wrapper { flex-direction: column; gap: 40px; }
    .sidebar { width: 100%; }
    .hero-title-v2 { font-size: 42px; }
    .tools-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* HEADER & NAV */
    .header { padding: 15px 20px; position: relative; }
    .menu-toggle { display: block !important; font-size: 28px; color: var(--primary-dark); cursor: pointer; }
    .nav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: #fff; 
        flex-direction: column; 
        padding: 20px; 
        border-bottom: 2px solid var(--primary); 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .nav.open { display: flex; }
    .nav-btn { width: 100%; text-align: center; padding: 15px; border-bottom: 1px solid #f1f5f9; }
    
    /* HERO */
    .hero-v2 { padding: 50px 20px; margin: 0 -20px 30px; border-radius: 0; }
    .hero-title-v2 { font-size: 32px; }
    .hero-sub-v2 { font-size: 16px; margin-bottom: 30px; }
    .hero-search-v2 { background: transparent; box-shadow: none; padding: 0; }
    .hero-search-v2 form { flex-direction: column; gap: 12px; width: 100%; }
    .hero-search-v2 input { background: #fff; border-radius: 15px; padding: 18px 25px; width: 100%; border: 1px solid rgba(255,255,255,0.2); }
    .hero-search-v2 button { width: 100%; border-radius: 15px; padding: 18px; font-size: 18px; }
    .hero-tags { font-size: 14px; flex-wrap: wrap; }

    /* BLOG */
    .blog-img { height: 200px !important; padding: 15px; }
    .blog-title { font-size: 20px; line-height: 1.3; }
    .blog-item { flex-direction: column; gap: 15px; }
    .blog-item-thumb { width: 100%; height: 160px; border-radius: 12px; }
    
    /* BACK TO TOP */
    .back-to-top { width: 40px; height: 40px; right: 15px; bottom: 15px; font-size: 16px; border-radius: 12px; }
    
    /* SINGLE POST */
    .blog-content-wrapper { padding: 25px 20px; }
    .blog-content h2 { font-size: 24px; }
    .blog-content p { font-size: 16px; }
    
    /* GLOBAL TITLES */
    h1, .hero-title-v2 { font-size: 28px !important; line-height: 1.2; }
    h2 { font-size: 22px !important; }
    h3 { font-size: 18px !important; }

    /* TOOLS */
    .tools-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .tool-card { padding: 20px 10px; }

    /* FOOTER */
    .footer-v2 { padding: 60px 20px 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom-v2 { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
    .logo-name { font-size: 18px; }
    .logo-icon { width: 40px; height: 40px; font-size: 20px; }
    .hero-title-v2 { font-size: 28px; }
    .tools-grid { grid-template-columns: 1fr; }
    .nav-tabs { padding: 5px 0; }
    .nav-tab { font-size: 15px; padding: 10px 15px; }
}

/* Fix for menu toggle visibility */
.menu-toggle { display: none; }
