/* ============================================
   Bhundal Infotech - Main Stylesheet
   ============================================ */

:root {
    --primary: #1a56db;
    --primary-dark: #1e3a5f;
    --secondary: #f59e0b;
    --dark: #0f172a;
    --text: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --radius: 12px;
}

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    color: var(--text);
    background: #fff;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    padding: 6px 0;
}
.top-bar a { color: rgba(255,255,255,0.8); text-decoration: none; }
.top-bar a:hover { color: #fff; }
.top-info li { margin-right: 1.5rem; }
.top-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.1);
    color: #fff; margin-left: 6px; transition: background 0.2s;
}
.top-social a:hover { background: var(--primary); }

/* ---- Navbar ---- */
#mainNav {
    background: var(--primary) !important;
    padding: 0.5rem 0;
}
#mainNav .navbar-brand { font-size: 1.25rem; }
#mainNav .nav-link { font-size: 0.9rem; font-weight: 500; padding: 0.5rem 0.85rem; }
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: var(--secondary) !important; }
.dropdown-menu { border: none; box-shadow: 0 4px 20px rgba(0,0,0,0.12); border-radius: var(--radius); }
.dropdown-item { font-size: 0.875rem; padding: 0.5rem 1rem; }

/* ---- Hero ---- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.5;
}
.min-vh-75 { min-height: 75vh; }
.hero-icon {
    font-size: 12rem;
    color: rgba(255,255,255,0.08);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ---- Stats ---- */
.stats-section {
    background: #fff;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
}
.stat-number { font-size: 2rem; font-weight: 800; }
.stat-label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Feature Cards ---- */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff; margin-bottom: 1rem;
}

/* ---- Course Cards ---- */
.course-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.course-card-header { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.course-card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.course-meta { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 1rem; flex-wrap: wrap; }
.badge.bg-outline-secondary {
    background: transparent !important; border: 1px solid #cbd5e1; color: var(--text-light);
}

/* ---- Partner Logos ---- */
.partner-logo {
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}
.partner-logo:hover { transform: scale(1.05); }
.partner-logo img { height: 40px; max-width: 140px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s; }
.partner-logo:hover img { filter: grayscale(0%); opacity: 1; }

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* ---- Testimonials ---- */
.testimonial-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.testimonial-author {
    display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}
.author-avatar {
    width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem;
}

/* ---- Breadcrumb ---- */
.breadcrumb-section {
    background: var(--bg-light);
    border-bottom: 1px solid #e2e8f0;
}
.breadcrumb-item a { color: var(--primary); text-decoration: none; }

/* ---- Blog Cards ---- */
.blog-card { border-radius: var(--radius); overflow: hidden; transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card-placeholder {
    height: 180px; background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: #94a3b8;
}
.blog-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* ---- About ---- */
.about-placeholder {
    width: 100%; height: 400px; background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
    border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 4rem; color: #94a3b8;
}
.step-circle {
    width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800;
    margin: 0 auto;
}

/* ---- Contact ---- */
.contact-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem;
}

/* ---- Accordion ---- */
.accordion-item { border: none; margin-bottom: 0.5rem; border-radius: var(--radius) !important; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.accordion-button { font-weight: 600; font-size: 0.95rem; }
.accordion-button:not(.collapsed) { background: var(--bg-light); color: var(--primary); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* ---- Footer ---- */
.footer { font-size: 0.875rem; }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--secondary); }
.footer-links li { margin-bottom: 0.4rem; }
.footer-contact li { margin-bottom: 0.75rem; color: rgba(255,255,255,0.7); }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
    color: #fff; margin-right: 8px; transition: background 0.2s;
}
.footer-social a:hover { background: var(--secondary); color: var(--dark); }
.text-light-50 { color: rgba(255,255,255,0.5) !important; }

/* ---- WhatsApp & Call Float ---- */
.whatsapp-float {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4); transition: transform 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

.call-float {
    position: fixed; bottom: 24px; left: 24px; z-index: 999;
    width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(26,86,219,0.4); text-decoration: none;
}

/* ---- Course Content ---- */
.course-content h3, .course-content h4 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.course-content ul { padding-left: 1.25rem; }
.course-content li { margin-bottom: 0.5rem; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section { padding: 2rem 0; }
    .min-vh-75 { min-height: 60vh; }
    .display-4 { font-size: 1.75rem; }
    .stat-number { font-size: 1.5rem; }
    .stats-section { margin-top: -1rem; }
}

/* ---- Placement Avatars ---- */
.placement-avatar {
    width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #6366f1); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem;
    overflow: hidden;
}
.placement-avatar img { width: 100%; height: 100%; object-fit: cover; }
.placement-avatar-sm {
    width: 32px; height: 32px; min-width: 32px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.75rem;
}

/* ---- Utilities ---- */
.rounded-pill { border-radius: 50rem !important; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: #1548b8; border-color: #1548b8; }
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-warning { background: var(--secondary); border-color: var(--secondary); color: var(--dark); }
.btn-warning:hover { background: #d97706; border-color: #d97706; }
