/**
 * Province Pages Styles
 * Styles for individual province detective pages
 */

/* Province Page Variables - extending main theme */
:root {
    --bg-primary: #0a101f;
    --text-secondary: rgba(255,255,255,0.8);
    --success: #22c55e;
}

/* Breadcrumb */
.breadcrumb-nav {
    background: var(--bg-dark);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .active {
    color: var(--primary);
    font-weight: 500;
}

/* Province Hero */
.province-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.province-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.province-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.province-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 50%, rgba(15,23,42,0.5) 100%);
    z-index: 2;
}

.province-hero .container {
    position: relative;
    z-index: 3;
}

.province-hero-content {
    max-width: 700px;
}

.province-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212,175,55,0.25);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.province-hero .hero-badge i {
    color: var(--gold);
}

.province-hero .hero-badge span {
    color: var(--gold);
}

.province-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.province-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.province-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Main Content */
.province-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

/* Article */
.province-article {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.content-section {
    margin-bottom: 3rem;
}

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

.content-section h2 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary);
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.content-section strong {
    color: var(--gold) !important;
    font-weight: 700;
}

/* Fix inline styled text that may have dark colors */
.content-section strong[style*="color"],
.content-section b[style*="color"],
.content-section span[style*="color:#1"],
.content-section span[style*="color: #1"],
.content-section span[style*="color:#2"],
.content-section span[style*="color: #2"],
.content-section span[style*="color:#0"],
.content-section span[style*="color: #0"],
.content-section span[style*="color:black"],
.content-section span[style*="color: black"],
.content-section span[style*="color:#000"],
.content-section span[style*="color: #000"] {
    color: var(--gold) !important;
}

