/* ============================================================
   Surbhi Consultancy — Premium Frontend Theme
   Glassmorphism • Gradients • Smooth animations
   ============================================================ */

:root {
    --primary: #0A66C2;
    --primary-dark: #084d94;
    --secondary: #1E293B;
    --accent: #F97316;
    --accent-dark: #ea580c;
    --light: #f5f8fc;
    --muted: #64748b;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0A66C2 0%, #084d94 55%, #1E293B 100%);
    --gradient-accent: linear-gradient(135deg, #F97316 0%, #fb923c 100%);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    --shadow-lg: 0 24px 60px rgba(10, 102, 194, 0.18);
    --radius: 16px;
    --radius-pill: 50rem;
    --transition: all .35s cubic-bezier(.22,.61,.36,1);
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    color: var(--secondary);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 82px;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-secondary-dark { background: var(--secondary) !important; }
.bg-gradient-primary { background: var(--gradient) !important; }
.bg-soft { background: var(--light); }
.fw-800 { font-weight: 800; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }

/* --------------------------------------------------- Section titles */
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow {
    display: inline-block; color: var(--accent); font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; }
.section-head h2 span { color: var(--primary); }
.section-head p { color: var(--muted); margin-top: 12px; }

/* --------------------------------------------------------- Buttons */
.btn { border-radius: var(--radius-pill); font-weight: 600; padding: .7rem 1.6rem; position: relative; overflow: hidden; }
.btn-primary { background: var(--primary); border-color: var(--primary); box-shadow: 0 8px 20px rgba(10,102,194,.28); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,102,194,.4); }
.btn-accent { background: var(--gradient-accent); border: none; color: #fff; box-shadow: 0 8px 20px rgba(249,115,22,.32); }
.btn-accent:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(249,115,22,.45); }
.btn-outline-light-2 { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-light-2:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.btn-lg { padding: .95rem 2.2rem; font-size: 1.02rem; }
/* Ripple */
.btn .ripple {
    position: absolute; border-radius: 50%; transform: scale(0);
    animation: ripple .6s linear; background: rgba(255,255,255,.5); pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------------------------------------------------------- Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    padding: 14px 0; transition: var(--transition);
    background: rgba(255,255,255,.75); backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(15,23,42,.06);
}
.navbar.scrolled { padding: 8px 0; box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }
.navbar-brand { font-weight: 800; font-size: 1.4rem; color: var(--secondary); display: flex; align-items: center; gap: 10px; }
.navbar-brand .logo-badge {
    width: 42px; height: 42px; border-radius: 12px; background: var(--gradient);
    display: grid; place-items: center; color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-sm);
}
.navbar-brand span b { color: var(--primary); }
.navbar-brand small { display: block; font-size: .62rem; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.brand-logo-nav {
    height: 56px; width: auto; max-width: min(280px, 58vw); object-fit: contain;
    background: transparent; padding: 0;
}
.brand-logo-footer { max-height: 92px; width: auto; max-width: 100%; object-fit: contain; background: transparent; padding: 0; }
.brand-logo-auth { max-height: 100px; width: auto; max-width: 100%; object-fit: contain; background: transparent; padding: 0; filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); }
.brand-logo-xl { max-height: 220px; width: auto; max-width: 100%; object-fit: contain; background: transparent; }
.brand-logo-cta { max-height: 72px; width: auto; object-fit: contain; background: transparent; padding: 0; filter: drop-shadow(0 6px 14px rgba(0,0,0,.2)); }
.brand-logo-panel {
    background: linear-gradient(160deg, rgba(10,102,194,.08) 0%, rgba(249,115,22,.08) 100%);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px; box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}
.brand-logo-panel .text-white-50 { color: #64748b !important; }
.brand-values-pills span {
    background: #fff; color: var(--secondary); border: 1px solid rgba(15,23,42,.08); border-radius: 999px;
    padding: .35rem .85rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}
.brand-values-pills span i { color: #65a30d; margin-right: .35rem; }
.legacy-card .legacy-icon { font-size: 2rem; margin-bottom: .75rem; line-height: 1; }
@media (max-width: 575px) {
    .brand-logo-nav { height: 46px; }
}
.navbar-nav .nav-link { font-weight: 600; color: var(--secondary); margin: 0 4px; padding: .5rem .85rem !important; border-radius: 10px; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); background: rgba(10,102,194,.08); }
.dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: 14px; padding: 10px; margin-top: 12px !important; }
.dropdown-item { border-radius: 9px; font-weight: 500; padding: .55rem .9rem; }
.dropdown-item:hover { background: rgba(10,102,194,.09); color: var(--primary); }

/* ----------------------------------------------------------- Hero */
.hero { position: relative; }
.hero-slide {
    min-height: 92vh; display: flex; align-items: center; position: relative;
    background-size: cover; background-position: center;
}
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(30,41,59,.92) 0%, rgba(10,102,194,.78) 55%, rgba(10,102,194,.35) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero-content .eyebrow { color: #fdba74; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; }
.hero-content h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; margin: 14px 0; }
.hero-content p { font-size: 1.12rem; opacity: .92; max-width: 560px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 1; }

/* ------------------------------------------------------- Glass card */
.glass {
    background: rgba(255,255,255,.12); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.glass-dark {
    background: rgba(30,41,59,.55); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
}

/* ---------------------------------------------------- Feature cards */
.card-hover { border: 1px solid rgba(15,23,42,.06); border-radius: var(--radius); transition: var(--transition); background: #fff; box-shadow: var(--shadow-sm); }
.card-hover:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }

.service-card { padding: 34px 26px; text-align: center; height: 100%; }
.service-card .icon-box {
    width: 78px; height: 78px; margin: 0 auto 20px; border-radius: 20px;
    display: grid; place-items: center; font-size: 2rem; color: #fff;
    background: var(--gradient); box-shadow: 0 10px 24px rgba(10,102,194,.32); transition: var(--transition);
}
.service-card:hover .icon-box { background: var(--gradient-accent); transform: rotate(-8deg) scale(1.08); }
.service-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .95rem; }

/* --------------------------------------------------------- Stats */
.stats-wrap { background: var(--gradient); border-radius: 24px; padding: 50px 30px; color: #fff; position: relative; overflow: hidden; }
.stats-wrap::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; background: rgba(255,255,255,.08); border-radius: 50%; }
.stat-item { text-align: center; }
.stat-item .num { font-size: 2.7rem; font-weight: 800; }
.stat-item .lbl { opacity: .85; font-weight: 500; }
.stat-item i { font-size: 1.8rem; color: #fdba74; margin-bottom: 8px; }

/* ------------------------------------------------ Why choose / list */
.why-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); transition: var(--transition); }
.why-item:hover { background: #fff; box-shadow: var(--shadow); }
.why-item .why-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; color: var(--primary); background: rgba(10,102,194,.1); }

