/* =====================================================
   GLOBAL
   ===================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #212529;
}


/* =====================================================
   HEADER
   ===================================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
}


/* =====================================================
   HEADER BRAND / LOGO
   ===================================================== */

.site-header .container.py-3 {
    min-height: 90px;
}

.site-header .custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 70px;

    flex: 0 0 150px;

    overflow: hidden;
}

.site-header .custom-logo {
    display: block;

    width: auto !important;
    height: 70px !important;

    max-width: 150px !important;
    max-height: 70px !important;

    object-fit: contain;
    object-position: center;
}


/* =====================================================
   BRAND TEXT
   ===================================================== */

.brand-title {
    margin: 0;
    font-weight: 700;
    color: #123b6d;
}

.site-header .text-muted {
    margin-top: 4px;
}


/* =====================================================
   NAVBAR
   ===================================================== */

.site-header nav.navbar {
    background: #003C71 !important;
    background-color: #003C71 !important;
    background-image: none !important;

    border: 0;
}


/* Navbar brand */

.site-header nav.navbar .navbar-brand {
    color: #ffffff !important;
}


/* Navbar links */

.site-header nav.navbar .nav-link {
    color: #ffffff !important;
}


/* Hover */

.site-header nav.navbar .nav-link:hover,
.site-header nav.navbar .navbar-brand:hover {
    color: #ffffff !important;
}


/* =====================================================
   MAIN
   ===================================================== */

.hero-section {
    padding: 28px 0;
}


/* =====================================================
   CARDS
   ===================================================== */

.profile-card,
.carousel-card,
.content-card {
    background: #ffffff;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}


/* =====================================================
   PROFILE
   ===================================================== */

.profile-card {
    height: 100%;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: #e9ecef;
}

.profile-body {
    padding: 20px;
}


/* =====================================================
   CAROUSEL
   ===================================================== */

.carousel-image {
    width: 100%;
    height: 430px;
    object-fit: cover;
}


/* =====================================================
   SECTION TITLES
   ===================================================== */

.section-title {
    font-weight: 700;
    color: #123b6d;
}


/* =====================================================
   GALLERY
   ===================================================== */

.gallery-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
    background: #123b6d;
    color: #ffffff;
    margin-top: 40px;
    padding: 30px 0;
}

/* =====================================================
   PORTAL UPDATES
===================================================== */

.portal-updates-section {
    padding: 35px 0 45px;
}

.update-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    overflow: hidden;
}

.update-card-header {
    background: #003C71;
    color: #fff;
    padding: 14px 18px;
}

.update-card-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.update-card-header i {
    color: #F58220;
    margin-right: 8px;
}


/* =====================================================
   BIRTHDAYS
===================================================== */

.birthday-list {
    padding: 18px;
}

