.new-mayor-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #48b8ac 0%, #017db0 50%, #48b8ac 100%);
    position: relative;
    overflow: hidden;
}

.new-mayor-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.mayor-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
    align-items: center;
}

/* Left Side: Premium Portrait Card */
.mayor-portrait-card {
    background: #eef2f6;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 25px 50px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    position: relative;
}

.mayor-avatar-frame {
    width: 100%;
    height: 440px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.mayor-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Name Overlay */
.mayor-name-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    z-index: 5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    width: 100%;
}

.mayor-name-overlay h2 {
    font-weight: 800;
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mayor-name-overlay span {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Social Buttons - The Orange Row */
.mayor-social-orange-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: -28px;
    position: relative;
    z-index: 10;
    padding: 0 15px;
}

.orange-social-btn {
    width: 48px;
    height: 48px;
    background: #017db0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(243, 112, 33, 0.25);
}

.orange-social-btn:hover {
    transform: translateY(-5px);
    background: #48b8ac;
    box-shadow: 0 12px 20px rgba(243, 112, 33, 0.35);
}

/* Bottom Action Buttons */
.mayor-action-buttons {
    padding: 25px 15px 15px;
    display: flex;
    gap: 8px;
}

.action-link {
    flex: 1;
    background: rgba(220, 227, 235, 0.6);
    padding: 12px 5px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.action-link:hover {
    background: #48b8ac;
}

.action-link:hover .top-text, .action-link:hover .sub-text {
    color: #fff;
}

.action-link .top-text {
    font-size: 0.7rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.action-link .sub-text {
    font-size: 0.8rem;
    color: #4a5568;
    font-weight: 500;
}

/* Right Side Layout */
.mayor-details-column {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Message Box */
.premium-message-card {
    background: #fff;
    padding: 35px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    position: relative;
}

.premium-message-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: #f1f5f9;
    font-family: serif;
    line-height: 1;
}

.premium-message-card h3 {
    font-weight: 800;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.premium-message-card p {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.nav-hub-box {
    /* padding: 25px; */
    /* border-radius: 15px; */
    /* margin-bottom: 25px; */
}

.nav-hub-box:last-child {
    margin-bottom: 0;
}

.hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hub-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
}

.hub-title-wrap i {
    font-size: 1.2rem;
    color: #fff;
}

.hub-title-wrap span {
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.all-services-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    transition: all 0.3s;
}

.all-services-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Quick Menu Grid */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 10px;
}

.hub-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.hub-item i {
    font-size: 1.3rem;
    color: #fff;
}

.hub-item span {
    font-size: 0.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    text-transform: uppercase;
}

.hub-item:hover {
    background: #fff;
    transform: translateY(-5px);
}

.hub-item:hover i, .hub-item:hover span {
    color: #017db0;
}

/* Online Transactions Grid */
.online-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.online-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.online-card.standout {
    background: #fff;
    border-color: #fff;
}

.online-card.standout .card-icon {
    background: #017db0;
    color: #fff;
}

.online-card.standout .card-text strong, 
.online-card.standout .card-text span {
    color: #1a365d;
}

.card-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.card-text span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.online-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.online-card:not(.standout):hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1400px) {
    .hub-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 1200px) {
    .mayor-layout { grid-template-columns: 1fr; }
    .hub-grid { grid-template-columns: repeat(9, 1fr); }
}

@media (max-width: 991px) {
    .hub-grid { grid-template-columns: repeat(5, 1fr); }
    .online-services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mayor-details-column{

    gap: 50px;
    }
    .hub-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hub-grid .hub-item:nth-child(n+9) { display: none; }
    .nav-hub-box { padding: 15px; }
    .new-mayor-section { padding: 40px 0; }
}

@media (max-width: 480px) {
    .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

.img-fluid-mayor {
    width: 12rem !important;
}
