/* ============================================================
   BASE RESET & GLOBAL
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul.list-unstyled {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================================
   BUTTON
   ============================================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1a73e8;
    color: #fff;
}

.btn-primary:hover {
    background: #0d5bcf;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   MAIN SLIDER  ← IMAGE FIX YAHAN HAI
   ============================================================ */
.main-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-slider-swiper .item {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background image layer — MUST cover full slider */
.main-slider-swiper .item-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Dark overlay so white text is readable */
.main-slider-swiper .item-slider-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Content upar dikhe */
.main-slider-swiper .container {
    position: relative;
    z-index: 2;
}

.slider-content {
    color: #fff;
    padding: 40px 0;
    max-width: 700px;
}

.slider-tagline {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    color: inherit;
}

/* ============================================================
   DEPARTMENT SECTION
   ============================================================ */
.department-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.department-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.department-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.department-card-icon {
    margin-bottom: 15px;
}

.department-card-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 28px;
}

.department-card-content h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #222;
}

.department-card-content h5 a {
    color: #222;
}

.department-card-content h5 a:hover {
    color: #1a73e8;
}

.row-gutter-y-40 > [class*="col-"] {
    margin-bottom: 40px;
}

/* ============================================================
   MAYOR SECTION
   ============================================================ */
.mayor-section {
    padding: 80px 0;
    background: #fff;
}

.mayor-box .section-tagline {
    color: #1a73e8;
}

.mayor-box .section-title {
    color: #222;
    font-size: 32px;
}

.mayor-box p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.mayor-icon-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0 20px;
}

.mayor-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.mayor-icon-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #222;
}

.list-style-one li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.list-style-one li i {
    color: #1a73e8;
    font-size: 18px;
    margin-top: 4px;
    flex-shrink: 0;
}

.list-style-one li p {
    margin: 0;
    font-size: 15px;
    color: #555;
}

/* Mayor image container */
.mayor-img {
    position: relative;
    padding: 20px;
}

.mayor-img img:not(.floated-image-one) {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.mayor-img .floated-image-one {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: auto;
    z-index: 2;
    animation: floatShape 4s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-15px); }
}

/* ============================================================
   BLOG / OFFICER SECTION
   ============================================================ */
.blog-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-box {
    margin-bottom: 40px;
}

.blog-box .section-title {
    color: #222;
    font-size: 34px;
    margin: 0;
}

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.blog-card-image {
    position: relative;
    padding: 20px;
    text-align: center;
    background: #eef3fb;
    overflow: hidden;
}

.blog-card-image img {
    display: inline-block;
    max-height: 380px;
    width: 75%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.03);
}

.blog-card-content {
    padding: 25px 30px 30px;
}

.blog-card-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #222;
}

.blog-card-content h4 a {
    color: #222;
}

.blog-card-content h4 a:hover {
    color: #1a73e8;
}

.blog-card-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.row-gutter-y-155 > [class*="col-"] {
    margin-bottom: 30px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .main-slider-swiper .item {
        min-height: 450px;
    }
    .slider-tagline {
        font-size: 22px;
    }
    .section-title {
        font-size: 26px;
    }
    .mayor-img {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .main-slider-swiper .item {
        min-height: 380px;
    }
    .slider-tagline {
        font-size: 18px;
    }
    .section-title {
        font-size: 22px;
    }
    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }
    .department-section,
    .mayor-section,
    .blog-section {
        padding: 50px 0;
    }
    .blog-card-content {
        padding: 20px;
    }
    .blog-card-content h4 {
        font-size: 18px;
    }
}
/* ============================================================
   MEMBER PHOTO — FIXED HEIGHT, LAMBI NAHI DIKHEGI
   ============================================================ */

.member-image-box {
    position: relative;
    background: #eef3fb;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 100%;
}

/* 🔥 MAIN FIX — image ko box ke andar crop karo */
.member-image-box .member-photo,
.member-image-box img {
    width: 100% !important;
    height: 480px !important;        /* fixed height */
    object-fit: cover !important;     /* crop hoke fit */
    object-position: center top !important;  /* face upar */
    border-radius: 10px !important;
    display: block !important;
}

/* Mobile pe height kam */
@media (max-width: 991px) {
    .member-image-box .member-photo,
    .member-image-box img {
        height: 400px !important;
    }
}

@media (max-width: 575px) {
    .member-image-box .member-photo,
    .member-image-box img {
        height: 340px !important;
    }
}
/* ============================================================
   WORK PAGE — FULL FIX
   ============================================================ */

/* --- Intro Section --- */
.work-intro-section {
    padding: 80px 0;
    background: #fff;
}

.work-intro-content .section-tagline {
    color: #1a73e8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 12px;
}

.work-intro-content .section-title {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.work-intro-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 15px;
}

.work-intro-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* --- Work Grid Section --- */
.work-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.work-section-header {
    margin-bottom: 50px;
}

.work-section-header .section-tagline {
    color: #1a73e8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 10px;
}

.work-section-header .section-title {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* --- Work Card --- */
.work-card {
    background: #fff;
    border-radius: 14px;
    padding: 35px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid transparent;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-top-color: #1a73e8;
}

.work-card-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #e8f0fe;
    color: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.work-card:hover .work-card-icon {
    background: #1a73e8;
    color: #fff;
    transform: rotate(-8deg) scale(1.05);
}

.work-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 12px;
    line-height: 1.4;
}

.work-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    flex-grow: 1;
}

/* --- CTA Section --- */
.work-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #1a73e8 0%, #0d5bcf 100%);
}

.work-cta-inner h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.4;
}

.work-cta-inner .btn-primary {
    background: #fff;
    color: #1a73e8;
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.work-cta-inner .btn-primary:hover {
    background: #222;
    color: #fff;
    transform: translateY(-3px);
}

/* --- Gutter --- */
.row-gutter-y-30 > [class*="col-"] {
    margin-bottom: 30px;
}

.row-gutter-y-40 > [class*="col-"] {
    margin-bottom: 40px;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .work-intro-section,
    .work-section {
        padding: 50px 0;
    }
    .work-intro-content .section-title,
    .work-section-header .section-title {
        font-size: 26px;
    }
    .work-intro-image img {
        height: 320px;
        margin-top: 20px;
    }
    .work-cta {
        padding: 50px 0;
    }
    .work-cta-inner h2 {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .work-intro-content .section-title,
    .work-section-header .section-title {
        font-size: 22px;
    }
    .work-intro-image img {
        height: 260px;
    }
    .work-card {
        padding: 25px 20px;
    }
    .work-card h4 {
        font-size: 18px;
    }
    .work-cta-inner h2 {
        font-size: 20px;
    }
    .work-cta-inner .btn-primary {
        padding: 12px 25px;
        font-size: 14px;
    }
}


