/* ============================================
   FORT PORTAL CITY THEME - MAIN STYLES
   ============================================ */

/* ---------- GLOBAL ---------- */
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
/*blog single page*/
/* ----------------------------------------------
   FULL WIDTH POST TEMPLATE STYLES
   WordPress Template: Full Width Post
   ---------------------------------------------- */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  
    line-height: 1.8;
    color: #2d2d2d;
    background: #f8f9fc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

/* ---------- POST ARTICLE ---------- */
article.post {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    padding: 0 0 35px;
    margin: 40px 0 50px;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.3s ease;
}

article.post:hover {
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

/* Featured image */
.featured-image {
    margin: -2px -2px 0 -2px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    position: relative;
    background: #eef2f7;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

article.post:hover .featured-image img {
    transform: scale(1.02);
}

.featured-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
    pointer-events: none;
}

/* Post header */
.post-header {
    padding: 32px 35px 12px;
    position: relative;
}

.post-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0a1e30;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.post-header h1::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a3a5c, #3eb75f);
    border-radius: 2px;
    margin-bottom: 18px;
}

.post-date {
    font-size: 0.95rem;
    color: #7a8a9e;
    font-weight: 500;
    display: inline-block;
    background: #f0f4f9;
    padding: 4px 18px;
    border-radius: 30px;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

/* Post content */
.post-content {
    padding: 12px 35px 25px;
    font-size: 1.08rem;
    color: #2d3e53;
}

.post-content p {
    margin-bottom: 1.6rem;
}

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

.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #0a1e30;
}

.post-content a {
    color: #1a5c7a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid rgba(26, 92, 122, 0.15);
    transition: border-color 0.25s, color 0.25s;
}

.post-content a:hover {
    border-bottom-color: #1a3a5c;
    color: #0f2b42;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.6rem;
    padding-left: 1.8rem;
}

.post-content li {
    margin-bottom: 0.4rem;
}

.post-content blockquote {
    margin: 2rem 0;
    padding: 1.2rem 2rem;
    background: #f5f8fc;
    border-left: 6px solid #1a3a5c;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1a2e44;
}

.post-content blockquote p {
    margin-bottom: 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.post-content .wp-block-image {
    margin: 1.5rem 0;
}

/* ---------- POST NAVIGATION ---------- */
.post-navigation {
    padding: 22px 35px 5px;
    border-top: 2px solid #eef2f7;
    margin-top: 15px;
}

.post-navigation .row {
    align-items: center;
}

.nav-previous a,
.nav-next a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1a3a5c;
    font-weight: 500;
    transition: color 0.25s, transform 0.2s;
    padding: 6px 0;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #3eb75f;
    transform: translateX(3px);
}

.nav-next a:hover {
    transform: translateX(-3px);
}

.nav-previous .nav-title,
.nav-next .nav-title {
    font-size: 0.95rem;
    max-width: 250px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-subtitle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f0f4f9;
    border-radius: 50%;
    font-size: 0.9rem;
    transition: background 0.25s, transform 0.2s;
    flex-shrink: 0;
}

.nav-previous a:hover .nav-subtitle,
.nav-next a:hover .nav-subtitle {
    background: #1a3a5c;
    color: #fff;
    transform: scale(1.05);
}

.nav-next .nav-subtitle {
    order: 1;
}

.nav-next .nav-title {
    order: 0;
}

/* ---------- UPDATES / NEWSLETTER SECTION ---------- */
#updates1 {
    background: linear-gradient(135deg, #f0f5fa 0%, #e6edf5 100%);
    padding: 60px 0 70px;
    margin: 20px 0 0;
    border-radius: 24px 24px 0 0;
}

#updates1 h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0a1e30;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

#updates1 h3::after {
    content: '✨';
    display: inline-block;
    margin-left: 10px;
    font-size: 1.8rem;
}

#updates1 p {
    font-size: 1.1rem;
    color: #4a5f74;
    margin-bottom: 20px;
}

