.bruny-navy {

    background-color: #021841;

  }

.freycinet-sand {

    background-color: #ffefd4;

  }

.bass-strait-blue {

    background-color: #003b91;

  }

  .bass-strait-blue-text h3 {

    color: #003b91;

  }

.dove-lake-fog {

    background-color: #faf9f7;

  }

.mb90 {

    margin-bottom: 90px;

}

/* ===== STICKY HEADER STYLES ===== */
#header-section {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Adjust body padding to account for fixed header */
body {
    padding-top: 100px;
scrollbar-width: auto;
}

/* Header container adjustments */
#masthead {
    background: transparent;
}

/* Navigation text styling - dark text on white background */
.main-navigation ul.menu > li.menu-item > a {
    color: #333333 !important;
    font-weight: 600;
}

.main-navigation ul.menu > li.menu-item > a:hover {
    color: #021841 !important;
}

.main-navigation ul.menu > li.menu-item.current-menu-item > a,
.main-navigation ul.menu > li.menu-item.current-menu-parent > a,
.main-navigation ul.menu > li.menu-item.current-menu-ancestor > a {
    color: #021841 !important;
}

/* ===== ENHANCED MEGA MENU STYLES ===== */

/* Main navigation container */
.main-navigation {
    position: relative;
}

/* Top level menu items */
.main-navigation ul.menu > li.menu-item {
    position: relative;
}

/* Enhanced mega menu dropdown */
.has-mega-menu .mega-menu.sub-menu {
    position: fixed !important;
    <!-- top: 120px !important; /* Adjust based on header height */ -->
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 3px solid #021841;
    z-index: 999;
    transform: none !important;
}

/* Show mega menu on hover */
.has-mega-menu:hover .mega-menu.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: #003b91;
}   

/* Mega menu content styling */
.mega-menu .component {
    padding: 30px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensure mega menu content is centered */
.mega-menu .e-con-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TEXT-BASED MEGA MENU STYLES ===== */

/* Override any parent container constraints */
.has-mega-menu .mega-menu.sub-menu,
.has-mega-menu .mega-menu.sub-menu *,
.component-nav-menu-wrapper,
.main-navigation {
    max-width: none !important;
    overflow: visible !important;
  
}

/* Ensure navigation wrapper doesn't constrain mega menu */
.component-nav-menu-wrapper {
    position: static !important;
    overflow: visible !important;
}

/* Full width mega menu content for text-based layout */
.mega-menu .mega-menu-content {
    width: 100vw;
    max-width: none;
    padding: 40px 0;
    margin: 0;
    box-sizing: border-box;
}

/* Mega menu columns container */
.mega-menu .mega-menu-columns {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Individual mega menu columns - these styles are now in mega-menu.css */
/* Keeping this section as a reference but the actual styling comes from mega-menu.css */
.mega-menu .mega-menu-column {
    text-align: left;
}

/* Mega menu titles - these styles are now in mega-menu.css */
.mega-menu .mega-menu-title {
    font-weight: 600;
    color: #ffffff;
}

.mega-menu .mega-menu-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-menu .mega-menu-title a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Mega menu descriptions */
.mega-menu .mega-menu-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    height: 120px;
}

/* Enhanced image boxes in mega menu */
.mega-menu .component-image-box-wrapper {
    background: #faf9f7;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
    height: 100%;
}

.mega-menu .component-image-box-wrapper:hover {
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #021841;
}

/* Image styling in mega menu */
.mega-menu .component-image-box-img img {
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mega-menu .component-image-box-wrapper:hover .component-image-box-img img {
    transform: scale(1.05);
}

/* Title styling in mega menu */
.mega-menu .component-image-box-title {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #021841;
}

.mega-menu .component-image-box-title a {
    color: #021841;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mega-menu .component-image-box-title a:hover {
    color: #003b91;
}

/* ===== ENHANCED REGULAR DROPDOWN MENUS ===== */

/* Regular dropdown styling */
.main-navigation ul.sub-menu {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border-top: 3px solid #021841;
    padding: 15px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* Show regular dropdowns on hover */
.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown menu items */
.main-navigation ul.sub-menu li.menu-item {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.main-navigation ul.sub-menu li.menu-item:last-child {
    border-bottom: none;
}

.main-navigation ul.sub-menu li.menu-item a {
    padding: 12px 25px;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    border-radius: 0;
}

.main-navigation ul.sub-menu li.menu-item a:hover {
    background: #faf9f7;
    color: #021841;
    padding-left: 35px;
}

/* ===== MOBILE HEADER BUTTONS ===== */

/* Mobile header buttons container */
.mobile-header-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    width: 100%;
    flex-wrap: nowrap;
}

/* Ensure the container doesn't compress children */
.mobile-header-buttons > * {
    flex-shrink: 0;
}

/* Mobile menu button styling */
.menu-mobile-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003b91;
    border-radius: 50%;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    max-width: 44px !important;
    max-height: 44px !important;
    flex-shrink: 0;
    flex-grow: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 59, 145, 0.3);
    text-decoration: none;
    aspect-ratio: 1 / 1;
}

.menu-mobile-nav-button:hover {
    background: #021841;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 59, 145, 0.4);
}

.menu-mobile-nav-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 59, 145, 0.3);
}

