/* =========================================================
   SARKARI KAAM - SERVICE PAGE CSS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #172033;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    width: 100%;
    min-height: 42px;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0b1f3a;
    color: #fff;
    font-size: 13px;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.top-bar i {
    margin-right: 6px;
}

/* =========================================================
   HEADER
========================================================= */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e5eaf2;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1250px;
    min-height: 78px;
    margin: auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d47a1;
    color: #fff;
    font-size: 21px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 20px;
    color: #0b1f3a;
}

.logo-text small {
    font-size: 11px;
    color: #6c7482;
}

/* NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.desktop-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #39465a;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.desktop-nav a i {
    margin-right: 5px;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    background: #eaf2ff;
    color: #0d47a1;
}

/* ACTIONS */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.provider-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border-radius: 8px;
    background: #0d47a1;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s;
}

.provider-login:hover {
    background: #08357d;
    transform: translateY(-1px);
}

.menu-btn {
    display: none;
    width: 43px;
    height: 43px;
    border: 0;
    border-radius: 8px;
    background: #edf3ff;
    color: #0d47a1;
    font-size: 20px;
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;
    padding: 10px 20px 18px;
    background: #fff;
    border-top: 1px solid #edf0f5;
}

.mobile-menu a {
    display: block;
    padding: 13px 14px;
    margin-top: 5px;
    border-radius: 8px;
    color: #28354a;
    font-weight: 600;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: #edf4ff;
    color: #0d47a1;
}

.mobile-menu i {
    width: 24px;
}

.mobile-login {
    margin-top: 12px !important;
    background: #0d47a1 !important;
    color: #fff !important;
}

/* =========================================================
   HERO
========================================================= */

.services-hero {
    min-height: 430px;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, #082b62, #0d47a1 55%, #1565c0);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services-hero::before,
.services-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.services-hero::before {
    width: 350px;
    height: 350px;
    left: -100px;
    top: -150px;
}

.services-hero::after {
    width: 450px;
    height: 450px;
    right: -160px;
    bottom: -250px;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(35px, 5vw, 60px);
    line-height: 1.12;
    margin-bottom: 18px;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #ffd54f;
}

.hero-content > p {
    max-width: 730px;
    margin: auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.hero-stats {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats > div {
    min-width: 125px;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats strong {
    display: block;
    font-size: 23px;
}

.hero-stats small {
    display: block;
    color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   SEARCH
========================================================= */

.search-wrapper {
    max-width: 1050px;
    margin: -38px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.search-box {
    min-height: 70px;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(11, 31, 58, 0.15);
    border: 1px solid #e6ebf2;
}

.search-icon {
    width: 52px;
    display: flex;
    justify-content: center;
    color: #0d47a1;
    font-size: 20px;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 15px 8px;
    color: #172033;
    font-size: 15px;
}

.search-box input::placeholder {
    color: #9aa3b1;
}

.search-box button {
    border: 0;
}

#searchBtn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 10px;
    background: #0d47a1;
    color: #fff;
    font-weight: 700;
    transition: 0.25s;
}

#searchBtn:hover {
    background: #08357d;
}

#searchBtn i {
    margin-right: 5px;
}

.clear-btn {
    width: 42px;
    height: 45px;
    margin-left: 4px;
    background: transparent;
    color: #8a94a4;
    border-radius: 8px;
}

.clear-btn:hover {
    background: #f1f4f8;
    color: #d32f2f;
}

.search-info {
    padding: 10px 5px;
    color: #6c7482;
    font-size: 12px;
}

.search-info i {
    color: #0d47a1;
    margin-right: 5px;
}

/* =========================================================
   COMMON SECTION
========================================================= */

.category-section,
.services-container,
.updates-section,
.provider-section {
    max-width: 1250px;
    margin: auto;
    padding-left: 22px;
    padding-right: 22px;
}

.category-section {
    padding-top: 50px;
}

.section-heading {
    margin-bottom: 25px;
}

.section-heading.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 7px;
    color: #0d47a1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.section-heading h2,
.services-header h2 {
    font-size: 29px;
    line-height: 1.2;
    color: #172033;
}

.section-heading p {
    margin-top: 7px;
    color: #707b8d;
    font-size: 14px;
}

/* =========================================================
   CATEGORY FILTER
========================================================= */

.category-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    background: #fff;
    color: #4c586b;
    font-weight: 600;
    font-size: 13px;
    transition: 0.25s;
}

.category-btn:hover {
    border-color: #0d47a1;
    color: #0d47a1;
}

.category-btn.active {
    background: #0d47a1;
    color: #fff;
    border-color: #0d47a1;
}

/* =========================================================
   SERVICES
========================================================= */

.services-container {
    padding-top: 50px;
    padding-bottom: 70px;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 25px;
}

.results-count {
    padding: 8px 14px;
    background: #eaf2ff;
    color: #0d47a1;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* =========================================================
   SERVICE CARD
========================================================= */

.service-card {
    background: #fff;
    padding: 22px;
    border: 1px solid #e6ebf2;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(15, 35, 65, 0.05);
    transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 35, 65, 0.11);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

.service-number {
    color: #a1a9b6;
    font-size: 12px;
    font-weight: 800;
}

.service-card h3 {
    color: #172033;
    font-size: 18px;
    margin-bottom: 8px;
}

.service-card p {
    min-height: 67px;
    color: #717c8e;
    font-size: 13px;
    line-height: 1.6;
}

.service-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #0d47a1;
    font-size: 13px;
    font-weight: 800;
}

.service-card > a i {
    transition: 0.2s;
}

.service-card > a:hover i {
    transform: translateX(4px);
}

/* =========================================================
   ICON COLORS
========================================================= */

.blue {
    background: #e7f0ff;
    color: #1769e0;
}

.purple {
    background: #f0eaff;
    color: #7145d6;
}

.orange {
    background: #fff0df;
    color: #e67e22;
}

.green {
    background: #e5f7ed;
    color: #16834d;
}

.red {
    background: #ffe8e8;
    color: #d93636;
}

.cyan {
    background: #e2f8fb;
    color: #1498a7;
}

.gold {
    background: #fff6d9;
    color: #b68500;
}

.pink {
    background: #ffe8f1;
    color: #d04b83;
}

.navy {
    background: #e7edf8;
    color: #183e79;
}

.violet {
    background: #eee8ff;
    color: #6946c6;
}

.teal {
    background: #e2f7f5;
    color: #118b80;
}

.yellow {
    background: #fff8d8;
    color: #b28a00;
}

/* =========================================================
   NO RESULTS
========================================================= */

.no-results {
    display: none;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    margin-top: 20px;
}

.no-results.show {
    display: block;
}

.no-results > div {
    width: 65px;
    height: 65px;
    margin: auto auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf3ff;
    color: #0d47a1;
    font-size: 23px;
}

.no-results h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

.no-results p {
    color: #737d8c;
    font-size: 14px;
}

#resetSearch {
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    padding: 11px 18px;
    background: #0d47a1;
    color: #fff;
    font-weight: 700;
}

/* =========================================================
   PROVIDER CTA
========================================================= */

.provider-section {
    padding-top: 20px;
    padding-bottom: 60px;
}

.provider-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0b1f3a, #0d47a1);
    color: #fff;
}