#updates1 .sub {
    max-width: 600px;
    margin: 0 auto;
}

/* Mailchimp form styling */
.mc4wp-form {
    margin: 10px auto 0;
}

.mc4wp-form-fields p {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.mc4wp-form input[type="email"] {
    flex: 1 1 280px;
    padding: 16px 24px;
    border: 2px solid #dde3ec;
    border-radius: 50px;
    font-size: 1rem;
    background: #ffffff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    min-width: 200px;
    font-family: inherit;
}

.mc4wp-form input[type="email"]:focus {
    border-color: #1a3a5c;
    box-shadow: 0 0 0 6px rgba(26, 58, 92, 0.08);
}

.mc4wp-form input[type="email"]::placeholder {
    color: #9aa5b5;
}

.mc4wp-form input[type="submit"] {
    background: linear-gradient(135deg, #1a3a5c, #2a5f7a);
    border: none;
    padding: 16px 42px;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    white-space: nowrap;
    flex: 0 1 auto;
    font-family: inherit;
    text-transform: uppercase;
}

.mc4wp-form input[type="submit"]:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(26, 58, 92, 0.25);
}

.mc4wp-form input[type="submit"]:active {
    transform: scale(0.97);
}

.mc4wp-response {
    margin-top: 16px;
    font-size: 0.95rem;
    padding: 10px;
    border-radius: 8px;
}

.mc4wp-response p {
    margin-bottom: 0;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 992px) {
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-content {
        font-size: 1.02rem;
        padding: 10px 25px 20px;
    }
    
    .post-header {
        padding: 25px 25px 10px;
    }
    
    .post-navigation {
        padding: 18px 25px 5px;
    }
    
    .nav-previous .nav-title,
    .nav-next .nav-title {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    article.post {
        margin: 25px 0 35px;
        border-radius: 14px;
    }
    
    .post-header h1 {
        font-size: 1.6rem;
    }
    
    .post-header h1::before {
        width: 40px;
        height: 3px;
        margin-bottom: 14px;
    }
    
    .post-content {
        font-size: 0.98rem;
        padding: 8px 20px 18px;
    }
    
    .post-header {
        padding: 20px 20px 8px;
    }
    
    .post-navigation {
        padding: 15px 20px 5px;
    }
    
    .post-navigation .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center !important;
    }
    
    .post-navigation .col-md-6:first-child {
        margin-bottom: 12px;
    }
    
    .nav-previous a,
    .nav-next a {
        justify-content: center;
        width: 100%;
    }
    
    .nav-previous .nav-title,
    .nav-next .nav-title {
        max-width: 200px;
        white-space: normal;
    }
    
    #updates1 {
        padding: 40px 0 50px;
    }
    
    #updates1 h3 {
        font-size: 1.8rem;
    }
    
    #updates1 p {
        font-size: 1rem;
    }
    
    .mc4wp-form input[type="email"] {
        flex: 1 1 100%;
    }
    
    .mc4wp-form input[type="submit"] {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .mc4wp-form-fields p {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .post-header h1 {
        font-size: 1.3rem;
    }
    
    .post-content {
        font-size: 0.92rem;
        padding: 6px 16px 14px;
    }
    
    .post-header {
        padding: 16px 16px 6px;
    }
    
    .post-date {
        font-size: 0.8rem;
        padding: 3px 14px;
    }
    
    .post-navigation {
        padding: 12px 16px 5px;
    }
    
    .nav-previous .nav-title,
    .nav-next .nav-title {
        font-size: 0.85rem;
        max-width: 140px;
    }
    
    #updates1 h3 {
        font-size: 1.4rem;
    }
    
    #updates1 h3::after {
        font-size: 1.2rem;
    }
}