/* Fix mark/highlight elements */
.content-section mark,
.content-section span[style*="background"] {
    background: rgba(212, 168, 83, 0.3) !important;
    color: white !important;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Fix links in content - but NOT buttons */
.content-section a:not(.btn):not([class*="btn-"]) {
    color: var(--gold) !important;
    text-decoration: underline;
}

.content-section a:not(.btn):not([class*="btn-"]):hover {
    color: #f0d78c !important;
}

/* Ensure buttons keep their proper colors - high specificity */
.content-section .btn,
.content-section a.btn,
.content-section a[class*="btn-"],
.content-section [class*="btn-"] {
    color: inherit;
    text-decoration: none !important;
}

.content-section .btn.btn-primary,
.content-section a.btn.btn-primary,
.content-section a.btn-primary {
    color: #0f172a !important;
    background: var(--gold) !important;
}

.content-section .btn.btn-line,
.content-section a.btn.btn-line,
.content-section a.btn-line {
    color: white !important;
    background: #06c755 !important;
}

/* Sidebar card buttons */
.sidebar-card .btn,
.sidebar-card a.btn,
.cta-card .btn,
.cta-card a.btn {
    text-decoration: none !important;
}

.sidebar-card .btn-primary,
.sidebar-card a.btn-primary,
.cta-card .btn-primary,
.cta-card a.btn-primary {
    color: #0f172a !important;
    background: var(--gold) !important;
}

.sidebar-card .btn-line,
.sidebar-card a.btn-line,
.cta-card .btn-line,
.cta-card a.btn-line {
    color: white !important;
    background: #06c755 !important;
}

/* Fix CTA boxes with dark blue background - links with gold background need dark text */
.content-section div[style*="background"][style*="#1"],
.content-section div[style*="background"][style*="#0"],
.content-section div[style*="background"][style*="1e3a5f"],
.content-section div[style*="background"][style*="0f172a"],
.content-section div[style*="background-color:#1"],
.content-section div[style*="background-color: #1"],
.content-section div[style*="background-color:#0"],
.content-section div[style*="background-color: #0"] {
    color: white;
}

.content-section div[style*="background"][style*="#1"] a,
.content-section div[style*="background"][style*="#0"] a,
.content-section div[style*="background"][style*="1e3a5f"] a,
.content-section div[style*="background"][style*="0f172a"] a,
.content-section div[style*="background-color:#1"] a,
.content-section div[style*="background-color: #1"] a,
.content-section div[style*="background-color:#0"] a,
.content-section div[style*="background-color: #0"] a {
    color: #0f172a !important;
    background: var(--gold) !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
}

/* Fix links inside gold background boxes */
.content-section a[style*="background"][style*="d4a"],
.content-section a[style*="background"][style*="gold"],
.content-section a[style*="background-color:#d4a"],
.content-section a[style*="background-color: #d4a"] {
    color: #0f172a !important;
}

/* Fix list items inside CTA boxes */
.content-section div[style*="background"] li,
.content-section div[style*="background"] ul {
    color: white !important;
}

.content-section div[style*="background"] li a {
    color: #0f172a !important;
}

/* Fix ALL inline styled text with dark colors that blend with background */
.content-section [style*="color:#1"],
.content-section [style*="color: #1"],
.content-section [style*="color:#2"],
.content-section [style*="color: #2"],
.content-section [style*="color:#3"],
.content-section [style*="color: #3"],
.content-section [style*="color:#4"],
.content-section [style*="color: #4"],
.content-section [style*="color:#5"],
.content-section [style*="color: #5"],
.content-section [style*="color:rgb(0"],
.content-section [style*="color: rgb(0"],
.content-section [style*="color:rgb(1"],
.content-section [style*="color: rgb(1"],
.content-section [style*="color:rgb(2"],
.content-section [style*="color: rgb(2"],
.content-section [style*="color:rgb(3"],
.content-section [style*="color: rgb(3"] {
    color: var(--gold) !important;
}

.content-section h3 {
    font-size: 1.3rem;
    color: white;
    margin: 1.5rem 0 1rem;
}

.content-section ul,
.content-section ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-section ul {
    list-style: disc;
}

.content-section ol {
    list-style: decimal;
}

.content-section li {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.content-section li strong {
    color: var(--gold);
}

/* Service Boxes */
.service-box {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.service-box:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.service-box:last-child {
    margin-bottom: 0;
}

.service-box .service-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), #b8941f);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

.service-box .service-icon i {
    width: 24px;
    height: 24px;
}

.service-box h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.5rem;
}

.service-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.feature-list li i {
    color: var(--success);
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.step {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step h4 {
    color: white;
    font-size: 1rem;
    margin: 0.5rem 0 0.75rem;
}

.step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section .faq-item {
    background: var(--bg-primary);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
}

.faq-item h3 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Sidebar */
.province-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.sidebar-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-card h3 i {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

.sidebar-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* CTA Card (Contact Card in Sidebar) */
.cta-card {
    background: linear-gradient(135deg, var(--bg-dark), #1a2744);
    border: 1px solid var(--primary);
}

.cta-card p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.25rem;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--bg-dark), #1a2744);
    border-color: var(--primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.contact-card .btn {
    margin-bottom: 0.75rem;
}

.contact-card .btn:last-child {
    margin-bottom: 0;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

/* Services Card */
.services-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-card li {
    margin-bottom: 0.5rem;
}

.services-card li:last-child {
    margin-bottom: 0;
}

.services-card a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
}

.services-card li:last-child a {
    border-bottom: none;
}

.services-card a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.services-card a i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Areas Card */
.nearby-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nearby-link {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    background: var(--bg-primary);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.nearby-link:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* CTA Section */
.province-cta {
    background: linear-gradient(135deg, var(--primary), #b8941f);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.25rem;
    color: var(--bg-dark);
    margin-bottom: 0.75rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(15,23,42,0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white !important;
    color: var(--bg-dark) !important;
    text-decoration: none !important;
}

.btn-white:hover {
    background: var(--bg-dark) !important;
    color: white !important;
}

.btn-outline-white {
    background: transparent !important;
    border: 2px solid var(--bg-dark) !important;
    color: var(--bg-dark) !important;
    text-decoration: none !important;
}

.btn-outline-white:hover {
    background: var(--bg-dark) !important;
    color: white !important;
}

.btn-line-white {
    background: transparent;
    border: 2px solid var(--bg-dark);
    color: var(--bg-dark);
}

.btn-line-white:hover {
    background: var(--bg-dark);
    color: white;
}

/* Ensure all buttons in CTA sections have correct colors */
.province-cta .btn,
.province-cta a[class*="btn"] {
    text-decoration: none !important;
}

.province-cta .btn-white {
    background: white !important;
    color: var(--bg-dark) !important;
}

.province-cta .btn-outline-white {
    background: transparent !important;
    color: var(--bg-dark) !important;
}

/* Mega Menu Styles */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.has-dropdown .dropdown-toggle i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.has-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 95vw;
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Only show mega-menu on hover for desktop */
@media (min-width: 993px) {
    .has-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
    }
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.mega-menu-column h4 {
    color: var(--gold) !important;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column li {
    margin-bottom: 0.25rem;
}

.mega-menu-column a {
    display: block;
    padding: 0.35rem 0;
    color: rgba(255,255,255,0.8) !important;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.mega-menu-column a:hover {
    color: var(--gold) !important;
    padding-left: 0.5rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .mega-menu {
        min-width: 750px;
    }
    
    .mega-menu-inner {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .province-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mega-menu {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        min-width: 100%;
        max-height: 60vh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
    }
    
    .mega-menu-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .province-hero h1 {
        font-size: 2rem;
    }
    
    .province-hero p {
        font-size: 1rem;
    }
    
    .province-article {
        padding: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.4rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .province-sidebar {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .mega-menu-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .province-hero {
        min-height: 350px;
        padding: 3rem 0;
    }
    
    .province-hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   Footer Styles for Province Pages
   ============================================ */
.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 0;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer .footer-brand {
    max-width: 300px;
}

.site-footer .footer-brand .footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.site-footer .footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.site-footer .footer-social {
    display: flex;
    gap: 12px;
}

.site-footer .footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.site-footer .footer-social a:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

.site-footer .footer-social svg,
.site-footer .footer-social i {
    width: 20px;
    height: 20px;
}

.site-footer .footer-links h4,
.site-footer .footer-contact h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.site-footer .footer-links h4::after,
.site-footer .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.site-footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-links ul li {
    margin-bottom: 0.75rem;
}

.site-footer .footer-links ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.site-footer .footer-links ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.site-footer .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.site-footer .footer-contact ul li i {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.site-footer .footer-contact ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
}

.site-footer .footer-contact ul li a:hover {
    color: var(--gold);
}

.site-footer .footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .site-footer .footer-brand {
        max-width: 100%;
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 40px 0 0;
    }
    
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer .footer-brand {
        grid-column: span 1;
        text-align: center;
    }
    
    .site-footer .footer-social {
        justify-content: center;
    }
    
    .site-footer .footer-links h4::after,
    .site-footer .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .site-footer .footer-links,
    .site-footer .footer-contact {
        text-align: center;
    }
    
    .site-footer .footer-contact ul li {
        justify-content: center;
    }
}

/* Blog Links Sidebar */
.blog-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--bg-light);
}

.blog-scroll::-webkit-scrollbar {
    width: 6px;
}

.blog-scroll::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.blog-scroll::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

.blog-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-links li {
    margin-bottom: 0.25rem;
}

.blog-links a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.2s;
    font-weight: 500;
}

.blog-links li:last-child a {
    border-bottom: none;
}

.blog-links a:hover {
    color: var(--gold);
    background: rgba(212, 168, 83, 0.05);
    padding-left: 0.75rem;
}

.blog-links a i {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.service-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-links li {
    margin-bottom: 0.25rem;
}

.service-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    transition: all 0.2s;
    font-weight: 500;
}

.service-links li:last-child a {
    border-bottom: none;
}

.service-links a:hover {
    color: var(--gold);
    background: rgba(212, 168, 83, 0.05);
    padding-left: 0.75rem;
}

.service-links a i {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

/* Mobile Menu Improvements */
@media (max-width: 992px) {
    /* Hide main nav on mobile by default */
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        padding: 1rem;
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav > ul > li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav a {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Mobile mega-menu - show as accordion */
    .has-dropdown .mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        width: 100% !important;
        max-width: none !important;
        transform: none !important;
        border-radius: 0;
        padding: 0.5rem 1rem;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,0.2);
    }
    
    .has-dropdown.menu-open .mega-menu {
        display: block !important;
    }
    
    .has-dropdown.menu-open .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .mega-menu-inner {
        display: block !important;
    }
    
    .mega-menu-column {
        margin-bottom: 1rem;
    }
    
    .mega-menu-column h4 {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .mega-menu-column a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    /* Mobile toggle button */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-toggle span {
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: 0.3s;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Header actions on mobile */
    .header-actions {
        gap: 0.5rem;
    }
    
    .header-actions .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .header-phone span {
        display: none;
    }
}

@media (max-width: 576px) {
    .header-actions .btn-line,
    .header-actions .btn-primary {
        display: none;
    }
    
    .header-phone {
        background: var(--gold);
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }
    
    .header-phone span {
        display: inline;
        font-weight: 600;
    }
    
    .header-phone i {
        color: var(--bg-dark);
    }
}