/* Menu button icon styling */
.menu-mobile-nav-button .design-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.menu-mobile-nav-button .design-icon > span {
    display: block;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Remove gap when menu is active to form proper X */
.mobile-nav-active .menu-mobile-nav-button .design-icon {
    gap: 0;
    position: relative;
}

/* Animated hamburger icon when menu is active - perfect X formation */
.mobile-nav-active .menu-mobile-nav-button .design-icon > span:nth-child(1) {
    transform: rotate(45deg);
    width: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -1px;
}

.mobile-nav-active .menu-mobile-nav-button .design-icon > span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-active .menu-mobile-nav-button .design-icon > span:nth-child(3) {
    transform: rotate(-45deg);
    width: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -1px;
}

/* Mobile call button */
.mobile-call-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #003b91;
    color: #ffffff !important;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 59, 145, 0.3);
    min-width: 150px;
    height: 36px;
    white-space: nowrap;
}

.mobile-call-button:hover {
    background: #021841;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 59, 145, 0.4);
    color: #ffffff !important;
}

.mobile-call-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 59, 145, 0.3);
}

.mobile-call-button i {
    font-size: 12px;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

.mobile-call-button .call-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Phone icon pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Hide call button on desktop */
@media (min-width: 1025px) {
    .mobile-call-button {
        display: none !important;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .mobile-header-buttons {
        gap: 8px;
    }
    
    .mobile-call-button {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 80px;
        height: 32px;
    }
    
    .mobile-call-button i {
        font-size: 10px;
        margin-right: 4px;
    }
    
    /* Smaller menu button on small screens */
    .menu-mobile-nav-button {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }
    
    .menu-mobile-nav-button .design-icon > span {
        width: 16px;
        height: 2px;
    }
    
    /* Adjust animation for smaller button - perfect X formation */
    .mobile-nav-active .menu-mobile-nav-button .design-icon > span:nth-child(1) {
        transform: rotate(45deg);
        width: 14px;
        margin-left: -7px;
        margin-top: -1px;
    }
    
    .mobile-nav-active .menu-mobile-nav-button .design-icon > span:nth-child(3) {
        transform: rotate(-45deg);
        width: 14px;
        margin-left: -7px;
        margin-top: -1px;
    }
}

/* ===== XLBOXES MOBILE IMAGE STYLES ===== */

/* Mobile styles for XLboxes images */
@media (max-width: 768px) {
    /* Override existing styles with more specific selectors */
    .component-living-wrapper .component-living-item .living-style-3 .living-image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 100% !important;
        min-height: 250px !important;
        overflow: hidden !important;
        padding-top: 0 !important; /* Override the existing padding-top */
        position: relative !important;
    }
    
    .component-living-wrapper .component-living-item .living-style-3 .living-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        position: static !important; /* Override absolute positioning */
        top: auto !important;
        transform: none !important; /* Reset any transforms */
    }
    
    /* Ensure the living item container has proper height */
    .component-living-wrapper .component-living-item {
        height: 100% !important;
        min-height: 400px !important;
    }
    
    .component-living-wrapper .component-living-item .living.living-style-3 {
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .component-living-wrapper .component-living-item .living-style-3 .living-content-main {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
}

/* ===== CONTACT FORM STYLES ===== */

/* Contact form select dropdown styling */
.wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: #ffffff;
    font-size: 16px;
    font-family: inherit;
    color: #333333;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: #003b91;
    box-shadow: 0 0 0 3px rgba(0, 59, 145, 0.1);
}

.wpcf7-form-control.wpcf7-select:hover {
    border-color: #021841;
}

/* Contact form textarea styling */
.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: #ffffff;
    font-size: 16px;
    font-family: inherit;
    color: #333333;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: #003b91;
    box-shadow: 0 0 0 3px rgba(0, 59, 145, 0.1);
}