/* ---------- UTILITY CLASSES ---------- */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.w-100 {
    width: 100%;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-4 {
    padding-bottom: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.fw-bold {
    font-weight: 700;
}

.text-uppercase {
    text-transform: uppercase;
}

.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-inline {
    padding-left: 0;
    list-style: none;
}

.list-inline-item {
    display: inline-block;
    margin-right: 4px;
}

.small {
    font-size: 0.9rem;
}

.border-light {
    border-color: rgba(255, 255, 255, 0.15);
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ---------- FONT AWESOME ICON FALLBACK ---------- */
.fas {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', Arial, sans-serif;
    font-weight: 900;
}

.fa-arrow-left:before {
    content: '←';
}

.fa-arrow-right:before {
    content: '→';
}

/* ---------- ACCESSIBILITY & PRINT ---------- */
@media print {
    article.post {
        box-shadow: none;
        border: 1px solid #ddd;
        transform: none !important;
    }
    
    .featured-image::after {
        display: none;
    }
    
    #updates1 {
        background: #f5f5f5;
        border: 1px solid #ddd;
    }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

article.post {
    animation: fadeInUp 0.6s ease forwards;
}

/* ---------- STICKY POST INDICATOR ---------- */
.sticky {
    border-left: 4px solid #3eb75f;
}

.sticky .post-header h1::before {
    background: linear-gradient(90deg, #3eb75f, #2a8a4a);
}
/*end blog single page*/
main{
    background: #17520c !important;
}
#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
  display: block;
  background: #17520c !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  padding: 0px 10px 0px 10px;
  line-height: 35px;
  text-decoration: none;
  text-transform: none;
  vertical-align: baseline;
}

/* ---------- COLORS ---------- */
:root {
    --fort-blue: #1a5276;
    --fort-gold: #f1c40f;
    --fort-dark: #1a2a3a;
    --fort-light: #f8f9fa;
    
}
/* ====================================================
   FORTPORTAL - SIDEBAR STYLING
   Consistent with Primary Color #17510c
   ==================================================== */

/* Sidebar Container */
#sidebar {
    padding-right: 20px;
}

/* Widget Area */
#widget-area {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Individual Widget Styling */
#widget-area .wp-block-group,
#widget-area > * {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

/* Accent Border - Top Left Corner for Widgets */
#widget-area .wp-block-group::before,
#widget-area > *:not(.wp-block-search)::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #17510c, #2a8a1a);
    border-radius: 8px 0 0 0;
}

/* Widget Hover Effect */
#widget-area .wp-block-group:hover,
#widget-area > *:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

/* Widget Headings */
#widget-area h2,
#widget-area .wp-block-heading {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animated Underline for Widget Titles */
#widget-area h2::after,
#widget-area .wp-block-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 35px;
    height: 2px;
    background: #17510c;
    transition: width 0.3s ease;
}

#widget-area h2:hover::after,
#widget-area .wp-block-heading:hover::after {
    width: 70px;
}

/* ====================================================
   SEARCH FORM STYLING
   ==================================================== */

.wp-block-search {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

/* Accent Border for Search Widget */
.wp-block-search::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #17510c, #2a8a1a);
    border-radius: 8px 0 0 0;
}

.wp-block-search__label {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.wp-block-search__label::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 35px;
    height: 2px;
    background: #17510c;
}

.wp-block-search__inside-wrapper {
    display: flex;
    gap: 10px;
}

.wp-block-search__input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fafafa;
    transition: all 0.3s ease;
    color: #333;
}

.wp-block-search__input:focus {
    border-color: #17510c;
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 81, 12, 0.1);
}

.wp-block-search__input::placeholder {
    color: #999;
}

.wp-block-search__button {
    padding: 10px 24px;
    background: #17510c;
    color: #ffffff;
    border: 2px solid #17510c;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wp-block-search__button:hover {
    background: transparent;
    color: #17510c;
    border-color: #17510c;
}

.wp-block-search__button:active {
    transform: scale(0.95);
}

/* ====================================================
   LATEST POSTS STYLING
   ==================================================== */

