/* =========================================
   Swadeshi Communication - Main Stylesheet
   Brand Colors: Navy #0D2E5E | Green #3D9C42
   ========================================= */

:root {
    --primary:       #0D2E5E;
    --primary-light: #1B4080;
    --primary-dark:  #081E3F;
    --secondary:     #3D9C42;
    --secondary-light: #4DB852;
    --secondary-dark:  #2E7A32;
    --accent:        #1B8FD4;
    --text-dark:     #1A1A2E;
    --text-body:     #3D4555;
    --text-muted:    #6B7280;
    --bg-light:      #F5F7FA;
    --bg-white:      #FFFFFF;
    --border-light:  #E2E8F0;
    --shadow-sm:     0 2px 8px rgba(13,46,94,0.08);
    --shadow-md:     0 8px 30px rgba(13,46,94,0.12);
    --shadow-lg:     0 20px 60px rgba(13,46,94,0.16);
    --radius:        10px;
    --radius-lg:     16px;
    --transition:    0.3s ease;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; }

/* ---- Top Bar ---- */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 7px 0;
}
.topbar span { display: inline-flex; align-items: center; }
.topbar i { color: var(--secondary); }

/* ---- Navigation ---- */
#mainNav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 0;
    transition: box-shadow var(--transition);
}
#mainNav.scrolled { box-shadow: var(--shadow-md); }

.navbar-brand { padding: 12px 0; }
.logo-img { object-fit: contain; }

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 20px 14px !important;
    font-size: 15px;
    position: relative;
    transition: color var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px 3px 0 0;
}

.dropdown-menu {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    min-width: 240px;
    margin-top: 0;
}
.dropdown-item {
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-body);
    transition: all var(--transition);
}
.dropdown-item:hover { background: var(--bg-light); color: var(--primary); }

.dropdown-menu-animated {
    animation: fadeSlideDown 0.2s ease;
    transform-origin: top center;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Buttons ---- */
.btn-primary-brand {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all var(--transition);
}
.btn-primary-brand:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-secondary-brand {
    background: var(--secondary);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--secondary);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary-brand:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-brand {
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline-brand:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.btn-cta {
    background: #fff;
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all var(--transition);
}
.btn-cta:hover { background: transparent; color: #fff !important; }

.btn-cta-outline {
    background: transparent;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---- Section Spacing ---- */
.section-lg    { padding: 80px 0; }
.section-md    { padding: 60px 0; }
.section-sm    { padding: 40px 0; }

.section-tag {
    display: inline-block;
    background: rgba(61,156,66,0.1);
    color: var(--secondary-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid rgba(61,156,66,0.25);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(61,156,66,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(27,143,212,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-title span { color: var(--secondary); }

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }

.btn-hero-primary {
    background: var(--secondary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid var(--secondary);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(61,156,66,0.4);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-hero-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 32px;
}
.hero-stat-item { text-align: left; }
.hero-stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-stat-number span { color: var(--secondary); }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 500; }

.hero-visual {
    position: relative;
    padding: 20px;
}
.hero-image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image-card img { width: 100%; display: block; }

/* ---- Solution Cards ---- */
.solution-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    height: 100%;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform var(--transition);
}
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.solution-card:hover::before { transform: scaleX(1); }

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(13,46,94,0.08), rgba(61,156,66,0.08));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
    color: var(--primary);
    transition: all var(--transition);
}
.solution-card:hover .solution-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.solution-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.solution-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; line-height: 1.65; }

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}
.card-link:hover { gap: 10px; color: var(--secondary); }

/* ---- Product Cards ---- */
.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 28px;
    color: #fff;
}
.product-card-header.green { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)); }
.product-card-header.accent { background: linear-gradient(135deg, #0D5E8E, var(--accent)); }
.product-card-header.mixed { background: linear-gradient(135deg, var(--primary-dark), var(--primary-light)); }

.product-icon { font-size: 36px; margin-bottom: 12px; }
.product-card-header h3 { font-size: 20px; color: #fff; margin: 0; font-weight: 700; }

.product-card-body { padding: 24px 28px 28px; }
.product-card-body p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }

.feature-list { list-style: none; padding: 0; margin-bottom: 20px; }
.feature-list li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-body);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.feature-list li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }

/* ---- Stats Section ---- */
.stats-section { background: var(--primary); padding: 60px 0; }
.stat-item { text-align: center; padding: 10px; }
.stat-number {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-number span { color: var(--secondary); }
.stat-label { font-size: 15px; color: rgba(255,255,255,0.7); font-weight: 500; }
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.15);
    height: 60px;
    margin: auto;
}

