:root {
    --blue: #064db7;
    --navy: #061b49;
    --green: #11a56b;
    --red: #ef3340;
    --gold: #ffc43d;
    --muted: #64748b;
    --bg: #f6f9ff;
    --card: #fff;
    --border: #e5ecf6;
    --shadow: 0 14px 35px rgba(6, 27, 73, 0.12);
    --radius: 18px;
    --font: "Noto Sans Bengali", Arial, sans-serif;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--navy);
    font-family: var(--font);
    line-height: 1.55;
}
.container {
    width: min(1400px, 92%);
    margin: auto;
}
a {
    text-decoration: none;
    color: inherit;
}
button,
input,
select {
    font: inherit;
}
.topbar {
    background: var(--blue);
    color: #fff;
    font-size: 14px;
}
.topbar-inner {
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar-left {
    display: flex;
    align-items: center;
    gap: 24px;
}
.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 24px;
}
.topbar-right a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.social-icons a:hover {
    transform: scale(1.1);
}
.navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.nav-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    width: 52px;
    height: 52px;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-title-top {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.1;
}
.brand-title-bottom {
    font-size: 18px;
    font-weight: 800;
    color: #109648;
    line-height: 1.1;
}
.brand-subtitle {
    font-size: 10px;
    font-weight: 600;
    color: #666;
    margin-top: 2px;
}
.menu {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-weight: 700;
    font-size: 14px;
}
.menu-btn { display: none; }
.menu-close { display: none; }
.menu a {
    position: relative;
    color: #444;
    text-decoration: none;
    padding-bottom: 6px;
    transition: color 0.2s;
}
.menu a:hover, .menu a.active {
    color: var(--blue);
}
.menu a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 9px;
    background: var(--blue);
    transition: 0.25s;
}
.menu a:hover:after, .menu a.active:after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-actions .search-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    cursor: pointer;
    transition: 0.2s;
}
.nav-actions .search-btn:hover {
    background: #f4f6f8;
    border-color: #ddd;
}
.primary,
.outline {
    border: 0;
    border-radius: 10px;
    padding: 13px 22px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}
.primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(6, 77, 183, 0.25);
}
.primary:hover {
    background: #00378e;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(6, 77, 183, 0.35);
}
.primary.small {
    padding: 10px 15px;
}
.outline {
    background: #fff;
    color: var(--blue);
    border: 1px solid var(--border);
}
.outline:hover {
    background: #f0f4fc;
    border-color: var(--blue);
    transform: translateY(-2px);
}
.menu-btn {
    display: none;
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.3s ease;
}
.menu-btn:hover {
    background: #00378e;
}
.hero {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, #08245e, #0759c9);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(5, 27, 73, 0.72), rgba(5, 27, 73, 0.5)),
        url("../img/header_background.jpeg") center/cover no-repeat;
    filter: saturate(1.05);
}
.hero:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 90px;
    background: #fff;
    border-radius: 50% 50% 0 0/70% 70% 0 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 95px 0 60px;
}
.hero h1 {
    font-size: clamp(30px, 5vw, 55px);
    line-height: 1.25;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.25);
}
.hero h1 span {
    color: #ffd44d;
}
.hero p {
    font-size: 20px;
    margin: 12px 0 28px;
}
.search-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 30px auto 0;
    max-width: 950px;
    color: var(--navy);
}
.search-row-top {
    display: flex;
    background: #fff;
    border-radius: 12px;
    padding: 8px;
    gap: 12px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.search-row-top .search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 15px;
    position: relative;
}
.search-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
.search-row-top input:focus:not(:placeholder-shown) ~ .search-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.search-dropdown ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}
.search-dropdown ul li {
    padding: 12px 20px;
    cursor: pointer;
    color: var(--navy);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}
.search-dropdown ul li:hover {
    background: #f4f7fc;
    color: var(--blue);
}
.search-row-top .search-icon {
    color: var(--muted);
    margin-right: 10px;
}
.search-row-top input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    height: 54px;
    padding: 0;
    font-size: 15px;
}
.search-row-top .search-btn {
    width: auto;
    border-radius: 8px;
    padding: 0 32px;
    height: 54px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.search-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 14px;
}
.search-row-bottom select {
    width: 100%;
    height: 52px;
    border: 1px solid #e0e4ec;
    border-radius: 8px;
    padding: 0 40px 0 15px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    color: var(--navy);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}