.wp-block-latest-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-latest-posts li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.wp-block-latest-posts li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wp-block-latest-posts li:first-child {
    padding-top: 0;
}

.wp-block-latest-posts li a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: block;
    transition: all 0.3s ease;
    padding-left: 0;
    position: relative;
}

.wp-block-latest-posts li a::before {
    content: '›';
    color: #17510c;
    font-weight: 700;
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.wp-block-latest-posts li a:hover {
    color: #17510c;
    padding-left: 20px;
}

.wp-block-latest-posts li a:hover::before {
    opacity: 1;
    margin-right: 10px;
}

/* Post Date Styling (if visible) */
.wp-block-latest-posts__post-date {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* ====================================================
   LATEST COMMENTS STYLING
   ==================================================== */

.wp-block-latest-comments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wp-block-latest-comments .no-comments {
    color: #999;
    font-style: italic;
    padding: 10px 0;
    text-align: center;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
}

/* ====================================================
   EDIT WIDGET LINK
   ==================================================== */

#widget-area .edit-link {
    display: inline-block;
    margin-top: 5px;
    padding: 6px 16px;
    border: 1px dashed #17510c;
    border-radius: 4px;
    color: #17510c;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

#widget-area .edit-link a {
    color: #17510c;
    text-decoration: none;
    display: block;
}

#widget-area .edit-link:hover {
    background: #17510c;
    border-color: #17510c;
}

#widget-area .edit-link:hover a {
    color: #ffffff;
}

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

@media (max-width: 768px) {
    #sidebar {
        padding-right: 0;
        margin-top: 30px;
    }
    
    #widget-area {
        gap: 20px;
    }
    
    #widget-area .wp-block-group,
    #widget-area > * {
        padding: 20px 15px;
    }
    
    .wp-block-search__inside-wrapper {
        flex-direction: column;
    }
    
    .wp-block-search__button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    #widget-area .wp-block-group,
    #widget-area > * {
        padding: 15px 12px;
    }
    
    #widget-area h2,
    #widget-area .wp-block-heading {
        font-size: 16px;
    }
    
    .wp-block-latest-posts li a {
        font-size: 13px;
    }
}

/* ====================================================
   ADDITIONAL SIDEBAR ENHANCEMENTS
   ==================================================== */

/* Sticky Sidebar (optional) */
#sidebar.sticky {
    position: sticky;
    top: 30px;
    align-self: flex-start;
}

/* Widget Spacing */
#widget-area > *:not(:last-child) {
    margin-bottom: 25px;
}

/* Custom Widget Icon Decoration */
#widget-area .wp-block-group .wp-block-heading {
    display: flex;
    align-items: center;
}

/* Add decorative dot before widget titles */
#widget-area .wp-block-heading::before {
    content: '●';
    color: #17510c;
    margin-right: 10px;
    font-size: 12px;
}

/* Scrollbar Styling for Sidebar (if needed) */
#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-thumb {
    background: #17510c;
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: #2a8a1a;
}

/* Print Styles */
@media print {
    #sidebar {
        display: none;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    #widget-area .wp-block-group,
    #widget-area > *,
    .wp-block-search {
        background: #1a1a1a;
        border-color: #333;
    }
    
    #widget-area h2,
    #widget-area .wp-block-heading,
    .wp-block-search__label {
        color: #e8e8e8;
        border-bottom-color: #333;
    }
    
    .wp-block-latest-posts li a {
        color: #d0d0d0;
    }
    
    .wp-block-latest-posts li {
        border-bottom-color: #333;
    }
    
    .wp-block-search__input {
        background: #2a2a2a;
        border-color: #444;
        color: #e8e8e8;
    }
    
    .wp-block-search__input:focus {
        background: #333;
    }
}
/* ====================================================
   FORTPORTAL - Consistent Border Template
   ==================================================== */

/* Main Page Wrapper */
.fortportal-page-wrapper {
    padding: 20px 0 40px;
}