.birthday-person {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.birthday-person:last-child {
    border-bottom: 0;
}

.birthday-photo {
    width: 75px;
    height: 75px;
    flex: 0 0 75px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.birthday-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.birthday-photo i {
    font-size: 2.8rem;
    color: #9aa3ad;
}

.birthday-info h5 {
    margin: 0 0 3px;
    color: #123b6d;
    font-weight: 700;
}

.birthday-info .designation {
    font-size: .9rem;
    color: #555;
}

.birthday-date {
    margin-top: 5px;
    color: #F58220;
    font-size: .85rem;
    font-weight: 600;
}

.birthday-date i {
    margin-right: 4px;
}

.birthday-empty,
.empty-update {
    padding: 30px 20px;
    text-align: center;
    color: #777;
}

.birthday-empty i,
.empty-update i {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #F58220;
}


/* =====================================================
   CGMT MESSAGE
===================================================== */

.cgmt-message-body {
    display: flex;
    gap: 20px;
    padding: 22px;
    align-items: flex-start;
}

.cgmt-photo {
    width: 90px;
    height: 90px;
    flex: 0 0 90px;
    border-radius: 50%;
    overflow: hidden;
}

.cgmt-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cgmt-message-text p {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

.cg­mt-signature,
.cg­mt-signature span {
    display: block;
}

.cgmt-signature {
    margin-top: 15px;
}

.cgmt-signature strong {
    display: block;
    color: #123b6d;
}

.cgmt-signature span {
    color: #666;
    font-size: .85rem;
}


/* =====================================================
   THOUGHT OF THE DAY
===================================================== */

.thought-body {
    padding: 25px;
    text-align: center;
}

.thought-icon {
    font-size: 2rem;
    color: #F58220;
}

.thought-text {
    margin: 12px 0;
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    color: #444;
}

.thought-author {
    color: #123b6d;
    font-weight: 600;
    font-size: .9rem;
}


/* =====================================================
   MARKETING
===================================================== */

.marketing-list {
    padding: 18px;
}

.marketing-item {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.marketing-item:last-child {
    border-bottom: 0;
}

.marketing-image {
    width: 110px;
    flex: 0 0 110px;
}

.marketing-image img {
    width: 110px;
    height: 75px;
    object-fit: cover;
    border-radius: 7px;
}

.marketing-content h5 {
    margin: 0 0 5px;
    color: #123b6d;
    font-weight: 700;
    font-size: 1rem;
}

.marketing-content p {
    margin: 0;
    color: #666;
    font-size: .88rem;
}
/* =====================================================
   FULL WIDTH ARCHIVE POST
   ===================================================== */

.office-full-post {
    width: 100%;
    background: #ffffff;
    padding: 35px 40px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.office-full-post .post-title {
    font-size: 28px;
    font-weight: 700;
    color: #173f73;
}

.office-full-post .post-content {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
    color: #222;
}

.office-full-post .post-content p:last-child {
    margin-bottom: 0;
}


/* Tables inside the post */

.office-full-post table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.office-full-post table th,
.office-full-post table td {
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    vertical-align: middle;
}

.office-full-post table th {
    background: #f1f5f9;
    font-weight: 600;
}


/* Mobile */

@media (max-width: 767px) {

    .office-full-post {
        padding: 25px 20px;
    }

    .office-full-post .post-title {
        font-size: 23px;
    }

    .office-full-post .post-content {
        font-size: 15px;
    }

}

/* =====================================================
   TIP LISTS - SINGLE COLUMN
   ===================================================== */

.tip-list {
    width: 100%;
}

.tip-post {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    padding: 30px 35px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tip-title {
    font-size: 26px;
    font-weight: 700;
    color: #173f73;
    margin-bottom: 20px;
}

.tip-content {
    width: 100%;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
}


/* Tables inside TIP */

.tip-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tip-content table th,
.tip-content table td {
    border: 1px solid #dee2e6;
    padding: 10px 12px;
    vertical-align: middle;
}

.tip-content table th {
    background: #f1f5f9;
    font-weight: 600;
}


/* Images */

.tip-content img {
    max-width: 100%;
    height: auto;
}


/* Mobile */

@media (max-width: 767px) {

    .tip-post {
        padding: 22px 18px;
    }

    .tip-title {
        font-size: 22px;
    }

    .tip-content {
        font-size: 15px;
    }

}
/* =====================================================
   DSA LISTS - SINGLE COLUMN
   ===================================================== */

.dsa-list {
    width: 100%;
}

.dsa-post {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    padding: 30px 35px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dsa-title {
    font-size: 26px;
    font-weight: 700;
    color: #173f73;
    margin-bottom: 20px;
}

.dsa-content {
    width: 100%;
    font-size: 16px;
    line-height: 1.7;
    color: #222;
}


/* Tables */

.dsa-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.dsa-content table th,
.dsa-content table td {
    border: 1px solid #dee2e6;
    padding: 10px 12px;
    vertical-align: middle;
}

.dsa-content table th {
    background: #f1f5f9;
    font-weight: 600;
}


/* Images */

.dsa-content img {
    max-width: 100%;
    height: auto;
}


/* Mobile */

@media (max-width: 767px) {

    .dsa-post {
        padding: 22px 18px;
    }

    .dsa-title {
        font-size: 22px;
    }

    .dsa-content {
        font-size: 15px;
    }

}

/* =====================================================
   PHOTO GALLERY
   ===================================================== */

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.photo-gallery-item {
    background: #ffffff;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.photo-gallery-image {
    display: block;
    overflow: hidden;
}

.photo-gallery-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.photo-gallery-image:hover img {
    transform: scale(1.05);
}

.photo-gallery-content {
    padding: 20px;
}

.photo-gallery-title {
    font-size: 20px;
    font-weight: 700;
    color: #173f73;
    margin-bottom: 10px;
}

.photo-gallery-excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}


/* Tablet */

@media (max-width: 991px) {

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width: 575px) {

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .photo-gallery-image img {
        height: 220px;
    }

}
/* =====================================================
   LOGIN PAGE
   ===================================================== */

.office-login {
    min-height: calc(100vh - 200px);
    background: #f4f7fa;
}

.login-section {
    min-height: 650px;
    display: flex;
    align-items: center;
}


/* LOGIN CARD */

.login-card {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}


/* HEADER */

.login-header {
    margin-bottom: 30px;
}

.login-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: #063f73;
    color: #ffffff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
}

.login-header h1 {
    color: #173f73;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    color: #6c757d;
    margin-bottom: 0;
}


/* FORM */

.login-form form {
    margin: 0;
}

.login-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    height: 48px;

    border: 1px solid #ced4da;
    border-radius: 6px;

    padding: 10px 14px;

    font-size: 16px;

    outline: none;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: #063f73;

    box-shadow: 0 0 0 3px rgba(6, 63, 115, 0.12);
}


/* USERNAME / PASSWORD SPACING */

.login-form p {
    margin-bottom: 20px;
}


/* REMEMBER ME */

.login-form .login-remember {
    margin-bottom: 20px;
}

.login-form .login-remember label {
    display: flex;
    align-items: center;
    gap: 8px;

    font-weight: 400;
    cursor: pointer;
}

.login-form input[type="checkbox"] {
    width: 16px;
    height: 16px;
}


/* LOGIN BUTTON */

.login-form input[type="submit"] {
    width: 100%;
    height: 48px;

    border: none;
    border-radius: 6px;

    background: #063f73;
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: background 0.2s ease,
                transform 0.2s ease;
}

.login-form input[type="submit"]:hover {
    background: #052f56;
    transform: translateY(-1px);
}


/* FORGOT PASSWORD */

.login-footer {
    margin-top: 25px;
}

.login-footer a {
    color: #063f73;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}


/* ERROR */

.login-card .alert {
    font-size: 14px;
}


/* MOBILE */

@media (max-width: 576px) {

    .login-card {
        padding: 30px 22px;
    }

    .login-header h1 {
        font-size: 26px;
    }

}
/* =========================================================
   EMPLOYEE REGISTRATION PAGE
   ========================================================= */

.office-registration {
    min-height: calc(100vh - 200px);
    background: #f4f7fa;
}


/* =========================================================
   REGISTRATION SECTION
   ========================================================= */

.registration-section {
    min-height: 700px;
    padding-top: 50px;
    padding-bottom: 50px;
}


/* =========================================================
   REGISTRATION CARD
   ========================================================= */

.registration-card {
    width: 100%;
    background: #ffffff;

    border: 1px solid #e1e5e9;
    border-radius: 12px;

    padding: 40px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   HEADER
   ========================================================= */

.registration-header {
    margin-bottom: 35px;
}

.registration-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #063f73;
    color: #ffffff;

    border-radius: 50%;

    font-size: 26px;

    box-shadow: 0 5px 15px rgba(6, 63, 115, 0.20);
}

.registration-header h1 {
    margin: 0 0 8px;

    color: #173f73;

    font-size: 30px;
    font-weight: 700;

    line-height: 1.3;
}

.registration-header p {
    margin: 0;

    color: #6c757d;

    font-size: 15px;
}


/* =========================================================
   ALERTS
   ========================================================= */

.registration-card .alert {
    border-radius: 7px;

    font-size: 14px;

    margin-bottom: 25px;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.registration-section-title {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #173f73;

    font-size: 18px;
    font-weight: 700;

    margin-top: 25px;
    margin-bottom: 22px;

    padding-bottom: 10px;

    border-bottom: 1px solid #e1e5e9;
}

.registration-section-title i {
    width: 25px;

    color: #063f73;

    font-size: 16px;

    text-align: center;
}


/* =========================================================
   FORM LABELS
   ========================================================= */

.registration-form label {
    display: block;

    margin-bottom: 7px;

    color: #333333;

    font-size: 14px;
    font-weight: 600;
}

.registration-form label span {
    color: #dc3545;

    margin-left: 2px;
}


/* =========================================================
   INPUTS
   ========================================================= */

.registration-form .form-control {
    width: 100%;

    min-height: 46px;

    padding: 9px 13px;

    color: #333333;

    background: #ffffff;

    border: 1px solid #ced4da;
    border-radius: 6px;

    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


/* TEXTAREA */

.registration-form textarea.form-control {
    min-height: 110px;

    resize: vertical;
}


/* INPUT FOCUS */

.registration-form .form-control:focus {
    color: #333333;

    background: #ffffff;

    border-color: #063f73;

    outline: none;

    box-shadow:
        0 0 0 3px rgba(6, 63, 115, 0.12);
}


/* PLACEHOLDER */

.registration-form .form-control::placeholder {
    color: #9aa1a8;
}


/* =========================================================
   DATE INPUT
   ========================================================= */

.registration-form input[type="date"] {
    cursor: pointer;
}


/* =========================================================
   MOBILE NUMBER
   ========================================================= */

.registration-form input[type="tel"] {
    letter-spacing: 0.3px;
}


/* =========================================================
   PASSWORD HELP TEXT
   ========================================================= */

.registration-form small.text-muted {
    display: block;

    margin-top: 6px;

    color: #6c757d !important;

    font-size: 12px;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.registration-submit {
    padding-top: 10px;
}

.registration-submit .btn {
    min-width: 190px;
    min-height: 48px;

    padding: 10px 25px;

    background: #063f73;

    border: 1px solid #063f73;
    border-radius: 6px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.registration-submit .btn:hover {
    background: #052f56;

    border-color: #052f56;

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 5px 12px rgba(6, 63, 115, 0.20);
}

.registration-submit .btn:focus {
    background: #052f56;

    border-color: #052f56;

    color: #ffffff;

    box-shadow:
        0 0 0 3px rgba(6, 63, 115, 0.20);
}


/* =========================================================
   REGISTRATION LOGIN LINK
   ========================================================= */

.registration-login {
    padding-top: 5px;

    color: #6c757d;

    font-size: 14px;
}

.registration-login a {
    margin-left: 5px;

    color: #063f73;

    font-weight: 600;

    text-decoration: none;
}

.registration-login a:hover {
    color: #052f56;

    text-decoration: underline;
}


/* =========================================================
   SUCCESS LOGIN BUTTON
   ========================================================= */

.registration-card .btn-success {
    border-radius: 6px;

    font-weight: 600;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.registration-form .form-control:invalid:not(:placeholder-shown) {
    border-color: #ced4da;
}

.registration-form .form-control:focus:invalid {
    border-color: #dc3545;

    box-shadow:
        0 0 0 3px rgba(220, 53, 69, 0.10);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .registration-card {
        padding: 35px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .registration-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .registration-card {
        padding: 28px 22px;

        border-radius: 10px;
    }

    .registration-header {
        margin-bottom: 28px;
    }

    .registration-header h1 {
        font-size: 26px;
    }

    .registration-header p {
        font-size: 14px;
    }

    .registration-icon {
        width: 60px;
        height: 60px;

        font-size: 23px;
    }

    .registration-section-title {
        font-size: 17px;

        margin-top: 22px;
    }

    .registration-form .form-control {
        min-height: 45px;

        font-size: 15px;
    }

    .registration-submit .btn {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .registration-card {
        padding: 24px 17px;
    }

    .registration-header h1 {
        font-size: 23px;
    }

    .registration-section-title {
        font-size: 16px;
    }

}


/* =========================================================
   FRONT PAGE TOP SECTION
   NE1 CIRCLE + CGM + SLIDER + BIRTHDAY/MARKETING
   ========================================================= */

.compact-profile-card {
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e6eaf0;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    margin-bottom: 18px;
}

.compact-profile-photo {
    width: 100%;
    height: 135px;
    object-fit: cover;
    display: block;
}

.compact-profile-body {
    padding: 14px 16px 16px;
}

.compact-profile-title {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 5px;
    color: #064579;
}

.compact-designation {
    font-size: 0.86rem;
    color: #4b5563;
}

.compact-profile-text {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #4b5563;
    margin: 9px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-action-btn {
    width: 100%;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 9px;
    border-radius: 7px;
}

.hero-section .carousel-image {
    min-height: 520px;
    object-fit: cover;
}


/* =========================================================
   BIRTHDAY ALERT
   ========================================================= */

.birthday-alert-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6eaf0;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.birthday-alert-header {
    background: #064579;
    color: #ffffff;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.birthday-alert-header > i {
    font-size: 25px;
}

.birthday-alert-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.birthday-alert-header span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.birthday-alert-list {
    padding: 13px;
}

.birthday-alert-person {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 13px;
    margin-bottom: 13px;
    border-bottom: 1px solid #edf0f4;
}

.birthday-alert-person:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.birthday-alert-photo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.birthday-alert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.birthday-alert-photo i {
    font-size: 34px;
    color: #9aa5b1;
}

.birthday-alert-info h5 {
    margin: 0 0 3px;
    color: #064579;
    font-size: 0.92rem;
    font-weight: 700;
}

.birthday-alert-designation {
    font-size: 0.74rem;
    color: #687385;
    line-height: 1.3;
}

.birthday-wish {
    margin-top: 4px;
    color: #064579;
    font-size: 0.72rem;
    font-weight: 600;
}


/* =========================================================
   MARKETING FEATURED IMAGES
   ========================================================= */

.marketing-sidebar-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e6eaf0;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
}

.marketing-sidebar-header {
    background: #064579;
    color: #ffffff;
    padding: 14px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.marketing-sidebar-header i {
    font-size: 19px;
}

.marketing-sidebar-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.marketing-sidebar-list {
    padding: 11px;
}

.marketing-sidebar-item {
    display: block;
    margin-bottom: 11px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f7fa;
    text-decoration: none;
}

.marketing-sidebar-item:last-child {
    margin-bottom: 0;
}

.marketing-sidebar-image {
    width: 100%;
    height: 125px;
    object-fit: cover;
    display: block;
}

.marketing-sidebar-title {
    padding: 8px 9px;
    color: #064579;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.marketing-empty {
    padding: 28px 14px;
    text-align: center;
    color: #7b8491;
}

.marketing-empty i {
    font-size: 35px;
}

.marketing-empty p {
    margin: 9px 0 0;
    font-size: 0.82rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .compact-profile-photo {
        height: 180px;
    }

    .hero-section .carousel-image {
        min-height: 400px;
    }

}

@media (max-width: 575px) {

    .compact-profile-photo {
        height: 200px;
    }

    .hero-section .carousel-image {
        min-height: 300px;
    }

}

/* =========================================================
   FRONT PAGE TOP PROFILE CARDS
   ========================================================= */

/* Do NOT stretch the profile cards to slider height */
.hero-section .compact-profile-card {
    height: auto !important;
    min-height: 0 !important;
    align-self: flex-start;
    margin-bottom: 18px;
}

/* Smaller NE1 / CGM images */
.hero-section .compact-profile-photo {
    height: 135px !important;
    object-fit: cover;
}

/* Compact content */
.hero-section .compact-profile-body {
    padding: 14px 16px 16px;
}

/* Keep title compact */
.hero-section .compact-profile-title {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

/* Button */
.hero-section .profile-action-btn {
    width: 100%;
    font-size: 0.78rem;
    padding: 7px 9px;
}

/* Slider */
.hero-section .carousel-image {
    min-height: 520px;
    object-fit: cover;
}


/* =========================================================
   RIGHT SIDEBAR
   ========================================================= */

.hero-section .birthday-alert-card,
.hero-section .marketing-sidebar-card {
    height: auto !important;
    min-height: 0 !important;
}


/* Marketing images */
.hero-section .marketing-sidebar-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 991px) {

    .hero-section .compact-profile-photo {
        height: 180px !important;
    }

    .hero-section .carousel-image {
        min-height: 400px;
    }

}

/* =========================================================
   CGM NE1 - SMALL PORTRAIT CARD
   ========================================================= */

.hero-section .cgm-profile-card {
    max-width: 100%;
    margin-bottom: 0;
}

/* Portrait CGM photograph */
.hero-section .cgm-profile-card .compact-profile-photo {
    width: 100px !important;
    height: 125px !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 12px auto 0;
    border-radius: 8px;
}

/* Smaller CGM content */
.hero-section .cgm-profile-card .compact-profile-body {
    padding: 10px 14px 13px;
    text-align: center;
}

.hero-section .cgm-profile-card .compact-profile-title {
    font-size: 1rem;
    margin-bottom: 3px;
}

.hero-section .cgm-profile-card .compact-designation {
    font-size: 0.78rem;
    margin-bottom: 8px;
}

/* Smaller message button */
.hero-section .cgm-profile-card .profile-action-btn {
    font-size: 0.72rem;
    padding: 6px 7px;
}


/* =========================================================
   CGM PLACEHOLDER - SAME PORTRAIT SIZE
   ========================================================= */

.hero-section .cgm-profile-card .compact-profile-photo.d-flex {
    width: 100px !important;
    height: 125px !important;
    margin: 12px auto 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .hero-section .cgm-profile-card .compact-profile-photo {
        width: 120px !important;
        height: 150px !important;
    }

}

/* =====================================================
   MARKETING THUMBNAILS
===================================================== */

.marketing-thumbnails-section {
    padding-top: 10px;
}

.marketing-thumb-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.marketing-thumb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.marketing-thumb-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f1f3f5;
}

.marketing-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.marketing-thumb-card:hover .marketing-thumb-image {
    transform: scale(1.05);
}

.marketing-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 55, 105, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.marketing-thumb-card:hover .marketing-thumb-overlay {
    opacity: 1;
}

.marketing-thumb-overlay span {
    background: #fff;
    color: #064b80;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.marketing-thumb-title {
    padding: 12px 14px;
    color: #064b80;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.marketing-thumb-empty {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

/* =====================================================
   RESPONSIVE PAGE TITLE
   ===================================================== */

.page-title,
.entry-title {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 0.8rem;
}

/* Tablet */
@media (max-width: 768px) {
    .page-title,
    .entry-title {
        font-size: 1.8rem;
        line-height: 1.25;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .page-title,
    .entry-title {
        font-size: 1.45rem;
        line-height: 1.3;
    }
}

/* =====================================================
   CGM MESSAGE - RESPONSIVE SECTION TITLE
   ===================================================== */

.section-title {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

/* Tablet */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
}

.office-archive .card img,
.office-archive .card .wp-post-image {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* =========================================================
   PHOTO GALLERY VIDEO
   ========================================================= */

.photo-gallery-video {
    width: 100%;
    margin-bottom: 0;
}

.photo-gallery-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
}

.photo-gallery-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;
    display: block;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .photo-gallery-video-frame {
        border-radius: 8px;
    }

}

/* =========================================================
   EMPLOYEE BIRTHDAYS - MODERN DESIGN
   ========================================================= */

.birthday-alert-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(15, 23, 42, 0.06);
}


/* =========================================================
   HEADER
   ========================================================= */

.birthday-alert-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 20px 18px;
    background: #0d4f83;
    color: #ffffff;
}

.birthday-alert-header > i {
    font-size: 32px;
    line-height: 1;
}

.birthday-alert-header h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.birthday-alert-header span {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    opacity: 0.9;
}


/* =========================================================
   CONTENT
   ========================================================= */

.birthday-alert-list {
    padding: 18px 16px 16px;
}


/* =========================================================
   BIRTHDAY GROUP
   ========================================================= */

.birthday-group {
    margin: 0;
}

.birthday-upcoming-group {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e9edf2;
}


/* =========================================================
   GROUP TITLE
   ========================================================= */

.birthday-group-title {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 12px;

    color: #b4232f;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.birthday-group-title i {
    font-size: 17px;
}


/* =========================================================
   EMPLOYEE ITEM
   ========================================================= */

.birthday-alert-person {
    position: relative;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 11px 8px;

    margin-bottom: 8px;

    border-radius: 12px;

    background: #fff;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.birthday-alert-person:hover {
    background: #fff7f7;
    transform: translateX(2px);
}


/* Red accent */

.birthday-alert-person::before {
    content: "";

    position: absolute;

    left: 0;
    top: 12px;
    bottom: 12px;

    width: 3px;

    border-radius: 4px;

    background: #c6283d;
}


/* =========================================================
   PHOTO
   ========================================================= */

.birthday-alert-photo {
    flex: 0 0 64px;

    width: 64px;
    height: 64px;

    border-radius: 50%;

    overflow: hidden;

    background: #f5e7e9;

    border: 2px solid #f1c5ca;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: 5px;
}

.birthday-alert-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.birthday-alert-photo i {
    font-size: 30px;
    color: #c6283d;
}


/* =========================================================
   EMPLOYEE INFORMATION
   ========================================================= */

.birthday-alert-info {
    min-width: 0;
    flex: 1;
}

.birthday-alert-info h5 {
    margin: 0;

    color: #075397;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.25;
}

.birthday-alert-designation {
    margin-top: 3px;

    color: #6b7280;

    font-size: 13px;
    line-height: 1.3;
}


/* =========================================================
   BIRTHDAY MESSAGE
   ========================================================= */

.birthday-wish {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-top: 7px;

    color: #b4232f;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;
}

.birthday-wish i {
    font-size: 13px;
}


/* =========================================================
   TODAY - SLIGHTLY STRONGER RED
   ========================================================= */

.birthday-group:first-child .birthday-alert-person {
    background: #fffafa;
}

.birthday-group:first-child .birthday-wish {
    color: #b4232f;
}


/* =========================================================
   UPCOMING
   ========================================================= */

.birthday-upcoming-group .birthday-alert-person {
    background: #fcfcfd;
}

.birthday-upcoming-group .birthday-wish {
    color: #c13a4b;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .birthday-alert-header {
        padding: 17px 16px;
    }

    .birthday-alert-header > i {
        font-size: 28px;
    }

    .birthday-alert-header h4 {
        font-size: 18px;
    }

    .birthday-alert-list {
        padding: 15px 12px;
    }

    .birthday-alert-photo {
        flex: 0 0 58px;
        width: 58px;
        height: 58px;
    }

    .birthday-alert-info h5 {
        font-size: 15px;
    }

    .birthday-alert-designation {
        font-size: 12px;
    }

    .birthday-wish {
        font-size: 11px;
    }

}

/* =====================================================
   ADVERTISEMENT SIDEBAR CARD
   ===================================================== */

.marketing-sidebar-card1 {
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}


/* =====================================================
   ADVERTISEMENT HEADER
   ===================================================== */

.marketing-sidebar-header1 {
    background: #0d4f83;
    color: #ffffff;
}

.marketing-sidebar-header1 h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
}

.marketing-sidebar-header1 h4 i {
    font-size: 1.1rem;
}


/* =====================================================
   ADVERTISEMENT IMAGE AREA
   ===================================================== */

.marketing-sidebar-card1 .right-marketing-grid {
    width: 100%;
    padding: 8px !important;
}

.marketing-sidebar-card1 .right-marketing-item {
    display: block;
    width: 100%;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
    background: #f5f7fa;
}


/* =====================================================
   ADVERTISEMENT IMAGE
   ===================================================== */

.marketing-sidebar-card1 .right-marketing-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}


/* Slight zoom when hovering */

.marketing-sidebar-card1 .right-marketing-item:hover
.right-marketing-image {
    transform: scale(1.03);
}


/* =====================================================
   EMPTY STATE
   ===================================================== */

.marketing-sidebar-card1 .right-marketing-empty {
    padding: 25px 15px;
    text-align: center;
    color: #6b7280;
}

.marketing-sidebar-card1 .right-marketing-empty i {
    display: block;
    font-size: 2rem;
    margin-bottom: 8px;
}

.marketing-sidebar-card1 .right-marketing-empty p {
    margin: 0;
    font-size: 0.9rem;
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 991px) {

    .marketing-sidebar-card1 .right-marketing-image {
        max-height: 320px;
    }

}

@media (max-width: 767px) {

    .marketing-sidebar-card1 {
        border-radius: 12px;
    }

    .marketing-sidebar-header1 h4 {
        font-size: 1rem;
    }

    .marketing-sidebar-card1 .right-marketing-image {
        max-height: 360px;
    }

}

/* =========================================================
   MARKETING & ADVERTISEMENTS
   ========================================================= */

.marketing-card {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
}


/* =========================================================
   HEADER
   ========================================================= */

.marketing-card .update-card-header {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 61px;
    padding: 14px 22px;

    background: #06477f;
    color: #fff;
}

.marketing-card .update-card-header h4 {
    display: flex;
    align-items: center;
    gap: 11px;

    margin: 0;

    font-size: 1.12rem;
    font-weight: 700;
}

.marketing-card .update-card-header h4 i {
    color: #ff8a00;
    font-size: 1.25rem;
}


/* =========================================================
   ADS CONTAINER
   ========================================================= */

.marketing-card .marketing-list {
    display: flex;
    flex-direction: column;
    gap: 16px;

    padding: 18px;
}


/* =========================================================
   INDIVIDUAL ADVERTISEMENT
   ========================================================= */

.marketing-card .marketing-item {
    display: flex;
    align-items: stretch;

    width: 100%;
    min-height: 170px;

    background: #fff;

    border: 1px solid #e5eaf0;
    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

    animation: adSlideIn 0.5s ease both;
}


/* Hover */

.marketing-card .marketing-item:hover {
    transform: translateY(-3px);

    border-color: rgba(6, 71, 127, 0.25);

    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.12);
}


/* =========================================================
   AD IMAGE
   ========================================================= */

.marketing-card .marketing-image {
    position: relative;

    flex: 0 0 290px;
    width: 290px;

    height: 170px;

    overflow: hidden;

    background: #f1f4f7;
}


/* Actual WordPress image */

.marketing-card .marketing-image img {
    display: block;

    width: 100% !important;
    height: 100% !important;

    max-width: none;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.5s ease,
        filter 0.35s ease;
}


/* Image hover */

.marketing-card .marketing-item:hover .marketing-image img {
    transform: scale(1.06);
}


/* Image overlay */

.marketing-card .marketing-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(6, 71, 127, 0) 50%,
        rgba(6, 71, 127, 0.12)
    );

    opacity: 0;

    transition: opacity 0.3s ease;

    pointer-events: none;
}

.marketing-card .marketing-item:hover .marketing-image::after {
    opacity: 1;
}


/* =========================================================
   AD CONTENT
   ========================================================= */

.marketing-card .marketing-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;

    padding: 22px 26px;
}


/* Small red accent */

.marketing-card .marketing-content::before {
    content: "";

    width: 42px;
    height: 3px;

    margin-bottom: 11px;

    border-radius: 10px;

    background: #c6283d;

    transition: width 0.3s ease;
}

.marketing-card .marketing-item:hover
.marketing-content::before {
    width: 70px;
}


/* Title */

.marketing-card .marketing-content h5 {
    margin: 0 0 8px;

    color: #075397;

    font-size: 1.15rem;
    font-weight: 700;

    line-height: 1.4;
}


/* Description */

.marketing-card .marketing-content p {
    margin: 0;

    color: #5f6b78;

    font-size: 0.94rem;

    line-height: 1.65;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
}


/* =========================================================
   ANIMATION
   ========================================================= */

@keyframes adSlideIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.marketing-card .marketing-item:nth-child(1) {
    animation-delay: 0.05s;
}

.marketing-card .marketing-item:nth-child(2) {
    animation-delay: 0.15s;
}

.marketing-card .marketing-item:nth-child(3) {
    animation-delay: 0.25s;
}


/* =========================================================
   LARGE TABLET
   ========================================================= */

@media (max-width: 1199px) {

    .marketing-card .marketing-image {
        flex-basis: 250px;
        width: 250px;
        height: 160px;
    }

    .marketing-card .marketing-item {
        min-height: 160px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .marketing-card .marketing-image {
        flex-basis: 230px;
        width: 230px;
        height: 155px;
    }

    .marketing-card .marketing-item {
        min-height: 155px;
    }

    .marketing-card .marketing-content {
        padding: 18px 20px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .marketing-card {
        border-radius: 14px;
    }

    .marketing-card .update-card-header {
        padding: 14px 16px;
    }

    .marketing-card .update-card-header h4 {
        font-size: 1rem;
    }


    .marketing-card .marketing-list {
        padding: 12px;
        gap: 14px;
    }


    /* Image goes ABOVE content */

    .marketing-card .marketing-item {
        display: flex;
        flex-direction: column;

        min-height: 0;

        border-radius: 12px;
    }


    .marketing-card .marketing-image {
        flex: none;

        width: 100%;
        height: auto;

        aspect-ratio: 16 / 9;
    }


    .marketing-card .marketing-image img {
        width: 100% !important;
        height: 100% !important;

        object-fit: cover;
    }


    .marketing-card .marketing-content {
        padding: 16px;
    }


    .marketing-card .marketing-content h5 {
        font-size: 1rem;
    }

    .marketing-card .marketing-content p {
        font-size: 0.88rem;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .marketing-card .marketing-list {
        padding: 10px;
    }

    .marketing-card .marketing-image {
        aspect-ratio: 4 / 3;
    }

    .marketing-card .marketing-content {
        padding: 14px;
    }

}

/* =========================================================
   COMPACT & MODERN PROFILE TITLES
   ========================================================= */

.compact-profile-card .compact-profile-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    color: #064f91;

    margin: 0 0 4px !important;
    padding: 0 !important;
}

/* NE1 Circle */
.compact-profile-card:not(.cgm-profile-card) .compact-profile-title {
    font-size: 1.3rem !important;
}

/* CGM Name */
.compact-profile-card.cgm-profile-card .compact-profile-title {
    font-size: 1.25rem !important;
}

/* Designation */
.compact-profile-card .compact-designation {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #64748b;

    margin-top: 0;
    margin-bottom: 13px;
    line-height: 1.35;
}

/* Description */
.compact-profile-card .compact-profile-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #475569;
}

/* Button */
.compact-profile-card .profile-action-btn {
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    min-height: 41px;
    border-radius: 8px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .compact-profile-card .compact-profile-title,
    .compact-profile-card:not(.cgm-profile-card) .compact-profile-title,
    .compact-profile-card.cgm-profile-card .compact-profile-title {
        font-size: 1.15rem !important;
    }

    .compact-profile-card .compact-designation {
        font-size: 0.78rem !important;
    }

    .compact-profile-card .compact-profile-text {
        font-size: 0.84rem;
    }

    .compact-profile-card .profile-action-btn {
        font-size: 0.8rem !important;
    }
}