.wpcf7-form-control.wpcf7-textarea:hover {
    border-color: #021841;
}

/* Ensure consistent styling for all form controls */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: #ffffff;
    font-size: 16px;
    font-family: inherit;
    color: #333333;
    transition: all 0.3s ease;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus {
    outline: none;
    border-color: #003b91;
    box-shadow: 0 0 0 3px rgba(0, 59, 145, 0.1);
}

.wpcf7-form-control.wpcf7-text:hover,
.wpcf7-form-control.wpcf7-email:hover,
.wpcf7-form-control.wpcf7-tel:hover {
    border-color: #021841;
}

/* Contact form validation styling */
.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Contact form placeholder styling */
.wpcf7-form-control::placeholder {
    color: #999999;
    opacity: 1;
}

/* ===== STAR RATING ICONS FIX ===== */

/* Fix for missing design-icon-rating stars - try multiple font families */
.design-icon-rating:before {
    content: "\f005";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", "fa-solid-900";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

/* Alternative approach - use CSS-only star if font icons fail */
.design-icon-rating {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
}

.design-icon-rating:after {
    content: "★";
    position: absolute;
    top: 0;
    left: 0;
    font-family: inherit;
    font-size: 16px;
    color: #003b91;
    display: inline-block;
    z-index: 1;
}

/* Hide the :after content if :before content is working */
.design-icon-rating:before:not(:empty) + .design-icon-rating:after {
    display: none;
}

/* Ensure rating stars are visible and properly styled */
.component-testimonial-rating .design-icon-rating {
    display: inline-block;
    color: #003b91; /* Gold color for stars */
    font-size: 16px;
    margin-right: 4px;
    line-height: 1;
}

.component-testimonial-rating .design-icon-rating.active {
    color: #003b91; /* Gold color for active stars */
}

/* Additional styling for testimonial rating section */
.component-testimonial-rating {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Force display of stars using Unicode as ultimate fallback */
.component-testimonial-rating .design-icon-rating:empty:before {
    content: "★" !important;
    font-family: inherit !important;
    font-weight: normal !important;
    color: #003b91 !important;
}

/* Direct fix for testimonial stars - ensure they always show */
.component-testimonial-rating i.design-icon-rating {
    font-style: normal !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
}

.component-testimonial-rating i.design-icon-rating:before {
    content: "★" !important;
    color: #003b91 !important;
    font-size: 16px !important;
    font-family: inherit !important;
    font-weight: normal !important;
    display: inline-block !important;
}

/* Ensure active stars are gold colored */
.component-testimonial-rating i.design-icon-rating.active:before {
    color: #003b91 !important;
}

/* Make sure the rating section is visible */
.component-testimonial-rating {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ===== RESPONSIVE TABLE STYLES ===== */

/* Base table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Table headers */
table th {
    background: #003b91;
    color: #ffffff;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #021841;
}

/* Table cells */
table td {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

/* Alternating row colors */
table tbody tr:nth-child(even) {
    background: #faf9f7;
}

table tbody tr:hover {
    background: #f0f9ff;
    transition: background-color 0.2s ease;
}

/* Last row styling */
table tbody tr:last-child td {
    border-bottom: none;
}

/* Rich text content wrapper */
.richtext-content {
    width: 100%;
    overflow-x: auto;
}

.richtext-content table {
    margin: 20px auto; /* Center tables horizontally */
}

/* Mobile responsive table styles */
@media (max-width: 768px) {
    .richtext-content {
        padding: 0 10px; /* Add some padding on mobile */
    }
    
    .richtext-content table {
        margin: 15px auto; /* Maintain centering on mobile */
    }
    /* Remove table background and shadow on mobile */
    table {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow: visible;
    }
    
    /* Transform table headers on mobile - convert to first row */
    table thead {
        display: block;
    }
    
    table thead tr {
        background: #003b91;
        color: #ffffff;
        margin-bottom: 20px;
        border-radius: 8px;
        padding: 15px;
    }
    
    table thead th {
        display: block;
        background: transparent;
        border: none;
        padding: 4px 0;
        text-align: center;
        font-size: 13px;
        font-weight: 600;
    }
    
    table thead th:first-child {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 8px;
    }
    
    /* Stack table rows vertically */
    table,
    table tbody,
    table tr,
    table td {
        display: block;
        width: 100%;
    }
    
    /* Style each row as a card */
    table tr {
        background: #ffffff;
        border: 1px solid #e5e5e5;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    /* Remove default cell styling on mobile */
    table td {
        border: none;
        padding: 8px 0;
        position: relative;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Add labels before each cell using data attributes */
    table td:before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: #003b91;
        text-align: center;
        margin-bottom: 4px;
        display: block;
        width: 100%;
    }
    
    /* Alternative: If data-label attributes aren't available, use nth-child selectors */
    /* You can customize these labels based on your table structure */
    table td:nth-child(1):before {
        content: "";
    }
    
    table td:nth-child(2):before {
        content: "";
    }
    
    table td:nth-child(3):before {
        content: "";
    }
    
    table td:nth-child(4):before {
        content: "";
    }
    
    /* Remove hover effects on mobile */
    table tbody tr:hover {
        background: #ffffff;
    }
    
    table tbody tr:nth-child(even) {
        background: #ffffff;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    table {
        margin: 15px 0;
        font-size: 13px;
    }
    
    table tr {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    table td {
        padding: 6px 0;
        font-size: 13px;
    }
    
    table td:before {
        font-size: 12px;
    }
}

/* Horizontal scroll table option (alternative approach) */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table-responsive table {
    margin: 0;
    min-width: 600px; /* Minimum width to maintain readability */
    box-shadow: none;
}

@media (max-width: 768px) {
    .table-responsive {
        border: 1px solid #e5e5e5;
    }
    
    .table-responsive table {
        min-width: 500px;
    }
}

/* Special styling for pricing tables */
.pricing-table th {
    background: #021841;
    text-align: center;
}

.pricing-table td {
    text-align: center;
    font-weight: 500;
}

.pricing-table .price {
    font-size: 18px;
    font-weight: 700;
    color: #003b91;
}

@media (max-width: 768px) {
    .pricing-table td:nth-child(1):before {
        content: "Service: ";
    }
    
    .pricing-table td:nth-child(2):before {
        content: "Price: ";
    }
    
    .pricing-table td:nth-child(3):before {
        content: "Duration: ";
    }
}

/* Special styling for schedule/timetable tables */
.schedule-table th {
    background: #ffefd4;
    color: #021841;
    text-align: center;
}

.schedule-table td {
    text-align: center;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .schedule-table td:nth-child(1):before {
        content: "Time: ";
    }
    
    .schedule-table td:nth-child(2):before {
        content: "Monday: ";
    }
    
    .schedule-table td:nth-child(3):before {
        content: "Tuesday: ";
    }
    
    .schedule-table td:nth-child(4):before {
        content: "Wednesday: ";
    }
    
    .schedule-table td:nth-child(5):before {
        content: "Thursday: ";
    }
    
    .schedule-table td:nth-child(6):before {
        content: "Friday: ";
    }
}

/* ===== MOBILE NAVIGATION STYLES ===== */

/* Mobile navigation - positioned below header, full screen width */
.design-mobile-nav {
    position: fixed;
    top: 80px; /* Below the header including alert bar */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw; /* Full screen width */
    background: #ffffff;
    z-index: 9998;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    border-top: 1px solid black;
    display: none; /* Hidden by default */
}

/* Show mobile nav when active */
.mobile-nav-active .design-mobile-nav {
    display: block;
    transform: translateY(0);
}

/* Mobile navigation overlay - hidden to avoid dimming */
.design-overlay {
    display: none !important;
}

/* Mobile navigation menu styling */
.design-mobile-nav .handheld-navigation {
    padding: 0;
    width: 100%;
}

.design-mobile-nav .handheld-navigation ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.design-mobile-nav .menu-item {
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
}

.design-mobile-nav .menu-item:last-child {
    border-bottom: none;
}

.design-mobile-nav .menu-item > a {
    display: block;
    padding: 18px 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.design-mobile-nav .menu-item > a:hover,
.design-mobile-nav .menu-item > a:focus {
    background-color: #f8f9fa;
    color: #003b91;
    padding-left: 40px;
}

/* Mobile submenu styling */
.design-mobile-nav .sub-menu {
    display: none;
    background-color: #f8f9fa;
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 3px solid #003b91;
    width: 100%;
}

.design-mobile-nav .menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 14px;
}

.design-mobile-nav .menu-item-has-children > a.toggled-on::after {
    transform: translateY(-50%) rotate(180deg);
}

.design-mobile-nav .sub-menu .menu-item {
    width: 100%;
}

.design-mobile-nav .sub-menu .menu-item > a {
    padding: 15px 50px;
    font-size: 15px;
    color: #666;
    background-color: transparent;
    width: 100%;
    box-sizing: border-box;
}

.design-mobile-nav .sub-menu .menu-item > a:hover,
.design-mobile-nav .sub-menu .menu-item > a:focus {
    color: #003b91;
    background-color: #ffffff;
    padding-left: 60px;
}

/* Prevent body scroll when mobile menu is active */
.mobile-nav-active {
    overflow: hidden !important;
}

/* Hide mobile navigation on desktop */
@media (min-width: 1025px) {
    .design-mobile-nav {
        display: none !important;
    }
}

/* Mobile navigation responsive adjustments */
@media (max-width: 480px) {
    .design-mobile-nav {
        top: 120px; /* Adjust for smaller screens */
        width: 100vw; /* Ensure full width on small screens */
    }
    
    .design-mobile-nav .menu-item > a {
        padding: 16px 25px;
        font-size: 15px;
        width: 100%;
    }
    
    .design-mobile-nav .menu-item > a:hover,
    .design-mobile-nav .menu-item > a:focus {
        padding-left: 35px;
    }
    
    .design-mobile-nav .sub-menu .menu-item > a {
        padding: 12px 45px;
        font-size: 14px;
        width: 100%;
    }
    
    .design-mobile-nav .sub-menu .menu-item > a:hover,
    .design-mobile-nav .sub-menu .menu-item > a:focus {
        padding-left: 55px;
    }
    
    .design-mobile-nav .menu-item-has-children > a::after {
        right: 25px;
    }
}

/* ===== MOBILE MENU ADJUSTMENTS ===== */
@media (max-width: 1024px) {
    body {
        padding-top: 80px;
    }
    
    #header-section {
        background: #ffffff;
    }
    
    .has-mega-menu .mega-menu.sub-menu {
        position: static;
        width: 100%;
        margin-left: 0;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 10px;
    }
    
    .mega-menu .component {
        padding: 20px 15px;
    }
    
    .mega-menu .component-image-box-wrapper {
        margin-bottom: 15px;
    }
    
    /* Text-based mega menu mobile adjustments */
    .mega-menu .mega-menu-columns {
        flex-direction: column;
        padding: 0 20px;
        gap: 20px;
        max-width: none;
    }
    
    .mega-menu .mega-menu-content {
        padding: 20px 0;
    }
    
    .mega-menu .mega-menu-column {
        margin-bottom: 10px;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .mega-menu .mega-menu-columns {
        padding: 0 15px;
        gap: 15px;
    }
    
    .mega-menu .mega-menu-column {
        padding: 15px;
    }
    
    .mega-menu .mega-menu-title {
        font-size: 16px;
    }
    
    .mega-menu .mega-menu-description {
        font-size: 13px;
    }
}

/* ===== MENU HOVER EFFECTS ===== */

/* Top level menu item hover effects */
.main-navigation ul.menu > li.menu-item > a {
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation ul.menu > li.menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #0146c5;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation ul.menu > li.menu-item:hover > a::after,
.main-navigation ul.menu > li.menu-item.current-menu-item > a::after,
.main-navigation ul.menu > li.menu-item.current-menu-parent > a::after,
.main-navigation ul.menu > li.menu-item.current-menu-ancestor > a::after {
    width: 100%;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

/* Focus states */
.main-navigation a:focus {
    outline: 2px solid #021841;
    outline-offset: 2px;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* ===== ANIMATION DELAYS FOR STAGGERED EFFECT ===== */
.mega-menu .component-image-box-wrapper:nth-child(1) {
    transition-delay: 0.1s;
}

.mega-menu .component-image-box-wrapper:nth-child(2) {
    transition-delay: 0.2s;
}

.mega-menu .component-image-box-wrapper:nth-child(3) {
    transition-delay: 0.3s;
}

/* ===== JAVASCRIPT ENHANCED CLASSES ===== */

/* Header states */
.header-sticky {
    position: fixed !important;
}

.header-scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15) !important;
}

.header-hidden {
    transform: translateY(-100%);
}

/* Mega menu active state */
.mega-menu-active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Animation classes */
.animate-in {
    animation: slideInUp 0.4s ease forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ENHANCED BUTTON STYLING ===== */
.component-button {
    transition: all 0.3s ease !important;
    border-radius: 60px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    text-align: center !important;
}

.component-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ===== LOGO ENHANCEMENTS ===== */
.design-site-logo-img {
    transition: all 0.3s ease;
}

.header-scrolled .design-site-logo-img {
    transform: scale(0.9);
}

/* ===== IMPROVED LOADING STATES ===== */
.mega-menu .component-image-box-wrapper {
    transform: translateY(10px);
    opacity: 0.8;
}

.mega-menu-active .component-image-box-wrapper {
    transform: translateY(0);
    opacity: 1;
}

/* ===== ENHANCED FOCUS STYLES ===== */
.main-navigation a:focus-visible {
    outline: 2px solid #021841;
    outline-offset: 2px;
    border-radius: 40px;
}

/* ===== LINK SHOWCASE ENHANCEMENTS ===== */

/* Ensure link showcase content is properly hidden by default */
.component-link-showcase-content {
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.6s ease !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
}

/* Show active content */
.component-link-showcase-content.component-active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
}

/* Ensure title hover states work properly */
.component-link-showcase-title {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
}

.component-link-showcase-title:hover,
.component-link-showcase-title.component-active {
    opacity: 1 !important;
}

/* Make sure the title text is also clickable */
.component-link-showcase-title .showcase-content,
.component-link-showcase-title .link-showcase-title {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Ensure content wrapper has proper positioning */
.link-showcase-contnet-wrapper {
    position: relative !important;
    overflow: hidden !important;
}

/* ===== MOBILE SELECTORBOXES REDESIGN ===== */

/* Simple mobile layout using the new template structure */
@media (max-width: 768px) {
    
    /* Hide the complex desktop layout on mobile */
    .component-widget-design-link-showcase {
        display: none !important;
    }
    
    /* Show the simple mobile layout */
    .mobile-selectorboxes-simple {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Style each mobile card */
    .mobile-selector-card {
        background: white !important;
        border: 1px solid #e9ecef !important;
        border-radius: 12px !important;
        padding: 20px !important;
        margin-bottom: 20px !important;
        box-shadow: 0 2px 8px rgba(0, 59, 145, 0.08) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mobile-selector-card:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Card title styling */
    .mobile-card-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #003b91 !important;
        margin: 0 0 16px 0 !important;
        padding-bottom: 8px !important;
        border-bottom: 2px solid #e9ecef !important;
        line-height: 1.3 !important;
    }
    
    /* Card content styling */
    .mobile-card-content {
        font-size: 16px !important;
        line-height: 1.5 !important;
        color: #333 !important;
        margin-bottom: 12px !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .mobile-card-content p {
        margin-bottom: 8px !important;
        line-height: 1.5 !important;
    }
    
    .mobile-card-content p:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Card description styling */
    .mobile-card-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #666 !important;
        margin-bottom: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .mobile-card-description p {
        margin-bottom: 8px !important;
        line-height: 1.6 !important;
    }
    
    .mobile-card-description p:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Handle any nested elements */
    .mobile-card-content h3,
    .mobile-card-content h4,
    .mobile-card-content h5,
    .mobile-card-description h3,
    .mobile-card-description h4,
    .mobile-card-description h5 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
        color: #333 !important;
        font-weight: 600 !important;
    }
    
    /* Ensure lists and other elements are properly styled */
    .mobile-card-content ul,
    .mobile-card-content ol,
    .mobile-card-description ul,
    .mobile-card-description ol {
        margin: 8px 0 8px 20px !important;
        padding: 0 !important;
    }
    
    .mobile-card-content li,
    .mobile-card-description li {
        margin-bottom: 4px !important;
        line-height: 1.5 !important;
    }
}

/* Tablet adjustments (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    
    /* Keep desktop layout but adjust spacing */
    .link-showcase-title-inner {
        gap: 15px !important;
    }
    
    .component-link-showcase-title {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    
    .link-showcase-image img {
        max-height: 300px !important;
        object-fit: cover !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    #header-section {
        position: static !important;
        box-shadow: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
    
    .mega-menu {
        display: none !important;
    }
}

/* ===== SUBPAGE HEADER STYLES ===== */

.page-header-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 50px;
    width: 100%;
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/rooflines.svg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    <!-- background: linear-gradient(135deg, rgba(0, 12, 34, 0.8) 0%, rgba(0, 52, 130, 0.764) 50%, rgba(0, 17, 48, 0.856) 100%); -->
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-content .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header-inner {
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #021842;
    <!-- text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); -->
    line-height: 1.2;
    font-family: 'Parkinsans', sans-serif;
    text-align: center;
    width: 100%;
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #00378e;
    <!-- text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3); -->
    line-height: 1.5;
    font-family: 'Parkinsans', sans-serif;
}




/* ===== TABLE STYLES ===== */

table {
    border: 1px none #dededf;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}

caption {
    caption-side: top;
    text-align: left;
}

th {
    border: 1px none #dededf;
    background-color: #003b91;
    color: #ffffff;
    padding: 20px;
}

td {
    border: 1px none #dededf;
    padding: 20px;
}

tr:nth-child(even) td {
    background-color: #ffffff;
    color: #000000;
}

tr:nth-child(odd) td {
    background-color: #ebebeb;
    color: #000000;
}



/* ===== BREADCRUMB STYLES ===== */

.breadcrumb-nav {
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #ffefd4;
}

.breadcrumb-link {
    color: #01081b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #e9faff;
    opacity: 0.7;
}

.breadcrumb-current {
    color: #ffffff;
    font-weight: 500;
}

.breadcrumb-item.active {
    color: #ffffff;
}

/* ===== SUBPAGE CONTENT STYLES ===== */

.page-content-section {
    <!-- padding: 80px 0; -->
    background: #faf9f7;
}

.page-content {
    background: #ffffff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.page-content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

.page-content-body h2 {
    color: #021841;
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-content-body h3 {
    color: #021841;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-content-body p {
    margin-bottom: 20px;
}

.page-content-body ul,
.page-content-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content-body li {
    margin-bottom: 8px;
}

/* ===== SIDEBAR STYLES ===== */

.page-sidebar {
    padding-left: 30px;
}

.sidebar-widget {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #021841;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffefd4;
}

/* Quick Links Widget */
.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-list li {
    margin-bottom: 12px;
}

.quick-link {
    display: block;
    padding: 12px 15px;
    color: #333333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.quick-link:hover {
    background: #faf9f7;
    color: #021841;
    border-left-color: #021841;
    padding-left: 20px;
}

/* Contact Info Widget */
.contact-info {
    space-y: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-item i {
    color: #021841;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-weight: 600;
    color: #021841;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.contact-value {
    color: #333333;
    text-decoration: none;
    line-height: 1.5;
}

.contact-value:hover {
    color: #021841;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, #021841 0%, #003b91 100%);
    color: #ffffff;
}

.cta-widget .widget-title {
    color: #ffffff;
    border-bottom-color: rgba(255, 239, 212, 0.3);
}

.cta-title {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.cta-description {
    color: #ffefd4;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-button {
    background: #ffefd4 !important;
    color: #021841 !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    text-align: center !important;
}

.cta-button:hover {
    background: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

/* ===== BUTTON MOBILE RESPONSIVE STYLES ===== */

/* Mobile button adjustments */
@media (max-width: 768px) {
    .btn,
    .component-button,
    .cta-button {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* For very long button text, allow slight padding reduction */
    .btn {
        padding: 10px 15px !important;
        font-size: 14px !important;
    }
    
    .component-button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    .cta-button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

/* Extra small screens - more aggressive text handling */
@media (max-width: 480px) {
    .btn,
    .component-button,
    .cta-button {
        font-size: 13px !important;
        padding: 10px 12px !important;
        min-width: 120px !important;
        max-width: calc(100vw - 40px) !important;
    }
    
    /* Allow very slight wrapping only on extremely small screens if absolutely necessary */
    .btn.allow-wrap,
    .component-button.allow-wrap,
    .cta-button.allow-wrap {
        white-space: normal !important;
        line-height: 1.3 !important;
        padding: 12px 15px !important;
    }
}

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

@media (max-width: 1024px) {
    .page-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .page-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-header-section {
        height: 400px;
        margin-top: -80px;
        padding-top: 120px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-content {
        padding: 25px;
    }
    
    .sidebar-widget {
        padding: 25px;
    }
    
    .page-header-background {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}
.btn {
  -webkit-border-radius: 60;
  -moz-border-radius: 60;
  border-radius: 60px;
  color: #003b91;
  background: #ffffff;
  padding: 10px 20px 10px 20px;
  border: solid #003b91 1px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  background: #003e94;
  text-decoration: none;
  color: white;
}

/* ===== PUBLICATIONS PAGE STYLES ===== */
.publications-section {
    background-color: #faf9f7;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Responsive grid for different screen sizes */
@media (max-width: 1200px) {
    .publications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .publications-grid {
        grid-template-columns: 1fr;
    }
}

.publication-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.publication-card-inner {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.publication-type-badge {
    display: inline-block;
    background-color: #003b91;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    width: fit-content;
}

.publication-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #021841;
    margin-bottom: 12px;
    line-height: 1.3;
    flex-grow: 0;
}

.publication-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.4;
    flex-grow: 0;
}

.publication-summary {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.publication-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.publication-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.publication-date {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.publication-date i {
    margin-right: 8px;
    color: #003b91;
}

.publication-download-btn {
    background-color: #003b91;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 59, 145, 0.2);
}

.publication-download-btn:hover {
    background-color: #021841;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 59, 145, 0.3);
    color: white;
    text-decoration: none;
}

.publication-download-btn i {
    margin-right: 8px;
    font-size: 0.8rem;
}

.category-title {
    font-size: 2.5rem;
    color: #021841;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-divider {
    width: 60px;
    height: 3px;
    background-color: #003b91;
    margin-bottom: 20px;
}

.publications-category-section {
    margin-bottom: 60px;
}

.category-header {
    margin-bottom: 40px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .publication-card-inner {
        padding: 20px;
    }
    
    .publication-title {
        font-size: 1.2rem;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .publication-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .publication-download-btn {
        width: 100%;
        justify-content: center;
    }
    
    .publications-section {
        padding: 40px 0;
    }
}