/* Content Container with Border */
.fortportal-content {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

/* Accent Border - Top Left Corner */
.fortportal-content::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #17510c, #2a8a1a);
    border-radius: 8px 0 0 0;
}

/* Accent Border - Bottom Right Corner */
.fortportal-content::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2a8a1a, #17510c);
    border-radius: 0 0 8px 0;
}

/* Page Header Styles */
.page-header-wrapper {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    padding: 0;
}

/* Animated Underline for Title */
.title-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #17510c, #2a8a1a);
    margin-top: 10px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.page-header-wrapper:hover .title-underline {
    width: 120px;
}

/* Content Area with Inner Border */
.page-content-wrapper {
    padding: 10px 0;
}

/* Optional: Border on Content Images */
.page-content-wrapper img {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 5px;
    background: #fafafa;
}

/* Consistent Border for Widgets in Sidebar */
.widget {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

/* Widget Title Accent */
.widget-title {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
    margin-bottom: 15px;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #17510c;
}

/* Comments Section Border */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.comment-list .comment {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fafafa;
}

/* Page Links Navigation */
.page-links {
    margin: 30px 0 20px;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #f8f9fa;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #ffffff;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #17510c;
    color: #ffffff;
    border-color: #17510c;
}

/* Edit Link Styling */
.edit-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    border: 1px dashed #17510c;
    border-radius: 4px;
    color: #17510c;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .fortportal-content {
        padding: 20px 15px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .fortportal-content::before,
    .fortportal-content::after {
        width: 40px;
        height: 3px;
    }
}

/* Optional: Hover Effect for Cards */
.fortportal-content:hover,
.widget:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

/* Utility Classes for Additional Border Options */
.border-left-accent {
    border-left: 4px solid #17510c !important;
}

.border-top-accent {
    border-top: 4px solid #17510c !important;
}

.shadow-hover {
    transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

/* Additional Accent Color Variations */
.fortportal-accent-border {
    border: 2px solid #17510c !important;
}

.fortportal-accent-bg {
    background: #17510c !important;
    color: #ffffff !important;
}

.fortportal-accent-text {
    color: #17510c !important;
}

/* Button Styling with Primary Color */
.fortportal-btn {
    display: inline-block;
    padding: 10px 24px;
    background: #17510c;
    color: #ffffff;
    border: 2px solid #17510c;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.fortportal-btn:hover {
    background: transparent;
    color: #17510c;
    border-color: #17510c;
}

.fortportal-btn-outline {
    background: transparent;
    color: #17510c;
    border: 2px solid #17510c;
}

.fortportal-btn-outline:hover {
    background: #17510c;
    color: #ffffff;
}

/* Feature Box with Border Accent */
.fortportal-feature-box {
    padding: 25px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    border-top: 4px solid #17510c;
    background: #ffffff;
    transition: all 0.3s ease;
}

.fortportal-feature-box:hover {
    box-shadow: 0 4px 15px rgba(23, 81, 12, 0.15);
}

/* Table Border Styling */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table th {
    background: #17510c;
    color: #ffffff;
    padding: 12px 15px;
    border: 1px solid #17510c;
}

table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}

table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Blockquote Styling */
blockquote {
    border-left: 4px solid #17510c;
    padding: 15px 20px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 0 4px 4px 0;
}

/* Form Input Borders */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
    border-color: #17510c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(23, 81, 12, 0.1);
}
.text-gold { color: #e70e08 !important; }
.bg-gold { background-color: var(--fort-gold) !important; }
.text-fort-blue { color: var(--fort-blue) !important; }
.bg-fort-blue { background-color: var(--fort-blue) !important; }

/* ---------- BUTTONS ---------- */
.btn-gold {
    background-color: var(--fort-gold);
    border: 2px solid var(--fort-gold);
    color: #1a2a3a;
    font-weight: 600;
    padding: 12px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
footer{
    background-color: #0e140d !important;
}


.btn-gold:hover {
    background-color: #d4ac0d;
    border-color: #d4ac0d;
    color: #1a2a3a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(241, 196, 15, 0.4);
}

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--fort-gold);
    color: var(--fort-gold);
    font-weight: 600;
    padding: 8px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--fort-gold);
    color: #1a2a3a;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- SECTION TITLES ---------- */
