  /* Base styles */
        :root {
            --primary-blue: #1a202c; /* Equivalent to blue-900 */
            --dark-blue: #2c5282;   /* Equivalent to blue-700 */
            --light-blue: #ebf8ff;  /* Equivalent to blue-50 */
            --accent-yellow: #f6e05e; /* Equivalent to yellow-300 */
            --green-primary: #48af73; /* Equivalent to green-500 */
            --green-hover: #38a169;   /* Equivalent to green-600 */
            --text-gray-700: #000000; /* Equivalent to gray-700 */
            --text-gray-800: #ffffff; /* Equivalent to gray-800 */
        }

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            background-color: #f7fafc; /* gray-100 */
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 1rem;
            padding-right: 1rem;
        }

        /* Header */
        .header {
            /* Background image for header */
            background-image: linear-gradient(rgba(0, 0, 0, 0.992), rgb(0, 0, 0)), url('back.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            color: white;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 1rem 0;
        }

        .header .flex-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
        }

        .header .logo-container {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .header .logo {
            height: 2.5rem;
            width: 2.5rem;
            background-color: var(--accent-yellow);
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            font-weight: bold;
        }

        .header .company-name {
            font-size: 1.25rem;
            font-weight: bold;
            white-space: nowrap;
        }

        .header .menu-button {
            display: block;
            color: white;
            padding: 0.5rem;
            border-radius: 0.375rem;
            border: none;
            background: none;
            cursor: pointer;
        }

        .header .menu-button svg {
            width: 1.5rem;
            height: 1.5rem;
        }

        .header .nav-links {
            display: none; /* Hidden by default for mobile */
            gap: 1.5rem;
            align-items: center;
        }

        .header .nav-links .nav-link,
        .header .nav-links button,
        .nav-link {
            display: inline-block;
            color: #ffffff;
            text-decoration: none;
            font-weight: 600;
            letter-spacing: 0.02em;
            padding: 0.5rem 0.4rem;
            border-radius: 0.5rem;
            position: relative;
            transition: all 0.25s ease-in-out;
            background: none;
            border: none;
            cursor: pointer;
        }

        .header .nav-links .nav-link:hover,
        .header .nav-links button:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.13);
            box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
        }

        .header .nav-links .nav-link::after,
        .header .nav-links button::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -0.2rem;
            width: 0;
            height: 2px;
            background-color: var(--accent-yellow);
            transition: width 0.25s ease-in-out, left 0.25s ease-in-out;
        }

        .header .nav-links .nav-link:hover::after,
        .header .nav-links button:hover::after {
            width: 70%;
            left: 15%;
        }

        .header .nav-links button:hover::after {
            width: 100%;
        }

        .mobile-nav-menu {
            display: none; /* Hidden by default */
            background-color: rgba(28, 61, 90, 0.9); /* blue-800 with transparency for visual effect */
            padding-bottom: 1rem;
        }

        .mobile-nav-menu.open {
            display: block;
        }

        .mobile-nav-menu nav {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding-top: 0.5rem;
        }

        .mobile-nav-menu nav a,
        .mobile-nav-menu nav button {
            display: block;
            width: 90%;
            text-align: center;
            margin: 0.3rem auto;
            padding: 0.65rem 1rem;
            color: white;
            background-color: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.25);
            border-radius: 0.5rem;
            transition: all 0.25s ease-in-out;
            cursor: pointer;
            font-weight: 600;
            letter-spacing: 0.02em;
            text-decoration: none;
        }

        .mobile-nav-menu nav a:hover,
        .mobile-nav-menu nav button:hover {
            background-color: rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.45);
            transform: translateY(-1px);
        }

        /* Page Content */
        main {
            flex-grow: 1;
        }

        .page-content {
            display: none; /* Pages are hidden by default */
            min-height: 500px; /* Ensure content pushes footer down */
        }

        .page-content.active {
            display: block;
        }

        .page-section {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            margin: 2rem auto;
            padding: 2rem;
        }

        h2 {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--primary-blue);
            margin-bottom: 1.5rem;
            text-align: center;
        }

        h3 {
            font-size: 1.5rem;
            font-weight: 600;
            color: #2c5282; /* blue-800 */
            margin-bottom: 1rem;
        }

        p {
            font-size: 1.125rem;
            color: rgb(102, 99, 99); /* white text for better contrast */
            line-height: 1.625;
            margin-bottom: 1rem;
        }

        ul {
            list-style-type: disc;
            margin-left: 1.5rem;
            color: var(--text-gray-700);
            line-height: 1.625;
        }

        ul li {
            margin-bottom: 0.5rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1rem;
        }

        th, td {
            padding: 0.75rem 1.5rem;
            text-align: left;
            border-bottom: 1px solid #e2e8f0; /* gray-200 */
        }

        th {
            background-color: #ebf8ff; /* blue-100 */
            color: #2c5282; /* blue-700 */
            text-transform: uppercase;
            font-size: 0.875rem;
            line-height: 1.25rem;
        }

        tbody tr:nth-child(even) {
            background-color: #f7fafc; /* gray-50 */
        }

        tbody tr:hover {
            background-color: #edf2f7; /* gray-100 */
        }

        .overflow-x-auto {
            overflow-x: auto;
        }

        .grid-cols-1 { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); }
        .grid-cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .gap-4 { gap: 1rem; }
        .gap-8 { gap: 2rem; }

        .text-center { text-align: center; }
        .mx-auto { margin-left: auto; margin-right: auto; }
        .w-full { width: 100%; }
        .max-w-lg { max-width: 32rem; }
        .rounded-lg { border-radius: 0.5rem; }
        .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
        .shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
        .shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
        .shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06); }

        /* AI Project Idea Generator */
        textarea {
            padding: 0.75rem;
            border: 1px solid #90cdf4; /* blue-300 */
            border-radius: 0.375rem;
        }
        textarea:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5); /* blue-500 ring */
        }

        button {
            padding: 0.5rem 1.5rem;
            font-weight: 700;
            border-radius: 9999px;
            transition: background-color 0.3s ease-in-out;
            cursor: pointer;
            border: none;
            outline: none;
        }

        .btn-primary {
            background-color: #3182ce; /* blue-600 */
            color: white;
        }

        .btn-primary:hover {
            background-color: #2c5282; /* blue-700 */
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .ai-insights-box {
            margin-top: 1.5rem;
            padding: 1rem;
            background-color: #ebf8ff; /* blue-100 */
            border: 1px solid #90cdf4; /* blue-300 */
            border-radius: 0.375rem;
            color: var(--text-gray-800);
            white-space: pre-wrap; /* Preserve whitespace and line breaks */
        }

        .loading-dots {
            display: inline-block;
            animation: typing 1s infinite steps(3);
        }

        @keyframes typing {
            0%, 100% { content: "."; }
            33% { content: ".."; }
            66% { content: "..."; }
        }

        /* Contact Form */
        .form-label {
            display: block;
            color: var(--text-gray-700);
            font-size: 0.875rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .form-input {
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            appearance: none;
            border: 1px solid #e2e8f0; /* gray-300 */
            border-radius: 0.25rem;
            width: 100%;
            padding: 0.5rem 0.75rem;
            color: var(--text-gray-700);
            line-height: 1.25;
        }

        .form-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5); /* blue-500 ring */
        }

        /* Map Placeholder */
        .aspect-w-16 { position: relative; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ }
        .aspect-h-9 { position: relative; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ }
        .aspect-w-16 iframe, .aspect-h-9 iframe {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            border: 0;
        }

        /* Footer */
        .footer {
            background-color: #1a202c; /* gray-900 */
            color: #cbd5e0; /* gray-300 */
            padding-top: 2rem;
            padding-bottom: 2rem;
        }

        .footer h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: white;
            margin-bottom: 1rem;
        }

        .footer p, .footer ul li {
            margin-bottom: 0.5rem;
            font-size: 0.9375rem;
        }

        .footer a {
            color: #cbd5e0; /* gray-300 */
            transition: color 0.3s ease-in-out;
        }

        .footer a:hover {
            color: var(--accent-yellow);
        }

        .footer-bottom {
            border-top: 1px solid #4a5568; /* gray-700 */
            margin-top: 2rem;
            padding-top: 1.5rem;
            text-align: center;
            color: #a0aec0; /* gray-500 */
            font-size: 0.875rem;
        }

        /* Background Image Sections */
        .hero-section {
            /* Background image for hero section */
            background-image: linear-gradient(rgba(2, 28, 92, 0), rgba(0, 0, 0, 0.613)), url('back.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white; /* Text color for contrast */
            text-align: center;
            padding: 6rem 1rem;
            border-radius: 0.5rem;
            margin: 2rem auto;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .hero-section h2 {
            color: white; /* Ensure heading is white */
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .hero-section p {
            color: #e0f2f7; /* Lighter text for contrast */
            font-size: 1.25rem;
            max-width: 800px;
            margin: 0 auto 2rem auto;
        }

        .services-background {
            background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://placehold.co/1200x500/023047/e0f2f7?text=Electrical+Infrastructure');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            text-align: center;
            padding: 4rem 1rem;
            border-radius: 0.5rem;
            margin: 2rem auto;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .services-background h2 {
            color: white;
        }

        /* Responsive adjustments */
        @media (min-width: 640px) { /* sm */
            .header .company-name {
                font-size: 1.5rem; /* md:text-2xl */
            }
            .grid-cols-md-2 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 768px) { /* md */
            .header .company-name {
                font-size: 1.5rem;
            }
            .hero-section h2 {
                font-size: 3.75rem; /* md:text-5xl */
            }
        }

        @media (min-width: 1024px) { /* lg */
            .header .menu-button {
                display: none;
            }
            .header .nav-links {
                display: flex;
            }
            .mobile-nav-menu {
                display: none;
            }
            .header .company-name {
                font-size: 1.5rem;
            }
        }

        @media (min-width: 1280px) { /* xl */
            .header .company-name {
                font-size: 2rem; /* xl:text-3xl */
            }
        }