/* -------------------------------------------------------- College card */
.college-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%; border: 1px solid rgba(15,23,42,.05); }
.college-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.college-card .banner { height: 170px; background-size: cover; background-position: center; position: relative; }
.college-card .banner .logo { position: absolute; left: 20px; bottom: -28px; width: 62px; height: 62px; border-radius: 14px; background: #fff; padding: 6px; box-shadow: var(--shadow); object-fit: contain; }
.college-card .rating { position: absolute; top: 14px; right: 14px; background: #fff; padding: 4px 10px; border-radius: 50rem; font-weight: 700; font-size: .82rem; color: var(--accent); box-shadow: var(--shadow-sm); }
.college-card .body { padding: 40px 22px 22px; }
.chip { display: inline-block; background: rgba(10,102,194,.09); color: var(--primary); padding: 3px 12px; border-radius: 50rem; font-size: .76rem; font-weight: 600; margin: 2px; }

/* ---------------------------------------------------------- Job card */
.job-card { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); padding: 24px; transition: var(--transition); border: 1px solid rgba(15,23,42,.05); height: 100%; }
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.job-card .company { width: 52px; height: 52px; border-radius: 12px; background: var(--light); display: grid; place-items: center; font-weight: 800; color: var(--primary); font-size: 1.3rem; }

/* ------------------------------------------------------- Testimonials */
.testi-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); height: 100%; position: relative; }
.testi-card .quote { position: absolute; top: 18px; right: 24px; font-size: 3rem; color: rgba(10,102,194,.1); }
.testi-card .stars { color: #fbbf24; }
.testi-card .avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--gradient); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ----------------------------------------------------------- Company logos */
.company-logo { height: 90px; display: grid; place-items: center; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); font-weight: 800; color: var(--secondary); transition: var(--transition); padding: 10px; }
.company-logo:hover { color: var(--primary); transform: scale(1.05); }