.section-title {
    font-weight: 800;
    text-transform: uppercase;
    color: #17520c;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--fort-gold);
    border-radius: 2px;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

.section-title.text-white {
    color: #fff;
}

.section-title.text-white::after {
    background: var(--fort-gold);
}

/* ---------- TOP BAR ---------- */
#top_bar {
    background: #17520c;
    padding: 5px 0;
    color: #fff;
}

#top_bar p {
    font-size: 12px;
    color: #fff !important;
    margin-bottom: 0;
}

.top_socials {
    float: right;
}

.top_socials ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.top_socials ul li a {
    color: #fff;
    transition: color 0.3s ease;
}

.top_socials ul li a:hover {
    color: var(--fort-gold);
}

.top_socials img {
    height: 18px;
}

/* ---------- HEADER / MENU ---------- */
#header {
    background: #fff !important;
    padding: 0;
}

.navbar-brand img {
    height: 120px !important;
}

#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item > a.mega-menu-link {
  line-height: 40px;
  height: 40px;
  padding: 0 15px;
  color: #18500c !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  background: #fff !important;
}
.phone-number{
    background-color: var(--fort-gold);
  border: 2px solid var(--fort-gold);
  color: #1a2a3a;
  font-weight: 600;
  padding: 12px 35px;
  border-radius: 50px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.wa__popup_heading{
    background:#ff0000 !important;
}
.wa__btn_popup .wa__btn_popup_icon {
  background: #2db742;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  box-shadow: 0 6px 8px 2px rgba(0,0,0,.14);
  -webkit-box-shadow: 0 6px 8px 2px rgba(0,0,0,.14);
  -moz-box-shadow: 0 6px 8px 2px rgba(0,0,0,.14);
  height: 56px;
  width: 56px;
  background: #f00 !important;
}
#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item > a.mega-menu-link:hover {
    color: var(--fort-blue) !important;
}

/* ---------- HERO SLIDER ---------- */
#hero-slider {
    margin: 0;
    padding: 0;
}

.carousel-item {
    height: 100vh;
    min-height: 500px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    padding: 0 20px;
    background: rgba(0,0,0,0.4);
}

.carousel-caption .slide-content {
    max-width: 800px;
    margin: 0 auto;
}

.carousel-caption h2 {
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
    font-size: 3rem;
}

.gold-line {
    width: 60px;
    height: 3px;
    background: var(--fort-gold);
    border: none;
    margin: 15px auto;
}

.carousel-caption .lead {
    font-size: 1.25rem;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin: 0 5px;
}

.carousel-indicators .active {
    background: var(--fort-gold);
    border-color: var(--fort-gold);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,0,0,0.6);
    opacity: 1;
}

/* ---------- ABOUT CITY ---------- */
#about-city {
    padding: 80px 0;
    background: #fff;
}

#about-city .lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

.feature-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--fort-gold);
}

.feature-icon {
    color: var(--fort-gold);
}

.feature-card h4 {
    font-weight: 700;
  color: #000;
  font-size: 1.1rem;
}

/* ---------- MAYOR MESSAGE ---------- */
#mayor-message {
    padding: 60px 0;
}

.mayor-image {
    height: 300px;
    width: 300px;
    object-fit: cover;
    border: 5px solid var(--fort-gold);
}

#mayor-message blockquote {
    border-left: 4px solid var(--fort-gold);
    padding-left: 20px;
}

#mayor-message .lead {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* ---------- CITY SERVICES ---------- */
#city-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--fort-gold);
}

.service-icon {
    color: var(--fort-gold);
}