.search-row-bottom .advance-btn {
    background: #0b1c3f;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 24px;
    height: 52px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    white-space: nowrap;
    transition: all 0.3s ease;
}
.search-row-bottom .advance-btn:hover {
    background: #142a59;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(11, 28, 63, 0.3);
}
.stats {
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: #fff;
    padding: 18px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border-right: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: 0.2s ease;
}
.stat-item:hover {
    transform: translateY(-2px);
}
.stat-item:last-child {
    border-right: none;
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.stat-purple { background: #f4ecfb; color: #7338a0; }
.stat-green { background: #e3f6ed; color: #169d53; }
.stat-blue { background: #e6f0fd; color: #1e5dd6; }
.stat-red { background: #fdeae8; color: #e14b3d; }
.stat-orange { background: #fef0e4; color: #e57d25; }
.stat-indigo { background: #ecf0fd; color: #4361ee; }
.stat-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.stat-content span {
    font-size: 11px;
    color: #888;
    line-height: 1.2;
    font-weight: 500;
}
.stat-content b {
    font-size: 18px;
    color: var(--navy);
    line-height: 1.2;
    margin-top: 3px;
    font-weight: 800;
}
.section {
    padding: 42px 0;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.section-head h2 {
    margin: 0;
    font-size: 26px;
}
.section-head a {
    color: var(--blue);
    font-weight: 800;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-grid li a {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(6, 27, 73, 0.05);
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.category-grid li a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.category-grid li span {
    font-size: 15px;
    font-weight: 800;
}
.inst-slider {
    padding: 10px 45px 30px;
    margin: 0;
    width: 100%;
    position: relative;
}
.swiper-button-next, .swiper-button-prev {
    background-color: #fff;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    top: 50%;
    margin-top: -18px;
    --swiper-navigation-size: 16px;
    --swiper-navigation-color: var(--blue);
}
.swiper-button-prev {
    left: 0 !important;
}
.swiper-button-next {
    right: 0 !important;
}
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}
.swiper-button-next svg {
width: 10px;
}
    
.swiper-button-prev svg{
   width: 10px;
}
.inst-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(6, 27, 73, 0.08);
}
.inst-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.inst-card h3 {
    font-size: 18px;
    margin: 14px 14px 5px;
    color: var(--blue);
}
.inst-card p {
    margin: 0 14px 13px;
    color: var(--muted);
}
.inst-card .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 14px 13px;
    color: var(--muted);
    font-size: 14px;
}
.inst-card .card-bottom span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.inst-card .card-bottom b {
    color: #f59e0b;
    font-weight: 800;
}
.tag {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}
.green {
    background: var(--green);
}
.red {
    background: var(--red);
}
.blue {
    background: var(--blue);
}
.purple {
    background: #7c3aed;
}
.banner-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.banner-list a {
    display: block;
}
.banner-list img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: block;
}

.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.list-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}
.list-box .section-head {
    margin-bottom: 12px;
}
.list-box .section-head h2 {
    font-size: 18px;
    color: var(--navy);
}
.list-box .section-head a {
    font-size: 12px;
    font-weight: 600;
}
.mini-list,
.doctor-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, transform 0.2s;
}
.mini-list:hover,
.doctor-row:hover {
    background: #f8fafc;
    border-radius: 8px;
    transform: translateX(4px);
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}
.mini-list:last-child:hover,
.doctor-row:last-child:hover {
    padding-bottom: 14px; /* Maintain padding on hover */
}
.mini-list:last-child,
.doctor-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.mini-list img, .doctor-row img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.doctor-row img {
    border-radius: 50%;
}
.mini-list-info b, .doctor-row-info b {
    display: block;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}
.mini-list-info p.sub, .doctor-row-info p.sub {
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px;
    line-height: 1.4;
}
.mini-list-info p.phone, .doctor-row-info p.phone {
    font-size: 12px;
    color: var(--navy);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ad-banner-img {
    margin: 40px auto;
    display: block;
}
.ad-banner-img img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: block;
    transition: transform 0.3s;
}
.ad-banner-img:hover img {
    transform: translateY(-4px);
}
.full-width-hero {
    width: 100%;
    margin-bottom: 30px;
}
.profile-hero {
    position: relative;
    height: 400px;
    width: 100%;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
}
.profile-breadcrumb {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    z-index: 10;
}
.profile-card-new {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 850px;
    z-index: 10;
}
.profile-tabs-wrapper {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.profile-tabs-new {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 20px 0 20px;
}
.profile-tabs-new::-webkit-scrollbar {
    display: none;
}
.profile-tabs-new a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: 0.2s;
}
.profile-tabs-new a:hover {
    color: var(--blue);
}
.profile-tabs-new a.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}
.pc-top {
    display: flex;
    gap: 20px;
}
.pc-logo-box {
    width: 110px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin-top: -50px;
    height: 140px;
}
.pc-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #fff;

}
.pc-logo-box .eiin {
    background: #0033cc;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 6px 0;
    font-size: 13px;
    font-weight: bold;
}
.pc-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 5px;
}
.pc-info h2 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pc-info .verified {
    background: #10b981;
    color: #fff;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pc-info .est {
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
}
.pc-info .rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.pc-info .rating .score { font-weight: bold; color: #f59e0b; }
.pc-info .rating .stars { color: #f59e0b; letter-spacing: 2px; font-size: 16px; }
.pc-info .rating .reviews { color: #6b7280; font-size: 13px; }
.pc-info .location {
    color: #4b5563;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.pc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}
.pc-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.2s;
    text-decoration: none;
}
.pc-actions .btn-green {
    background: #059669;
    color: #fff;
}
.pc-actions .btn-green:hover { background: #047857; }
.pc-actions .btn-whatsapp {
    background: #25D366;
    color: #fff;
}
.pc-actions .btn-whatsapp:hover { background: #1da851; }
.pc-actions .btn-outline {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #374151;
}
.pc-actions .btn-outline:hover {
    background: #f3f4f6;
}
.profile-card span {
    color: var(--blue);
}
.actions {
    grid-column: 1/-1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.actions button {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 9px;
    padding: 10px 16px;
    font-weight: 800;
    color: var(--blue);
}
.tabs {
    display: flex;
    gap: 25px;
    overflow: auto;
    padding: 18px 25px;
    border-top: 1px solid var(--border);
    font-weight: 800;
}
.tabs span:first-child {
    color: var(--blue);
}
/* Sponsor Section */
.sponsor-section {
    padding-top: 10px;
    padding-bottom: 50px;
}
.sponsor-slider {
    position: relative;
    padding: 10px 40px;
}
.sponsor-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sponsor-list .swiper-slide {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sponsor-list .swiper-slide:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.css-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 800;
    font-family: Arial, sans-serif;
    color: var(--navy);
}
.css-logo i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}
/* BRAC BANK */
.logo-brac i {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #00569c 50%, #f7941e 50%);
    border-radius: 2px;
}
.logo-brac span { color: #00569c; font-size: 15px; }

/* Grameenphone */
.logo-gp i {
    width: 20px;
    height: 20px;
    background: #008cc9;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}
.logo-gp span { color: #333; font-size: 14px; margin-left: 2px; font-family: 'Noto Sans Bengali', sans-serif; }

/* Walton */
.logo-walton { flex-direction: column; gap: 2px; }
.logo-walton i { color: #e31837; font-size: 18px; font-weight: 900; line-height: 1; }
.logo-walton span { color: #004b87; font-size: 13px; letter-spacing: 1px; }

/* Robi */
.logo-robi { flex-direction: column; gap: 4px; }
.logo-robi i {
    width: 18px;
    height: 18px;
    background: conic-gradient(from 90deg, #d32f2f, #ff9800, #f44336);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.logo-robi span { color: #ed1c24; font-size: 16px; font-family: 'Noto Sans Bengali', sans-serif; }

/* Singer */
.logo-singer { color: #ed1c24; font-size: 18px; letter-spacing: 2px; }

/* Akij Group */
.logo-akij { flex-direction: column; gap: 4px; }
.logo-akij i {
    width: 24px;
    height: 16px;
    border: 3px solid #1a237e;
    border-radius: 0 0 12px 12px;
    border-top: none;
    position: relative;
}
.logo-akij i::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    background: #1a237e;
    left: 7px;
    top: -10px;
}
.logo-akij span { color: #1a237e; font-size: 12px; font-weight: 900; }

/* Banglalink */
.logo-bl i {
    width: 18px;
    height: 18px;
    background: repeating-linear-gradient(45deg, #f37021, #f37021 4px, #fff 4px, #fff 5px);
    border-radius: 4px;
}
.logo-bl span { color: #333; font-size: 15px; font-weight: 400; font-family: Arial, sans-serif; }

.sponsor-prev, .sponsor-next {
    color: var(--navy);
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -16px;
}
.sponsor-prev:after, .sponsor-next:after {
    font-size: 14px;
    font-weight: bold;
}
.sponsor-prev { left: 0; }
.sponsor-next { right: 0; }

.footer {
    background: #041433;
    color: #fff;
    margin-top: 45px;
    padding-top: 45px;
    font-size: 14px;
}
.footer-grid-new {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.5fr 1.8fr 1.5fr;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 30px;
    gap: 0;
}
.footer-col {
    padding: 0 25px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.footer-col:first-child {
    padding-left: 0;
}
.footer-col:last-child {
    padding-right: 0;
    border-right: none;
}
.brand-col .brand-title-top {
    color: #fff;
    font-size: 22px;
}
.brand-col .brand-title-bottom {
    color: #109648;
    font-size: 16px;
}
.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 700;
}
.footer-desc {
    color: #cbd5e1;
    margin: 15px 0;
    line-height: 1.6;
    font-size: 13px;
}
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.social-icon:hover { transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; }
.social-icon.fb { background: #1877F2; }
.social-icon.yt { background: #FF0000; }
.social-icon.ig { background: #E4405F; }
.social-icon.in { background: #0A66C2; }

.footer-links a {
    display: block;
    color: #cbd5e1;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-links.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
}

.footer-contact p {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-contact p svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-map {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}
.footer-map img {
    width: 100%;
    border-radius: 8px;
    height: 110px;
    object-fit: cover;
    opacity: 0.6;
}
.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.9);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.map-marker svg { width: 16px; height: 16px; }
.map-btn {
    background: #041433;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    transition: background 0.2s;
}
.map-btn:hover { background: #0a2558; }

.copyright {
    text-align: center;
    margin: 0;
    padding: 20px;
    background: #031029;
    color: #cbd5e1;
    font-size: 13px;
}
.mobile-bar {
    display: none;
}
.mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #94a3b8;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
    justify-self: center;
}
.mobile-bar a:hover,
.mobile-bar a.active-link {
    color: var(--blue);
}
.mobile-bar span {
    font-size: 11px;
    font-weight: 600;
}
.mobile-bar .active {
    background: var(--blue);
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    justify-content: center;
    margin-top: -36px;
    box-shadow: 0 10px 25px rgba(6, 77, 183, 0.4);
    border: 5px solid #fff;
}
.mobile-bar .active span {
    font-size: 10px;
}
.info-grid {
    grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 1000px) {
    .search-row-bottom {
        grid-template-columns: 1fr 1fr;
    }
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 0;
    }
    .stat-item:nth-child(3n) {
        border-right: none;
    }
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .card-slider,
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .three-col,
    .footer-grid-new {
        grid-template-columns: 1fr 1fr;
    }
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    .menu-overlay.active {
        display: block;
    }
    .menu {
        position: fixed;
        top: 0;
        left: -280px;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 60px 20px 20px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
        transition: left 0.3s ease;
        margin: 0;
        display: flex;
        overflow-y: auto;
    }
    .menu.active {
        left: 0;
    }
    .menu-close {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 28px;
        color: #333;
        cursor: pointer;
    }
    .menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 26px;
        color: var(--blue);
        cursor: pointer;
        padding-left: 10px;
    }
    .primary.small {
        display: none;
    }
}
@media (max-width: 640px) {
    body {
        padding-bottom: 82px;
    }
    .topbar {
        display: none;
    }
    .nav-inner {
        height: 68px;
    }
    .brand {
        font-size: 13px;
    }
    .logo {
        width: 42px;
        height: 42px;
    }
    .hero {
        min-height: 650px;
        border-radius: 0 0 28px 28px;
    }
    .hero:after {
        display: none;
    }
    .hero-content {
        padding: 60px 0 28px;
    }
    .hero h1 {
        font-size: 30px;
    }
    .hero p {
        font-size: 15px;
    }
    .search-row-top {
        flex-direction: column;
        padding: 0;
        background: transparent;
        box-shadow: none;
        gap: 14px;
    }
    .search-row-top .search-input-wrapper {
        background: #fff;
        border: 1px solid #e0e4ec;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        width: 100%;
    }
    .search-row-top .search-btn {
        width: 100%;
        justify-content: center;
    }
    .search-row-bottom {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 0;
        padding: 16px 12px;
    }
    .stat-item {
        justify-content: flex-start;
        padding-left: 10px;
    }
    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }
    .stat-item:nth-child(even) {
        border-right: none;
    }
    .section {
        padding: 28px 0;
    }
    .section-head h2 {
        font-size: 21px;
    }
    .category-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }
    .category-grid a {
        min-width: 96px;
        min-height: 94px;
        scroll-snap-align: start;
    }
    .hide-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .hide-scrollbar::-webkit-scrollbar {
        display: none;
    }
    .card-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    .inst-card {
        min-width: 78%;
        scroll-snap-align: start;
    }
    .promo-grid,
    .three-col,
    .footer-grid-new,
    .info-grid,
    .two-col-layout {
        grid-template-columns: 1fr !important;
    }
    .ad-banner {
        display: block;
        text-align: center;
    }
    .ad-banner > * {
        margin: 8px 0;
    }
    .profile-hero {
        height: auto;
    }
    .hero-bg-img {
        height: 220px;
    }
    .hero-container {
        position: relative;
        margin-top: -80px;
    }
    .profile-breadcrumb {
        top: -110px;
        left: 14px;
        font-size: 12px;
    }
    .profile-card-new {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 0 14px 14px 14px;
        width: auto;
        padding: 15px;
    }
    .pc-top {
        gap: 12px;
        flex-direction: column;
    }
    .pc-logo-box {
        width: 86px;
        height: auto;
        margin-top: -40px;
    }
    .pc-logo-box img {
        width: 100%;
        height: 80px;
        padding: 6px;
    }
    .pc-logo-box .eiin {
        font-size: 11px;
        padding: 4px 0;
    }
    .pc-info h2 {
        font-size: 18px;
    }
    .pc-actions {
        gap: 6px;
    }
    .pc-actions .btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    .footer {
        border-radius: 28px 28px 0 0;
    }
    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 70px;
        background: #fff;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        align-items: center;
        z-index: 50;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        border-radius: 24px 24px 0 0;
        padding: 0 5px;
    }
    .tabs {
        gap: 18px;
    }
    .section-head {
        align-items: flex-start;
    }
    .section-head a {
        font-size: 13px;
    }
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox-overlay.active .lightbox-content {
  transform: scale(1);
}
.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  transition: color 0.2s;
}
.lightbox-close:hover {
  color: #cbd5e1;
}

/* Contact Button */
.contact-action-btn:hover {
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}
.contact-action-btn:hover svg {
  transform: scale(1.1);
  transition: transform 0.2s;
}

/* Teacher Section */
.teacher-section-box { padding: 25px; }
@media (min-width: 768px) {
    .teacher-section-box { padding: 25px 45px; }
    .teacher-prev { left: -40px !important; }
    .teacher-next { right: -40px !important; }
}
@media (max-width: 767px) {
    .teacher-prev, .teacher-next { display: none !important; }
}

/* Floating Offer Widget */
@keyframes floatOffer {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.floating-offer-widget {
  position: absolute;
  right: 15px;
  bottom: 10px;
  background: #fff;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
  z-index: 20;
  animation: floatOffer 3s ease-in-out infinite;
  overflow: hidden;
  border: 3px solid #fff;
  text-align: center;
}

@media (max-width: 991px) {
  .floating-offer-widget {
    display: none;
  }
}

/* Page Banner */
.page-banner {
    position: relative;
    padding: 60px 0;
    text-align: center;
    color: #fff;
    background: 
        linear-gradient(rgba(5, 27, 73, 0.75), rgba(5, 27, 73, 0.75)),
        url("../img/header_background.jpeg") center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}
.page-banner-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}
.page-banner-title svg {
    width: 42px;
    height: 42px;
}
.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}
.page-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}
.page-breadcrumb a:hover {
    color: #ffd44d;
}
.page-breadcrumb svg {
    width: 14px;
    height: 14px;
}

/* Offer Page Category Grid */
.offer-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.offer-category-grid li a {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    transition: all 0.2s ease;
    text-decoration: none;
}
.offer-category-grid li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    border-color: var(--green);
}
.offer-category-grid li a.active {
    border: 1.5px solid var(--green);
    background: #f4fdf7;
    color: var(--green);
}
.offer-category-grid li a svg {
    color: var(--green);
    fill: var(--green);
    width: 34px;
    height: 34px;
}
.offer-category-grid li a svg[stroke="currentColor"] {
    fill: none;
    stroke: var(--green);
}
@media (max-width: 991px) {
    .offer-category-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 15px;
        scrollbar-width: thin;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .offer-category-grid li {
        flex: 0 0 110px;
        scroll-snap-align: start;
    }
    .offer-category-grid::-webkit-scrollbar {
        height: 6px;
    }
    .offer-category-grid::-webkit-scrollbar-thumb {
        background-color: #cbd5e1;
        border-radius: 10px;
    }
    .offer-category-grid::-webkit-scrollbar-track {
        background-color: #f1f5f9;
        border-radius: 10px;
    }
}

/* Offer Grid Section */
.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 50px 0 24px;
}
.offer-header h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}
.offer-filters {
    display: flex;
    gap: 15px;
}
.offer-search {
    position: relative;
    width: 340px;
}
.offer-search input {
    width: 100%;
    height: 46px;
    padding: 0 40px 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--navy);
    outline: none;
    transition: 0.2s;
    background: #fff;
}
.offer-search input:focus {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(241, 245, 249, 1);
}
.offer-search svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    width: 18px;
    height: 18px;
    pointer-events: none;
}
.offer-sort select {
    height: 46px;
    padding: 0 40px 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    outline: none;
    appearance: none;
    background: #fff url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
    background-size: 16px;
    cursor: pointer;
    min-width: 150px;
}
@media (max-width: 767px) {
    .offer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .offer-filters {
        width: 100%;
        flex-direction: column;
    }
    .offer-search, .offer-sort select { width: 100%; }
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1199px) { .offer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .offer-grid { grid-template-columns: 1fr; } }

.offer-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
    text-decoration: none;
    position: relative;
}
.offer-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.offer-card-img {
    position: relative;
    height: 180px;
    width: 100%;
}
.offer-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.offer-badge {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    padding: 8px 16px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    border-radius: 12px 0 16px 0;
    z-index: 2;
}
.offer-badge span {
    display: block;
    font-size: 13px;
    font-weight: 600;
}
.badge-green { background: #11a56b; }
.badge-red { background: #e14b3d; }
.badge-orange { background: #f97316; }
.badge-purple { background: #8b5cf6; }
.badge-blue { background: #2563eb; }
.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(to bottom, #e1a63b, #b37618);
    border: 2px solid #f9df88;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.premium-badge svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.offer-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.offer-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.offer-card-title.text-green { color: #11a56b; }
.offer-card-info {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.offer-card-info svg {
    width: 14px;
    height: 14px;
    color: #0f172a;
    flex-shrink: 0;
}
.offer-card-info.phone {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 16px;
}
.offer-card-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}
.offer-call-btn {
    flex: 1;
    background: #11a56b;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    text-align: center;
}
.offer-card:hover .offer-call-btn {
    background: #0e8656;
}
.offer-details-btn {
    flex: 1;
    background: #1e5dd6;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    text-align: center;
}
.offer-card:hover .offer-details-btn {
    background: #154bb3;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 50px 0 60px;
    list-style: none;
    padding: 0;
}
.pagination li a,
.pagination li button,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: var(--navy);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s;
    background: #fff;
    cursor: pointer;
}
.pagination li span {
    border: none;
    background: transparent;
    cursor: default;
    color: #64748b;
}
.pagination li a:hover, .pagination li button:not(:disabled):hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.pagination li a.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}
.pagination li button:disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    background: #f8fafc;
}
