        :root {
            --accent-orange: #ff9500;
            --primary-silver: #C0C0C0;
            --dark-silver: #A9A9A9;
            --text-dark: #2c3e50;
            --text-light: #ffffff;
            --black: #000000;
        }

        
/* Navbar collapse defaults (desktop): keep transparent so it doesn't look like a floating box */
.navbar-custom .navbar-collapse,
.navbar-custom .collapse.navbar-collapse {
    background-color: transparent !important;
    box-shadow: none !important;
}

.navbar-custom .navbar-collapse.show .navbar-nav {
                padding: 0;
            }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background-color: #1a1a1a;
            color: var(--text-light);
            overflow-x: hidden;
        }


/* Accessibility: Skip to main content link (visible on focus) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 10px 14px;
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 6px;
    text-decoration: none;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

#main-content {
    scroll-margin-top: 140px; /* align with existing fixed-nav offset */
}

        .navbar-custom {
            background-color: var(--primary-silver) !important;
            padding: 1.5rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            min-height: 80px;
        }
        
        .navbar-custom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
        
        .navbar-custom .navbar-brand {
    margin-right: auto;
    padding-left: 0;
    position: static; /* was absolute, caused overflow in some browsers */
    left: auto;
    max-width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.7rem !important;
}
        
        .navbar-custom .navbar-toggler {
    position: static; /* was absolute */
    right: auto;
    margin-left: auto;
}
        
        .navbar-custom .navbar-nav {
    margin-left: auto;
    position: static; /* was absolute */
    right: auto;
    background-color: transparent !important;
}
        
        .navbar-custom .navbar-nav .nav-link {
            color: var(--black) !important;
            font-weight: 600;
            margin: 0 1rem;
            transition: all 0.3s ease;
            position: relative;
            font-size: 1.1rem;
            padding: 0.5rem 0;
            display: block;
        }
        
        /* Ensure links in collapsed menu are visible */
        .navbar-collapse.show .nav-link,
        .navbar-collapse.collapsing .nav-link {
            padding: 12px 15px !important;
            margin: 0 !important;
            border-top: 1px solid rgba(0,0,0,0.1);
        }
        
        .navbar-collapse.show .nav-item:first-child .nav-link {
            border-top: none;
        }

        .navbar-custom .navbar-nav .nav-link:hover {
            color: #000 !important;
            transform: translateY(-2px);
        }
        
        /* Prevent hover movement in dropdown menu */
        @media (max-width: 991.98px) {
    /* Collapse panel styles (mobile/tablet only) */
    .navbar-custom .navbar-collapse.show,
    .navbar-custom .navbar-collapse.collapsing {
        margin-top: 0 !important;
    }


            .navbar-custom .navbar-nav .nav-link:hover {
                transform: none;
                background-color: rgba(0,0,0,0.05);
            }

    /* Mobile/tablet: collapse panel must be silver so links are readable */
    .navbar-custom .navbar-collapse {
        background-color: var(--primary-silver) !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2) !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1050;
    }

    .navbar-custom .navbar-nav {
        width: 100%;
        background-color: var(--primary-silver) !important;
        padding: 0.25rem 0;
        margin: 0;
    }

    .navbar-custom .navbar-nav .nav-link {
        color: #000 !important;
        padding: 12px 15px !important;
        margin: 0 !important;
        border-top: 1px solid rgba(0,0,0,0.1);
    }

    .navbar-custom .navbar-nav .nav-item:first-child .nav-link {
        border-top: none;
    }

    /* If the navbar container becomes grid on very small screens, let the collapse span full width */
    .navbar-custom .navbar-collapse {
        grid-column: 1 / -1;
    }
}

        .navbar-custom .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 50%;
            background-color: var(--text-dark);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .navbar-custom .navbar-nav .nav-link:hover::after {
            width: 100%;
        }

        .hero-section {
            min-height: 100vh;
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                        url('https://resilientelectrical.com/images/hero.jpeg');
            background-size: cover;
            background-position: center;
            /* Using fixed here can create odd overlap effects on some browsers while scrolling */
            background-attachment: scroll;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .hero-content {
            text-align: center;
            z-index: 2;
            max-width: 1000px;
            padding: 2rem;
        }

        .company-name {
            font-size: 4rem;
            font-weight: 900;
            margin-bottom: 1rem;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
            letter-spacing: 3px;
            position: relative;
            display: inline-flex;
            align-items: baseline;
            gap: 2px;
        }

        .lightning-bolt {
            /* Font Awesome icon used in the hero wordmark */
            color: var(--black);
            font-size: 4.5rem;
            text-shadow:
                0 0 10px rgba(255, 255, 255, 0.95),
                0 0 22px rgba(255, 255, 255, 0.65),
                0 0 38px rgba(255, 255, 255, 0.35);
            animation: electric-pulse 2s infinite alternate;
            display: inline-block;
            transform: rotate(15deg);
            margin: 0;
            line-height: 1;
            vertical-align: -0.08em;
            transform-origin: 50% 60%;
        }

        @keyframes electric-pulse {
            0% { 
                text-shadow:
                    0 0 10px rgba(255, 255, 255, 0.85),
                    0 0 18px rgba(255, 255, 255, 0.55),
                    0 0 30px rgba(255, 255, 255, 0.30);
                transform: rotate(-5deg) scale(1);
            }
            100% { 
                text-shadow:
                    0 0 14px rgba(255, 255, 255, 1),
                    0 0 28px rgba(255, 255, 255, 0.75),
                    0 0 46px rgba(255, 255, 255, 0.45);
                transform: rotate(-5deg) scale(1.05);
            }
        }

        .company-subtitle {
            font-size: 1.8rem;
            color: var(--primary-silver);
            margin-bottom: 2rem;
            font-weight: 600;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }

        .services-tags {
            font-size: 1.4rem;
            margin-bottom: 2rem;
            font-weight: 500;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        }

        .services-tags .service {
            color: var(--primary-silver);
            margin: 0 1rem;
            position: relative;
        }

        .services-tags .service::after {
            content: '⚡';
            margin-left: 1rem;
            color: var(--accent-orange);
        }

        .services-tags .service:last-child::after {
            display: none;
        }

        .tagline {
            font-size: 1.6rem;
            color: var(--primary-silver);
            font-style: italic;
            margin-bottom: 3rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }

        .cta-section {
            margin-top: 3rem;
        }

        .cta-button {
            background: linear-gradient(45deg, var(--primary-silver), var(--dark-silver));
            color: var(--text-dark);
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.2rem;
            font-weight: 700;
            border-radius: 50px;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(192, 192, 192, 0.3);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(192, 192, 192, 0.5);
            color: var(--text-dark);
        }

        .contact-section {
            /* Match About section background */
            background-color: #111111;
            padding: 4rem 0;
            margin-top: auto;
        }

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

        .contact-info h3 {
            color: var(--primary-silver);
            font-size: 2.5rem;
            margin-bottom: 2rem;
            font-weight: 700;
        }

        .contact-headbox {
            max-width: 1000px;
            margin: 0 auto 2rem;
            padding: 1.25rem 1.25rem;
            text-align: center;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            border: 1px solid rgba(192, 192, 192, 0.7);
            backdrop-filter: blur(10px);
                    transition: all 0.3s ease;
        }

        .contact-headbox-title {
            font-weight: 800;
            font-size: 1.15rem;
            margin-bottom: 0.35rem;
            color: var(--primary-silver);
            letter-spacing: 0.4px;
        }

        .contact-headbox-address {
            font-weight: 700;
            margin-bottom: 0.55rem;
            font-size: 1.05rem;
        }

        .contact-headbox-service {
            font-size: 1rem;
            line-height: 1.45;
            color: rgba(255, 255, 255, 0.88);
        }


        .contact-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        .contact-item {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 15px;
            border: 2px solid var(--primary-silver);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .contact-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(192, 192, 192, 0.3);
        }

        .contact-headbox:hover,
        .license-info:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(192, 192, 192, 0.3);
        }


        .contact-item i {
            color: var(--primary-silver);
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .contact-item h5 {
            color: var(--primary-silver);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .contact-item p {
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        .contact-item a {
            color: var(--text-light);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .contact-item a:hover {
            color: var(--primary-silver);
        }

        .license-info {            text-align: center;
            margin-top: 3rem;
            padding: 2rem;
            background: rgba(192, 192, 192, 0.1);
            border-radius: 15px;
            border: 2px solid var(--primary-silver);
        
            transition: all 0.3s ease;
        }

        .license-info h4 {
            color: var(--primary-silver);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .license-info p {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        
/* Brand text swap (desktop shows full, small devices show short) */
.brand-full { display: inline !important; }
.brand-short { display: none !important; }

/* Responsive Design */
        @media (max-width: 768px) {
            .company-name {
                font-size: 2.5rem;
                letter-spacing: 1px;
                gap: 1px;
            }
            
            .lightning-bolt {
                font-size: 3rem;
            }
            
            .company-subtitle {
                font-size: 1.3rem;
            }
            
            .services-tags {
                font-size: 1.1rem;
            }
            
            .services-tags .service {
                display: block;
                margin: 0.5rem 0;
            }
            
            
            
            .tagline {
                font-size: 1.3rem;
            }
            
            .contact-details {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .company-name {
                font-size: 2rem;
            }
            
            .lightning-bolt {
                font-size: 2.5rem;
            }
            
            .hero-content {
                padding: 1rem;
            }
        }
        

        /* Fixing Bootstrap collapsing behavior */
        .collapsing {
            transition: none !important;
            display: none;
        }
        
        /* Fix for mobile menu flush with navbar */
        .navbar-toggler:focus {
            box-shadow: none;
        }
        
        /* Ensure menu is flush with navbar */
        .navbar-custom .navbar-collapse,
        .navbar-custom .navbar-collapse.show {
            margin-top: 0 !important;
        }
        
        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #1a1a1a;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-silver);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--dark-silver);
        }

        /* Extra Small Devices (Phones) */
        @media (max-width: 575.98px) {
            .navbar-custom {
                padding: 1rem 0;
                min-height: 70px;
            }
            
            .navbar-brand {
                position: static;
                left: auto;
                font-size: 1.1rem !important;
                max-width: calc(100% - 70px);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            .navbar-custom .navbar-toggler {
                margin-left: auto;
            }
            
            /* FIX: Ensure dropdown is flush with navbar */
            .navbar-custom .navbar-nav .nav-link {
                padding: 12px 15px;
                margin: 0;
            }
            
            .company-name {
                width: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: clamp(2.6rem, 12.5vw, 3.0rem);
                letter-spacing: 1px;
                gap: 1px;
                margin: 0 auto 1.15rem;
            }
            
            .lightning-bolt {
                font-size: 3rem;
                margin: 0 2px;
            }
            
            .company-subtitle {
                font-size: 1.3rem;
                margin-bottom: 2.35rem;
            }
            
            .services-tags {
                font-size: 1.15rem;
                margin-bottom: 1.6rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1.05rem;
            }
            
            .services-tags .service {
                display: block;
                margin: 0;
                color: var(--primary-silver);
                text-align: center;
            }
            
            
            
            .tagline {
                font-size: 1.15rem;
                margin-top: 1.35rem;
                margin-bottom: 1.25rem;
            }
            
            .cta-button {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
            }
            
            .contact-info h3 {
                font-size: 1.8rem;
                margin-bottom: 1.5rem;
            }
            
            .contact-item {
                padding: 1.5rem;
            }
            
            .contact-item i {
                font-size: 1.5rem;
            }
            
            .contact-item h5 {
                font-size: 1.1rem;
            }
            
            .contact-item p {
                font-size: 0.9rem;
            }
            
            .license-info {
                padding: 1.5rem;
            }
            
            .license-info h4 {
                font-size: 1.2rem;
            }
            
            .license-info p {
                font-size: 0.9rem;
            }
            
            .hero-content {
                text-align: center;
                padding: 1rem;
                margin-top: 6px;
                width: 100%;
                max-width: 100%;
                display: flex;
                flex-direction: column;
                min-height: calc(100vh - 95px - 40px);
            }
            
            .contact-section {
                padding: 2.5rem 0;
            }
        
            .brand-full {
                display: none !important;
            }
            .brand-short {
                display: inline !important;
            }

            .hero-section {
                min-height: 100vh;
                padding-top: 95px;
                padding-bottom: 40px;
                align-items: flex-start;
            }

            .about-section.section-padding {
                padding-top: 2.75rem;
            }

            .about-section .section-header {
                margin-bottom: 1.75rem !important;
            }

            .cta-section {
                margin-top: 2.2rem;
                padding-bottom: 10px;
            }

            .services-tags .service:last-child::after {
                display: none;
            }


            .navbar-custom .container {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 0.75rem;
                position: relative;
            }


            .navbar-custom .navbar-nav {
                position: static !important;
                right: auto !important;
                width: 100% !important;
            }

            /* Flex gap fallback for older browsers */
            .services-tags .service {
                margin-bottom: 0.85rem;
            }
            .services-tags .service:last-child {
                margin-bottom: 0;
            }


            .navbar-custom .navbar-brand {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 0.5rem;
                font-size: 1.1rem !important;
                max-width: calc(100% - 70px);
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                margin-right: auto;
            }


            /* Center the bolt icon under each word on small screens */
            .services-tags .service::after {
                content: '⚡';
                display: block;
                margin: 0.45rem auto 0;
                color: var(--accent-orange);
                line-height: 1;
                text-align: center;
            }

            .services-tags .service:last-child::after {
                display: none;
            }

            .contact-headbox {
                padding: 1rem;
                margin-bottom: 1.4rem;
            }

            .contact-headbox-title {
                font-size: 1.05rem;
            }

            .contact-headbox-address {
                font-size: 0.95rem;
                line-height: 1.35;
            }

            .contact-headbox-service {
                font-size: 0.9rem;
            }

}

        /* Small Devices (Tablets) */
        @media (min-width: 576px) and (max-width: 767.98px) {
            .navbar-custom {
                padding: 1.2rem 0;
                min-height: 75px;
            }
            
            .navbar-brand {
                font-size: 1.3rem !important;
                max-width: 75%;
            }
            
            .navbar-custom .navbar-toggler {
                right: 15px;
                padding: 0.6rem;
            }
            
            .navbar-custom .navbar-collapse,
            .navbar-custom .navbar-collapse.show,
            .navbar-custom .navbar-collapse.collapsing,
            .navbar-custom .collapse.navbar-collapse,
            .navbar-custom .navbar-nav {
                background-color: var(--primary-silver) !important;
                width: 100% !important;
            }
            
            .company-name {
                font-size: 2.2rem;
                letter-spacing: 2px;
            }
            
            .lightning-bolt {
                font-size: 2.5rem;
                margin: 0 3px;
            }
            
            .company-subtitle {
                font-size: 1.3rem;
                margin-bottom: 1.8rem;
            }
            
            .services-tags {
                font-size: 1.1rem;
                margin-bottom: 1.8rem;
            }
            
            .services-tags .service {
                display: inline-block;
                margin: 0.3rem 0.5rem;
            }
            
            .tagline {
                font-size: 1.2rem;
                margin-bottom: 2.5rem;
            }
            
            .cta-button {
                padding: 0.9rem 1.8rem;
                font-size: 1rem;
            }
            
            .contact-info h3 {
                font-size: 2rem;
            }
            
            .contact-details {
                grid-template-columns: 1fr;
                max-width: 450px;
            }
            
            .contact-item {
                padding: 1.8rem;
            }
            
            .contact-item i {
                font-size: 1.8rem;
            }
            
            .contact-item h5 {
                font-size: 1.2rem;
            }
            
            .license-info h4 {
                font-size: 1.3rem;
            }
            
            .license-info p {
                font-size: 1rem;
            }
            
            .hero-content {
                padding: 1.5rem;
            }
            
            .contact-section {
                padding: 3rem 0;
            }
        
            .contact-headbox {
                padding: 1.1rem 1.2rem;
                margin-bottom: 1.7rem;
            }

            .contact-headbox-title {
                font-size: 1.1rem;
            }

            .contact-headbox-address {
                font-size: 1rem;
            }

}

        /* Medium Devices (Small Laptops) */
        @media (min-width: 768px) and (max-width: 991.98px) {
            .navbar-custom .navbar-toggler {
                right: 20px;
            }
            
            .navbar-custom .navbar-collapse.show .navbar-nav {
                padding: 10px 15px;
            }


            .navbar-custom .navbar-nav {
                background-color: var(--primary-silver) !important;
                width: 100% !important;
            }
            
            /* Styles for dropdown nav links on iPad */
            .navbar-custom .navbar-nav .nav-link {
                padding: 12px 15px !important;
                margin: 0 !important;
                border-bottom: 1px solid rgba(0,0,0,0.1);
            }
            
            .navbar-custom .navbar-nav .nav-item:last-child .nav-link {
                border-bottom: none;
            }
            
            .company-name {
                font-size: 3rem;
                letter-spacing: 2px;
            }
            
            .lightning-bolt {
                font-size: 3.5rem;
            }
            
            .company-subtitle {
                font-size: 1.5rem;
            }
            
            .tagline {
                font-size: 1.4rem;
            }
            
            .cta-button {
                padding: 1rem 2rem;
                font-size: 1.1rem;
            }
            
            .contact-info h3 {
                font-size: 2.2rem;
            }
            
            .contact-details {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .license-info {
                max-width: 90%;
                margin-left: auto;
                margin-right: auto;
            }

            /* Pixel 8 Pro landscape (and similar): prevent hero text from sitting under the fixed navbar */
            .hero-section {
                padding-top: 120px;
                padding-bottom: 40px;
                min-height: 100vh;
                align-items: flex-start;
            }

            .hero-content {
                padding-top: 0;
            }

            /* iPad Mini / tablet portrait: keep services centered and bolts balanced */
            .services-tags {
                font-size: 1.15rem;
                margin-top: 1.25rem;   /* more air after subtitle */
                margin-bottom: 1.35rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 0.6rem;
            }

            .services-tags .service {
                display: block;
                margin: 0;
                text-align: center;
            }

            .services-tags .service::after {
                content: '⚡';
                display: block;
                margin: 0.35rem auto 0;
                color: var(--accent-orange);
                line-height: 1;
                text-align: center;
            }

            .services-tags .service:last-child::after {
                display: none;
            }

            /* Space the hero elements out a bit on tablet */
            .company-subtitle {
                margin-bottom: 0; /* let .services-tags own the spacing */
            }

            .tagline {
                margin-top: 1.15rem;
                margin-bottom: 1.6rem;
            }

            .cta-section {
                margin-top: 0;
            }


            .contact-headbox {
                margin-bottom: 1.8rem;
            }

}

        /* Large Devices (Desktops) */
        @media (min-width: 992px) and (max-width: 1199.98px) {
            .navbar-custom .navbar-collapse.show .navbar-nav {
                padding: 10px 15px;
            }
            
            .navbar-custom .navbar-collapse {
                display: flex;
                justify-content: flex-end;
            }
            
            .company-name {
                font-size: 3.5rem;
            }
            
            .lightning-bolt {
                font-size: 4rem;
            }
            
            .company-subtitle {
                font-size: 1.6rem;
            }
            
            .services-tags {
                font-size: 1.3rem;
            }
            
            .tagline {
                font-size: 1.5rem;
            }
            
            .cta-button {
                padding: 1rem 2.2rem;
            }
            
            .contact-details {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .contact-item {
                transition: all 0.4s ease;
            }
            
            .hero-content {
                max-width: 850px;
            }

            /* Tablet landscape / short viewport: keep hero text below fixed navbar */
            .hero-section {
                padding-top: 120px;
                padding-bottom: 40px;
                align-items: flex-start;
            }

            .hero-content {
                padding-top: 0;
            }
        

            /* Services: force 5 cards per row on desktop */
            .services-section .row.g-4 > div {
                flex: 0 0 20%;
                max-width: 20%;
            }

}

        /* Extra Large Devices (Big Desktops) */
        @media (min-width: 1200px) {
            .navbar-custom {
                min-height: 90px;
            }
            
            .navbar-custom .container {
                max-width: 1400px;
                padding: 0 30px;
            }
            
            .navbar-custom .navbar-collapse {
                display: flex;
                justify-content: flex-end;
            }
            
            .navbar-custom .navbar-nav .nav-link {
                margin: 0 1.2rem;
                font-size: 1.2rem;
                padding: 0.7rem 0;
            }
            
            .company-name {
                font-size: 4.2rem;
                letter-spacing: 4px;
            }
            
            .lightning-bolt {
                font-size: 4.8rem;
            }
            
            .company-subtitle {
                font-size: 2rem;
            }
            
            .services-tags {
                font-size: 1.5rem;
            }
            
            .tagline {
                font-size: 1.8rem;
            }
            
            .cta-button {
                padding: 1.2rem 2.8rem;
                font-size: 1.3rem;
                letter-spacing: 1.5px;
            }
            
            .cta-button:hover {
                transform: translateY(-5px);
                box-shadow: 0 12px 30px rgba(192, 192, 192, 0.5);
            }
            
            .contact-info h3 {
                font-size: 2.8rem;
            }
            
            .contact-item {
                padding: 2.5rem;
            }
            
            .contact-item i {
                font-size: 2.5rem;
            }
            
            .contact-item h5 {
                font-size: 1.5rem;
            }
            
            .contact-item p {
                font-size: 1.2rem;
            }
            
            .hero-content {
                max-width: 1100px;
                padding: 3rem;
            }

            /* Tablet landscape / short viewport: keep hero text below fixed navbar */
            .hero-section {
                padding-top: 140px;
                padding-bottom: 40px;
                align-items: flex-start;
            }

            .hero-content {
                padding-top: 0;
            }
            
            .contact-section {
                padding: 5rem 0;
            }
            
            .license-info {
                max-width: 80%;
                margin-left: auto;
                margin-right: auto;
                padding: 2.5rem;
            }
            
            .license-info h4 {
                font-size: 1.8rem;
            }
            
            .license-info p {
                font-size: 1.3rem;
            }
        

            /* Services: force 5 cards per row on desktop */
            .services-section .row.g-4 > div {
                flex: 0 0 20%;
                max-width: 20%;
            }

}

          /* Ultra Wide Screens */
        @media (min-width: 2000px) {
            .navbar-custom {
                min-height: 100px;
                padding: 1.8rem 0;
            }
            
            .navbar-custom .container {
                max-width: 1800px;
                padding: 0 50px;
            }
            
            .navbar-custom .navbar-brand {
                left: 50px;
                font-size: 2rem !important;
            }
            
            .navbar-custom .navbar-nav {
                right: 50px;
            }
            
            .navbar-custom .navbar-nav .nav-link {
                font-size: 1.3rem;
                padding: 0.8rem 0;
                margin: 0 1.5rem;
            }
        }

/* =========================
   Services + About Sections
   ========================= */

/* Improve anchor scrolling with fixed navbar */
html {
    scroll-padding-top: 140px;
}

section[id] {
    scroll-margin-top: 140px; /* keeps headings from hiding under fixed navbar */
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--primary-silver);
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0 auto;
}

/* Services */
.services-section {
    background-color: var(--primary-silver);
}

.services-section .section-title {
    color: var(--text-dark);
}

.services-section .section-subtitle {
    color: rgba(0, 0, 0, 0.75);
}

.service-card {
    /* Match Contact cards, but placed on the silver Services background */
    background: rgba(0, 0, 0, 0.9);
    color: var(--text-light);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid var(--primary-silver);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 30px rgba(192, 192, 192, 0.3),
        0 0 28px rgba(192, 192, 192, 0.45),
        0 0 60px rgba(192, 192, 192, 0.18);
}


.service-icon {
    /* Keep markup, but visually match the Contact card icons */
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-silver);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-silver);
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
}

/* About */
.about-section {
    background-color: #111111;
}

.about-section .section-title {
    color: var(--primary-silver);
}

.about-section .section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
}

.about-image {
    float: left;
    width: 360px;
    max-width: 45%;
    height: auto;
    margin: 0 1.75rem 1rem 0;
    border-radius: 18px;
    border: 2px solid rgba(192, 192, 192, 0.55);
    background-color: rgba(255, 255, 255, 0.08);
}

.about-content strong {
    color: var(--primary-silver);
}

.about-content::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem 1.6rem;
    }

    .about-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.25rem 0;
    }
}

/* =========================
   Responsive Breakpoints
   (Bootstrap-aligned)
   ========================= */

/* Base styles (xs and up) */
/* No media query needed */

/* Small devices (sm and up) */
@media (min-width: 576px) {
  /* Your styles here */
}

/* Medium devices (md and up) */
@media (min-width: 768px) {
  /* Your styles here */
}

/* Large devices (lg and up) */
@media (min-width: 992px) {
  /* Your styles here */
}

/* Extra large devices (xl and up) */
@media (min-width: 1200px) {
  /* Your styles here */
}

/* Extra extra large devices (xxl and up) */
@media (min-width: 1400px) {
  /* Your styles here */
}