.service-card h4 {
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ---------- CITY APPROACH ---------- */
#city-approach {
    padding: 60px 0;
}

.approach-card {
    transition: all 0.3s ease;
    height: 100%;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* ---------- WHY MATTERS ---------- */
#why-matters .section-title {
    color: #fff !important;
}

#why-matters .lead {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* ---------- NEWS SECTION ---------- */
#city-news {
    padding: 80px 0;
    background: #fff;
}

.news-card {
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.news-image {
    height: 200px;
    object-fit: cover;
}

.news-title {
    font-weight: 700;
    color: var(--fort-dark);
    font-size: 1rem;
}

.news-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- CONTACT SECTION ---------- */
#contact-city {
    padding: 80px 0;
}

.contact-side {
    border-bottom: 3px solid var(--fort-gold);
}

.contact-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 35px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 8px !important;
    color: #fff !important;
    padding: 12px 15px !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.6) !important;
}

.contact-form .wpforms-field-label {
    color: #fff !important;
}

.contact-form input[type="submit"] {
    background: var(--fort-gold) !important;
    border: 2px solid var(--fort-gold) !important;
    color: #1a2a3a !important;
    font-weight: 600 !important;
    padding: 12px 40px !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}

.contact-form input[type="submit"]:hover {
    background: #d4ac0d !important;
    border-color: #d4ac0d !important;
    transform: translateY(-2px);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--fort-dark);
    color: #ccc;
    border-top: 3px solid var(--fort-gold);
}

footer h5 {
    color: #fff;
    font-weight: 700;
}

.footer-link {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--fort-gold);
}

.footer-dark .bi {
    vertical-align: middle;
}

#ft {
    text-align: center;
    padding-top: 60px;
}

#ft ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 30px;
}

.fcv {
    text-align: center;
}

.fcv h4 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 300;
    color: #aaa;
}

.fcv h5 {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.fcv img {
    filter: invert(1);
    margin-bottom: 1rem;
}

.fsocials img {
    padding-right: 1rem;
}

.bottom_menu {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    text-transform: uppercase;
    list-style: none;
    padding: 20px 0;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 0;
}

.bottom_menu li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom_menu li a:hover {
    color: var(--fort-gold);
}

.bottom_menu li:not(:last-child)::after {
    content: "|";
    margin-left: 30px;
    color: #555;
}

#footer p {
    margin-top: 20px;
    text-align: center;
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .carousel-item {
        height: 70vh;
        min-height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 2.5rem !important;
    }
    
    .mayor-image {
        height: 200px;
        width: 200px;
    }
    
    .bottom_menu {
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    
    .bottom_menu li:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .carousel-item {
        height: 60vh;
        min-height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem !important;
    }
    
    .carousel-caption .lead {
        font-size: 1rem !important;
    }
    
    .carousel-caption .btn {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
        margin: 5px !important;
    }
    
    .btn-gold,
    .btn-outline-light {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
    }
    
    #about-city {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .top_socials {
        float: none;
        text-align: center;
        margin-top: 5px;
    }
    
    #top_bar p {
        text-align: center;
    }
    
    .navbar-brand img {
        height: 80px !important;
    }
    
    .feature-card,
    .service-card,
    .approach-card {
        margin-bottom: 15px;
    }
    
    .news-image {
        height: 180px;
    }
    #header {
  background: #fff !important;
  padding: 0;
}
    #ft ul {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .carousel-item {
        height: 50vh;
        min-height: 250px;
    }
    
    .carousel-caption h2 {
        font-size: 1.3rem !important;
    }
    
    .carousel-caption .lead {
        font-size: 0.85rem !important;
    }
    
    .gold-line {
        width: 40px;
        margin: 8px auto;
    }
    
    .mayor-image {
        height: 150px;
        width: 150px;
    }
    
    #city-services,
    #city-news,
    #contact-city {
        padding: 40px 0;
    }
}