/* ---- Industry Cards ---- */
.industry-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    height: 100%;
    transition: all var(--transition);
    cursor: default;
}
.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}
.industry-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
    transition: color var(--transition);
}
.industry-card:hover .industry-icon { color: var(--secondary); }
.industry-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.industry-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ---- Why Choose Section ---- */
.why-section { background: var(--bg-light); }
.why-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.why-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}
.why-content h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-content p { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ---- Testimonials ---- */
.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #F59E0B; font-size: 16px; margin-bottom: 16px; }
.testimonial-text { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; gap: 14px; align-items: center; }
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 15px; color: var(--text-dark); }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* ---- Blog Cards ---- */
.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; overflow: hidden; background: var(--bg-light); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-category {
    display: inline-block;
    background: rgba(13,46,94,0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.blog-card-body h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.blog-meta { font-size: 13px; color: var(--text-muted); }

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='600' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='400' cy='200' r='250' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='80'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.4;
}
.page-hero-tag {
    display: inline-block;
    background: rgba(61,156,66,0.2);
    border: 1px solid rgba(61,156,66,0.35);
    color: #7FD983;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}
.page-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.78); max-width: 580px; line-height: 1.7; margin: 0; }
.breadcrumb-wrap { margin-top: 20px; }
.breadcrumb { background: none; padding: 0; margin: 0; }
.breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 14px; }
.breadcrumb-item a:hover { color: #fff; }
.breadcrumb-item.active { color: rgba(255,255,255,0.9); font-size: 14px; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 60px 0;
}
.cta-title { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.cta-subtitle { font-size: 16px; color: rgba(255,255,255,0.78); margin: 0; }

/* ---- Footer ---- */
.main-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 0;
}
.footer-logo { object-fit: contain; filter: brightness(10); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }

.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    transition: all var(--transition);
}
.social-link:hover { background: var(--secondary); border-color: var(--secondary); color: #fff; }

.footer-heading { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--secondary); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
}
.footer-contact li i { color: var(--secondary); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,0.65); }
.footer-contact a:hover { color: var(--secondary); }

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 40px 0 20px; }

.footer-copy { font-size: 13px; color: rgba(255,255,255,0.45); margin: 0; padding-bottom: 20px; }

.footer-bottom-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; justify-content: flex-end; flex-wrap: wrap; padding-bottom: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ---- Forms ---- */
.form-section { background: var(--bg-light); }

.swadeshi-form .form-label { font-weight: 600; font-size: 14px; color: var(--text-dark); margin-bottom: 6px; }
.swadeshi-form .form-control,
.swadeshi-form .form-select {
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 15px;
    color: var(--text-dark);
    transition: all var(--transition);
    background: var(--bg-white);
}
.swadeshi-form .form-control:focus,
.swadeshi-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,46,94,0.1);
    outline: none;
}
.swadeshi-form textarea.form-control { resize: vertical; min-height: 130px; }

.contact-info-card {
    background: var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: #fff;
    height: 100%;
}
.contact-info-card h3 { color: #fff; font-size: 22px; margin-bottom: 24px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--secondary);
    flex-shrink: 0;
}
.contact-detail-text h5 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-detail-text p, .contact-detail-text a { font-size: 15px; color: #fff; margin: 0; }

/* ---- Admin Base ---- */
.admin-body { background: #F0F2F5; min-height: 100vh; }
.admin-sidebar {
    width: 260px;
    background: var(--primary-dark);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    overflow-y: auto;
}
.admin-content { margin-left: 260px; padding: 24px; }
.admin-topbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 14px 24px;
    margin-left: 260px;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.sidebar-brand {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sidebar-brand img { height: 40px; filter: brightness(10); object-fit: contain; }

.sidebar-menu { padding: 12px 0; }
.sidebar-label {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 24px 6px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}
.sidebar-link i { font-size: 18px; width: 20px; text-align: center; }
.sidebar-link:hover, .sidebar-link.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.sidebar-link.active { border-right: 3px solid var(--secondary); }

.admin-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.admin-card-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; }

.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}
.stat-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
.stat-card-icon.blue { background: rgba(13,46,94,0.1); color: var(--primary); }
.stat-card-icon.green { background: rgba(61,156,66,0.1); color: var(--secondary); }
.stat-card-icon.orange { background: rgba(245,158,11,0.1); color: #D97706; }
.stat-card-icon.red { background: rgba(239,68,68,0.1); color: #DC2626; }

.stat-card-num { font-size: 28px; font-weight: 800; color: var(--text-dark); line-height: 1; margin-bottom: 4px; }
.stat-card-label { font-size: 13px; color: var(--text-muted); }

/* ---- Utilities ---- */
.text-primary-brand { color: var(--primary) !important; }
.text-secondary-brand { color: var(--secondary) !important; }
.bg-brand-light { background: var(--bg-light); }
.bg-primary-brand { background: var(--primary) !important; }

.divider-green {
    height: 4px;
    width: 56px;
    background: var(--secondary);
    border-radius: 4px;
    margin-bottom: 20px;
}

.alert-success-brand {
    background: rgba(61,156,66,0.08);
    border: 1px solid rgba(61,156,66,0.3);
    color: var(--secondary-dark);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 15px;
}
.alert-error-brand {
    background: rgba(220,38,38,0.06);
    border: 1px solid rgba(220,38,38,0.25);
    color: #B91C1C;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 15px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .nav-link { padding: 12px 0 !important; }
    .nav-link.active::after { display: none; }
    #mainNav { padding: 10px 0; }
    .hero-section { padding: 70px 0 60px; }
    .hero-stats { gap: 24px; }
    .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-content, .admin-topbar { margin-left: 0; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 16px; }
    .section-lg { padding: 55px 0; }
    .stat-number { font-size: 32px; }
    .footer-bottom-links { justify-content: flex-start; }
}

/* ---- Preloader ---- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease;
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-logo { animation: preloaderPulse 1.2s ease-in-out infinite; }
@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.96); opacity: 0.7; }
}

/* ---- Scroll to Top ---- */
#scrollTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 500;
    box-shadow: var(--shadow-sm);
}
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { background: var(--secondary); transform: translateY(-2px); }
