
        :root {
            --primary: #1a3a63;
            --primary-light: #2c5282;
            --secondary: #3498db;
            --accent: #f39c12;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --white: #ffffff;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }
        
        body {
            background: var(--light);
            color: var(--dark);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header Styles */
        header {
            background: var(--primary);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 28px;
            font-weight: 800;
            color: white;
            text-decoration: none;
        }
        
        .logo span {
            color: var(--secondary);
        }
        
        /* Navigation */
        nav > ul {
            display: flex;
            list-style: none;
            align-items: center;
        }
        
        nav > ul > li {
            margin-left: 30px;
            position: relative;
        }
        
        nav > ul > li > a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            position: relative;
            padding: 10px 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        nav > ul > li > a:hover {
            color: var(--secondary);
        }

        nav > ul > li > a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--secondary);
            bottom: -5px;
            left: 0;
            transition: var(--transition);
        }
        
        nav > ul > li > a:hover:after {
            width: 100%;
        }

        /* Services Dropdown */
        .services-dropdown {
            position: relative;
        }

        .dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 10px;
            background-color: var(--white);
            border-radius: 10px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            padding: 20px;
            width: 600px; 
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease, margin-top 0.3s ease;
            z-index: 1100;
        }

        .services-dropdown:hover .dropdown-menu {
            display: block;
            opacity: 1;
            visibility: visible;
            margin-top: 5px;
        }
        
        .dropdown-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .dropdown-grid a {
            color: var(--primary);
            text-decoration: none;
            padding: 10px 15px;
            border-radius: 5px;
            font-weight: 500;
            transition: var(--transition);
            display: block;
        }

        .dropdown-grid a:hover {
            background-color: var(--light-gray);
            color: var(--secondary);
        }

        
        /* Mobile Navigation */
        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .mobile-nav {
            display: none;
            background: var(--primary-light);
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            z-index: 999;
        }
        
        .mobile-nav.active {
            display: block;
        }
        
        .mobile-nav ul {
            list-style: none;
            padding: 20px;
        }
        
        .mobile-nav ul li {
            margin-bottom: 15px;
        }
        
        .mobile-nav ul li a {
            color: white;
            text-decoration: none;
            font-size: 1.1rem;
            display: block;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(26, 58, 99, 0.85), rgba(26, 58, 99, 0.95)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0;
            text-align: center;
            position: relative;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            font-weight: 800;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .hero p {
            font-size: 1.5rem;
            max-width: 800px;
            margin: 0 auto 30px;
            text-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        
        .cta-button {
            display: inline-block;
            background: var(--secondary);
            color: white;
            padding: 15px 35px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.2rem;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
        }
        
        .cta-button:hover {
            background: var(--primary-light);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        }

        /* Section Styles */
        section {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--primary);
            position: relative;
            font-size: 2.5rem;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: var(--secondary);
            margin: 15px auto 0;
        }
        
        /* Services Section */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            background: var(--white);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            border: 1px solid rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-color: var(--secondary);
        }
        
        .service-image img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }

        .service-card:hover .service-image img {
            transform: scale(1.05);
        }
        
        .service-content {
            padding: 25px;
            flex-grow: 1;
        }

        .service-content h3 {
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 15px;
        }

        .service-content ul {
            padding-left: 20px;
            margin-top: 15px;
        }

        .service-content li {
            margin-bottom: 10px;
        }

        /* Policy Section */
        #policy {
            background-color: var(--light-gray);
        }
        .policy-container {
            max-width: 900px;
            margin: 0 auto;
            background: var(--white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        }
        .policy-section {
            margin-bottom: 40px;
        }
        .policy-section:last-child {
            margin-bottom: 0;
        }
        .policy-section h3 {
            color: var(--primary);
            font-size: 1.8rem;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--secondary);
        }
        .policy-section p {
            color: var(--gray);
            line-height: 1.7;
        }
        
        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .about-text {
            padding-right: 20px;
        }
        
        .about-image-container img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .about-text h3 {
            color: var(--primary);
            margin-bottom: 20px;
            font-size: 2rem;
        }
        
        .about-text p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            line-height: 1.7;
        }
        
        .blockquote {
            border-left: 4px solid var(--secondary);
            padding-left: 20px;
            margin: 25px 0;
            font-style: italic;
            color: var(--primary);
            font-size: 1.2rem;
        }

        /* Case Studies Section */
        #case-studies {
            background: var(--light-gray);
        }
        
        .case-study-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .case-study-card {
            background: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }
        
        .case-study-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .case-study-image img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: var(--transition);
        }

        .case-study-card:hover .case-study-image img {
            transform: scale(1.05);
        }
        
        .case-study-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .case-study-title {
            font-size: 1.3rem;
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .case-study-description {
            color: var(--gray);
            margin-bottom: 15px;
            flex-grow: 1;
        }
        
        .case-study-result {
            font-weight: 700;
            color: var(--secondary);
            margin-bottom: 15px;
        }
        
        .read-more {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            transition: var(--transition);
        }
        
        .read-more:hover {
            color: var(--secondary);
        }
        
        .read-more i {
            margin-left: 5px;
            transition: var(--transition);
        }
        
        .read-more:hover i {
            transform: translateX(5px);
        }

        /* Contact Form Section */
        .contact-form-section {
            background: var(--light-gray);
        }
        
        .form-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            background: var(--white);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .form-content {
            padding: 50px;
        }
        
        .form-content h2 {
            color: var(--primary);
            margin-bottom: 15px;
            font-size: 2.5rem;
        }
        
        .form-content p {
            margin-bottom: 30px;
            color: var(--gray);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--primary);
        }
        
        .form-control {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-control:focus {
            border-color: var(--secondary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
        }
        
        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }
        
        .submit-btn {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
        }
        
        .submit-btn:hover {
            background: var(--primary-light);
            transform: translateY(-3px);
        }

        .contact-info-sidebar {
            background: var(--primary);
            color: white;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .contact-detail {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-right: 15px;
            min-width: 30px;
            text-align: center;
        }
        
        .contact-text h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
        }
        
        .address {
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        .address h4 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--secondary);
        }
        
        .address p {
            margin-bottom: 10px;
            line-height: 1.6;
        }
        
        /* Stats Section */
        .stats {
            background: var(--primary);
            color: white;
            padding: 60px 0;
            text-align: center;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }
        
        .stat-card {
            padding: 20px;
        }
        
        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--secondary);
        }
        
        .stat-text {
            font-size: 1.1rem;
        }
        
        /* Footer */
        footer {
            background: var(--primary);
            color: white;
            padding: 40px 0;
            text-align: center;
        }
        
        .footer-content {
            max-width: 600px;
            margin: 0 auto;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 20px 0;
        }
        
        .social-links a {
            color: white;
            font-size: 1.5rem;
            transition: var(--transition);
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .social-links a:hover {
            background: var(--secondary);
            transform: translateY(-3px);
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .form-container, .about-content {
                grid-template-columns: 1fr;
            }
            .about-text { padding-right: 0; }
            .dropdown-menu { width: 90vw; max-width: 400px; }
            .dropdown-grid { grid-template-columns: 1fr; }
        }
        
        @media (max-width: 768px) {
            .hero { padding: 80px 0; }
            .hero h1 { font-size: 2.5rem; }
            .hero p { font-size: 1.2rem; padding: 0 15px; }
            .section-title { font-size: 2rem; padding: 0 15px; }
            nav > ul { display: none; }
            .mobile-toggle { display: block; }
            .service-card, .case-study-card { padding: 0; }
            .service-content, .case-study-content { padding: 25px; }
            .form-content, .contact-info-sidebar { padding: 30px; }
        }
        
        @media (max-width: 480px) {
            .hero { padding: 60px 0; }
            .hero h1 { font-size: 1.8rem; padding: 0 15px; }
            .hero p { font-size: 1rem; }
            .section-title { font-size: 1.6rem; }
            .cta-button { padding: 12px 25px; font-size: 1rem; }
            .form-content h2 { font-size: 1.8rem; }
            .contact-detail { flex-direction: column; align-items: flex-start; }
            .contact-icon { margin-bottom: 10px; }
        }
        
        /* Form Validation */
        .form-group.error .form-control { border-color: #e74c3c; }
        .error-message { color: #e74c3c; font-size: 0.85rem; margin-top: 5px; display: none; }
        .form-group.error .error-message { display: block; }
        
        /* Success Message */
        .success-message {
            background: #2ecc71;
            color: white;
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
            text-align: center;
            display: none;
        }
    
/* APS Old Theme Colors */
header { background:#fff; }
header a { color:#000; }
header a:hover { color:#3498db; }
.logo-wordmark { font-weight:900; font-size:1.2rem; color:#000; }
.services-dropdown .dropdown-menu {
    display:none; position:absolute; top:100%; left:0; background:#fff;
    border:1px solid #ddd; border-radius:8px; padding:20px; box-shadow:0 8px 20px rgba(0,0,0,0.15);
}
.services-dropdown:hover .dropdown-menu { display:block; }
.dropdown-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:10px; }
.dropdown-grid a { padding:8px 12px; border-radius:6px; color:#000; background:#f8f8f8; }
.dropdown-grid a:hover { background:#3498db; color:#fff; }
#services .service-card { background:#333; border:none; }
#services .service-content h3 { color:#3498db; }
#services .service-content p { color:#ddd; }

/* Header/nav styling */
header {
    background:#1a3a63;
    color:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,0.15);
}
header a {
    color:#fff;
    font-weight:500;
}
header a:hover {
    color:#3498db;
}
nav ul {
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    align-items:center;
    gap:20px;
}
nav li {
    position:relative;
}
/* Services dropdown arrow */

.services-dropdown .dropdown-menu {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    color:#000;
    border-radius:8px;
    padding:20px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    z-index:1000;
    min-width:250px;
}
.services-dropdown:hover .dropdown-menu {
    display:block;
}
.dropdown-grid {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
}
.dropdown-grid a {
    padding:8px 12px;
    border-radius:6px;
    background:#f8f8f8;
    color:#000 !important;
    text-decoration:none;
    transition:background 0.3s;
}
.dropdown-grid a:hover {
    background:#3498db;
    color:#fff !important;
}
/* Mobile */
@media(max-width:768px){
    nav ul {
        flex-direction:column;
        background:#1a3a63;
        position:absolute;
        top:60px;
        left:0;
        width:100%;
        display:none;
    }
    nav ul.show {
        display:flex;
    }
    .menu-toggle {
        display:block;
        cursor:pointer;
        color:#fff;
        font-size:1.5rem;
    }
}
@media(min-width:769px){
    .menu-toggle {
        display:none;
    }
}

/* Polished visuals */
.hero h1, .hero p { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.service-card .service-image img { width:100%; height:220px; object-fit:cover; border-radius:12px 12px 0 0; }
.service-card { border-radius:14px; overflow:hidden; box-shadow:0 6px 18px rgba(0,0,0,.15); background:#fff; color:#333; }
.service-card h3 { color:#0f2744; }


        /* Enhanced offline compatibility styles */
        .service-card {
            background: var(--white);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            border: 1px solid rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        
        .service-content {
            padding: 25px;
            flex-grow: 1;
            color: #4a5568; /* Dark grey text */
        }
        
        .service-content h3 {
            color: var(--primary);
            font-size: 1.4rem;
            margin-bottom: 15px;
        }
        
        /* Ensure images are properly sized */
        .service-image img, .case-study-image img, .about-image-container img {
            width: 100%;
            height: auto;
            object-fit: cover;
            display: block;
        }