:root {
    --primary: #4b197b;   /* adjust to exact logo purple */
    --accent:  #f39c12;   /* orange */
    --text:    #333333;
    --bg:      #ffffff;
    --muted:   #f5f5f5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }

.site-header {
    background: var(--primary);
    color: #fff;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}
.logo-wrap { display: flex; align-items: center; gap: 0.8rem; }
.logo-wrap img { height: 56px; }
.brand-text h1 { font-size: 1.4rem; }
.tagline { font-size: 0.9rem; color: var(--accent); }

.main-nav ul { list-style: none; display: flex; gap: 1rem; }
.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
.main-nav a:hover { color: var(--accent); }

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 320px;
}
.hero-overlay {
    background: rgba(20, 0, 40, 0.7);
    color: #fff;
    min-height: 320px;
    display: flex;
    align-items: center;
}
.hero h2 { font-size: 2.1rem; margin-bottom: 0.5rem; }
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 0.8rem;
}
.btn-primary:hover { background: #d98200; }

.features { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.5rem; padding: 2rem 0; }
.feature h3 { color: var(--primary); margin-bottom: 0.3rem; }

.lead-section { background: var(--muted); padding: 2rem 0; margin-top: 1rem; }
.lead-section h2 { color: var(--primary); margin-bottom: 0.4rem; }
.lead-form { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1rem 1.5rem; margin-top: 1rem; }
.form-row { display: flex; flex-direction: column; }
.form-row label { font-size: 0.9rem; margin-bottom: 0.2rem; }
.form-row input,
.form-row select {
    padding: 0.45rem 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.lead-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}
.lead-form button:hover { background: #341255; }

.page-hero { padding: 2rem 0; }
.with-image .two-col { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; align-items: center; }
.img-rounded { width: 100%; border-radius: 12px; }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.category-card { padding: 1rem; border-radius: 8px; border: 1px solid #eee; background: #fff; }
.category-card h3 { color: var(--primary); margin-bottom: 0.3rem; }

.site-footer { background: #130321; color: #eee; padding: 2rem 0 1rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 1.5rem; }
.site-footer a { color: var(--accent); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.social-links { list-style: none; }
.social-links li { margin-bottom: 0.2rem; }
.footer-bottom { text-align: center; margin-top: 1rem; font-size: 0.8rem; border-top: 1px solid #32254a; padding-top: 0.5rem; }

/* Admin */
.admin-body { background: #f3f3f9; }
.admin-login-box {
    max-width: 400px;
    margin: 5rem auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.admin-login-box h2 { margin-bottom: 1rem; color: var(--primary); }
.admin-login-box label { display:block; margin-top:0.6rem; }
.admin-login-box input { width:100%; padding:0.45rem; margin-top:0.2rem; }
.admin-login-box button {
    margin-top:1rem; width:100%;
    background: var(--primary); color:#fff; border:none; padding:0.6rem;
}
.error { color: #c0392b; margin-bottom: 0.5rem; }

.admin-header {
    background: var(--primary);
    color:#fff;
    padding:0.8rem 10%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.btn-secondary {
    background: var(--accent);
    padding:0.4rem 0.8rem;
    color:#fff;
    text-decoration:none;
    border-radius:4px;
}
.filter-form { display:grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap:1rem; margin:1.5rem 0; }
.data-table { width:100%; border-collapse:collapse; background:#fff; }
.data-table th, .data-table td { border:1px solid #ddd; padding:0.4rem; font-size:0.9rem; }
.data-table th { background:#f5f5f9; }
/* ============================================
   CareerDhara - Professional Career Consulting
   Color Scheme: Blue & Teal Professional Theme
   ============================================ */

/* Base Colors */
:root {
    /* Primary Colors from Logo */
    --primary-dark: #1a237e;
    --primary-main: #283593;
    --primary-light: #3949ab;
    --primary-extra-light: #e8eaf6;
    
    /* Secondary/Accent Colors */
    --accent
/* ============================================
   CareerDhara Professional Design
   Color Scheme: Professional Blues with Teal Accents
   ============================================ */

:root {
    /* Primary Colors - Inspired by Logo */
    --primary-dark: #1e3a8a;      /* Deep Professional Blue */
    --primary-main: #2563eb;      /* Bright Professional Blue */
    --primary-light: #3b82f6;     /* Light Blue */
    --primary-lightest: #dbeafe;  /* Very Light Blue */
    
    /* Secondary Colors - Accents */
    --secondary-dark: #0f766e;    /* Dark Teal */
    --secondary-main: #0d9488;    /* Professional Teal */
    --secondary-light: #14b8a6;   /* Light Teal */
    
    /* Neutral Colors */
    --neutral-dark: #1e293b;      /* Dark Gray for text */
    --neutral-main: #64748b;      /* Medium Gray */
    --neutral-light: #e2e8f0;     /* Light Gray for borders */
    --neutral-lightest: #f8fafc;  /* Background Gray */
    --white: #ffffff;
    --black: #000000;
    /* Blog Specific Styles */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.featured-blog {
    border-left: 5px solid #1a237e;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-content h2 {
    color: #1a237e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    color: #3949ab;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.blog-content ul, .blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

.blog-content blockquote {
    border-left: 4px solid #5c6bc0;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.social-share-buttons .btn {
    margin-bottom: 0.5rem;
}

.comment {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bg-purple {
    background-color: #6f42c1 !important;
}

/* Responsive blog images */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Category badges */
.badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}