.provider-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 25px;
}

.provider-text {
    flex: 1;
}

.provider-text > span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    opacity: 0.7;
}

.provider-text h2 {
    margin: 3px 0;
    font-size: 24px;
}

.provider-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.provider-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 9px;
    background: #fff;
    color: #0d47a1;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

/* =========================================================
   UPDATES
========================================================= */

.updates-section {
    padding-top: 10px;
    padding-bottom: 70px;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.update-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    transition: 0.25s;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 35, 65, 0.08);
}

.update-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #edf3ff;
    color: #0d47a1;
}

.update-card > div:nth-child(2) {
    flex: 1;
}

.update-card span {
    font-size: 10px;
    color: #0d47a1;
    font-weight: 800;
    text-transform: uppercase;
}

.update-card h3 {
    margin: 3px 0 5px;
    font-size: 16px;
}

.update-card p {
    color: #727c8c;
    font-size: 12px;
    line-height: 1.5;
}

.arrow {
    margin-top: 5px;
    color: #9ba5b3;
}

/* =========================================================
   FOOTER
========================================================= */

.main-footer {
    background: #0a1729;
    color: #fff;
}

.footer-container {
    max-width: 1250px;
    margin: auto;
    padding: 60px 22px 35px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 45px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
}

.footer-logo i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #0d47a1;
}

.footer-brand > p {
    max-width: 330px;
    margin-top: 16px;
    color: #aab4c3;
    font-size: 13px;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #142943;
    color: #d8e0ea;
    transition: 0.25s;
}

.footer-social a:hover {
    background: #0d47a1;
    color: #fff;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-column a {
    color: #aab4c3;
    font-size: 13px;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #fff;
    padding-left: 3px;
}

.footer-bottom {
    max-width: 1250px;
    margin: auto;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8996a8;
    font-size: 12px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 0;
    }

    .desktop-nav a {
        padding: 9px 8px;
        font-size: 12px;
    }

    .provider-login {
        padding: 9px 11px;
        font-size: 12px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .updates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .top-bar {
        padding: 8px 15px;
        justify-content: center;
        text-align: center;
    }

    .top-left {
        width: 100%;
        justify-content: center;
    }

    .top-right {
        display: none;
    }

    .nav-container {
        min-height: 68px;
        padding: 0 15px;
    }

    .logo {
        min-width: auto;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

    .logo-text strong {
        font-size: 17px;
    }

    .logo-text small {
        font-size: 9px;
    }

    .desktop-nav,
    .provider-login {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-menu.show {
        display: block;
    }

    .services-hero {
        min-height: 390px;
        padding: 60px 18px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-stats {
        gap: 8px;
    }

    .hero-stats > div {
        min-width: 95px;
        padding: 11px 12px;
    }

    .hero-stats strong {
        font-size: 18px;
    }

    .search-wrapper {
        margin-top: -30px;
    }

    .search-box {
        min-height: auto;
        flex-wrap: wrap;
        padding: 8px;
    }

    .search-icon {
        width: 42px;
    }

    .search-box input {
        padding: 12px 5px;
    }

    #searchBtn {
        width: 100%;
        margin-top: 5px;
    }

    .clear-btn {
        position: absolute;
        right: 18px;
        top: 13px;
    }

    .category-section,
    .services-container,
    .updates-section,
    .provider-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .services-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .updates-grid {
        grid-template-columns: 1fr;
    }

    .provider-content {
        flex-direction: column;
        text-align: center;
        padding: 25px 18px;
    }

    .provider-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 45px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .top-bar {
        font-size: 11px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-stats > div {
        min-width: 85px;
    }

    .hero-stats small {
        font-size: 10px;
    }

    .section-heading h2,
    .services-header h2 {
        font-size: 24px;
    }

    .category-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .category-btn {
        justify-content: center;
        padding: 10px 8px;
        font-size: 11px;
    }

    .service-card {
        padding: 18px;
    }

    .service-card p {
        min-height: auto;
    }

    .footer-container {
        padding-left: 18px;
        padding-right: 18px;
    }
}