/* --------------------------------------------------------- Accordion */
.accordion-item { border: none; margin-bottom: 14px; border-radius: var(--radius) !important; overflow: hidden; box-shadow: var(--shadow-sm); }
.accordion-button { font-weight: 700; padding: 20px 24px; }
.accordion-button:not(.collapsed) { background: rgba(10,102,194,.07); color: var(--primary); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* ------------------------------------------------------- Page header */
.page-hero { background: var(--gradient); color: #fff; padding: 130px 0 70px; position: relative; overflow: hidden; text-align: center; }
.page-hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: #fff; clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.breadcrumb { justify-content: center; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.breadcrumb-item.active { color: #fdba74; }

/* -------------------------------------------------------------- Forms */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-control, .form-select { border-radius: 12px; padding: .7rem 1rem; border: 1.5px solid #e2e8f0; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(10,102,194,.15); }
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon .form-control { padding-left: 44px; }

/* --------------------------------------------------- Floating widgets */
.floating-widgets { position: fixed; right: 20px; bottom: 24px; z-index: 1040; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; box-shadow: var(--shadow); transition: var(--transition); border: none; cursor: pointer; }
.float-btn:hover { transform: scale(1.12); color: #fff; }
.float-wa { background: #25D366; }
.float-call { background: var(--primary); }
.float-chat { background: var(--accent); }
.float-enq { background: var(--secondary); }
#backToTop { background: var(--secondary); opacity: 0; visibility: hidden; }
#backToTop.show { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------- Footer */
.footer { background: var(--secondary); color: rgba(255,255,255,.72); padding: 70px 0 0; }
.footer h5 { color: #fff; font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 3px; }
.footer a { color: rgba(255,255,255,.72); display: inline-block; padding: 5px 0; }
.footer a:hover { color: var(--accent); padding-left: 6px; }
.footer .social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: inline-grid; place-items: center; margin-right: 8px; }
.footer .social a:hover { background: var(--accent); padding-left: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding: 20px 0; font-size: .88rem; }

/* ------------------------------------------------------------ Misc */
.divider-gradient { height: 4px; width: 70px; background: var(--gradient-accent); border-radius: 4px; }
.badge-soft-primary { background: rgba(10,102,194,.1); color: var(--primary); }
.badge-soft-accent { background: rgba(249,115,22,.12); color: var(--accent); }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.list-check li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); position: absolute; left: 0; top: 2px; }
.page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.page-link { color: var(--primary); border-radius: 8px !important; margin: 0 3px; border: none; }
.ck-editor__editable { min-height: 220px; }
.crud-thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }

/* Popup modal */
.promo-popup .modal-content { border-radius: 20px; border: none; overflow: hidden; }

/* Responsive */
@media (max-width: 991px) {
    body { padding-top: 70px; }
    .navbar { background: rgba(255,255,255,.97); }
    .navbar-nav { padding: 14px 0; }
    .hero-slide { min-height: 78vh; }
    .section { padding: 60px 0; }
}
