/* General Body & Typography */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    background-color: #f8faff;
    /* Light background */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: #1a237e;
    /* Dark blue for headings */
    margin-top: 0;
    margin-bottom: 15px;
}

h1 {
    font-size: 2.8em;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.8em;
}

/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

a {
    text-decoration: none;
    color: #4a148c;
    /* Purple for links */
    transition: color 0.3s ease;
}

a:hover {
    color: #880e4f;
    /* Darker purple on hover */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: #4a148c;
    /* Primary brand purple */
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #880e4f;
    /* Darker purple on hover */
    color: #ffffff;
}

.secondary-btn {
    background-color: transparent;
    color: #4a148c;
    border: 2px solid #4a148c;
}

.secondary-btn:hover {
    background-color: #4a148c;
    color: #ffffff;
}

.small-btn {
    padding: 8px 15px;
    font-size: 0.9em;
}

/* Header */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.logo h1 {
    font-size: 1.8em;
    margin: 0;
    color: #1a237e;
}

/* nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    font-size: 2ex !important;
}

nav ul li {
    margin-left: 30px !important;
}
*/
nav ul li a {
    color: #333 !important;
    position: relative !important;
    /* padding-bottom: 5px !important; */
    text-decoration: none !important;
}

nav ul li a.active,
nav ul li a:hover {
    color: #4a148c !important;
}

nav ul li a::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 0 !important;
    height: 3px !important;
    background-color: #4a148c !important;
    transition: width 0.3s ease !important;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    width: 100% !important;
}

nav .nav-image {
    height: 50px;
    width: auto;
}

.logo {
    height: 50px;
    width: auto;
}

/* Hero Banner */
.hero-banner,
.page-banner {
    background-color: #e3f2fd;
    /* Light blue background */
    color: #1a237e;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* For any background images or patterns */
    min-height: 750px;
    /* Ensure a decent height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner .container,
.page-banner .container {
    position: relative;
    z-index: 2;
}

.hero-banner h1,
.page-banner h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #1a237e;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-banner p,
.page-banner p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #3f51b5;
    /* Slightly lighter blue */
}

/* Optional: Background image for banners */
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    /* Subtle background */
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image- filter: grayscale(50%) brightness(80%);
}

/* General Section Styling */
section {
    padding: 80px 0;
}

.content-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.content-section .container {
    display: flex;
    /* align-items: center; */
    gap: 40px;
}

.content-section .section-text,
.content-section .section-image {
    flex: 1;
}

.content-section .section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-section.reverse .section-image {
    order: 2;
}

.content-section.reverse .section-text {
    order: 1;
}

/* Home Page Specific Sections */
.about-us-preview {
    text-align: justify;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-us-preview .section-image {
    max-width: 100%;
    /* Limit image width */
    margin: 0 auto;
}

.about-us-preview .section-image img {
    width: 100%;
    height: auto;
}

.services-preview {
    background-color: #f0f4f7;
    /* Slightly darker light blue */
    text-align: center;
}

.services-preview h2 {
    margin-bottom: 50px;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-cards .card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-cards .card img {
    width: 15em;
    height: auto;
    margin-bottom: 20px !important;
    filter: drop-shadow(0 5px 5px rgba(74, 20, 140, 0.3));
    align-items: center;
    justify-content: center;
    margin: auto;
    /* Purple shadow */
}

.service-cards .card h3 {
    font-size: 1.4em;
    color: #1a237e;
    margin-bottom: 15px;
}

.service-cards .card p {
    font-size: 1em;
    color: #555;
}

.call-to-action {
    background-color: #4a148c;
    /* Dark purple */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.call-to-action h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.call-to-action p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.call-to-action .primary-btn {
    background-color: #880e4f;
    /* Accent darker purple */
}

.call-to-action .primary-btn:hover {
    background-color: #ad1457;
    /* Even darker accent */
}

/* About Us Page */
.mission-vision,
.our-values {
    background-color: #ffffff;
}

.our-values ul {
    list-style: none;
    padding: 0;
}

.our-values ul li {
    background-color: #f0f4f7;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid #4a148c;
    border-radius: 4px;
}

.our-values ul li strong {
    color: #1a237e;
}

/* Services Page */
.service-list .service-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.service-list .service-item.reverse {
    flex-direction: row-reverse;
}

.service-list .service-item img {
    flex-shrink: 0;
    width: 15em;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 8px rgba(74, 20, 140, 0.4));
}

.service-list .service-item h3 {
    color: #1a237e;
    font-size: 1.6em;
    margin-bottom: 10px;
}

.service-list .service-item p {
    margin-bottom: 15px;
}

.service-list .service-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.service-list .service-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
}

.service-list .service-item ul li::before {
    content: '✓';
    /* Checkmark icon */
    color: #4CAF50;
    /* Green check */
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Case Studies Page */
.case-studies-grid {
    background-color: #f8faff;
}

.case-studies-grid h2 {
    text-align: center;
    margin-bottom: 60px;
}

.case-study-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    margin-bottom: 40px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    flex: 1;
    width: 50em;
    height: 25em;
    /* Adjust as needed */
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    align-items: left;
    justify-content: left;
    align-content: left;
}

.case-study-content {
    flex: 2;
    padding: 20px;
    margin: 20px;
}

.case-study-content h3 {
    color: #1a237e;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.case-study-content .industry {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
}

/* Contact Us Page */
.contact-info-form .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-details {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}

.contact-details h2 {
    margin-bottom: 20px;
}

.contact-details p {
    margin-bottom: 25px;
    font-size: 1.1em;
}

.contact-details .info-item {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-details .info-item strong {
    color: #1a237e;
}

.contact-details .contact-image {
    margin-top: 40px;
    max-width: 400px;
    /* Limit image size */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.contact-details .contact-image img {
    width: 100%;
    height: auto;
    display: block;
}

.contact-form-container {
    flex: 2;
    min-width: 400px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: #1a237e;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4a148c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.email-confirm-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
}

.email-confirm-group label {
    flex-basis: 100%;
}

.email-confirm-group input {
    flex: 1;
    min-width: 200px;
}

.email-confirm-group .btn {
    flex-shrink: 0;
    padding: 10px 20px;
}

.status-message {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 0.9em;
}

.status-message.success {
    color: #28a745;
    /* Green */
}

.status-message.error {
    color: #dc3545;
    /* Red */
}

.captcha-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.captcha-group label {
    flex-basis: 100%;
    /* Take full width */
    margin-bottom: 5px;
}

.captcha-display {
    background-color: #e0e0e0;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #555;
    letter-spacing: 2px;
    user-select: none;
    display: inline-block;
    min-width: 120px;
    text-align: center;
    border: 1px dashed #ccc;
}

.captcha-group input {
    flex: 1;
    /* Take up available space */
    min-width: 150px;
}

/* Footer */
footer {
    background-color: #1a237e;
    /* Dark blue */
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
}

.footer-links a {
    color: #ffffff;
    margin-left: 5px;
    text-align: left;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.5em;
    }

    .content-section .container {
        flex-direction: column;
        /* text-align: center; */
    }

    .content-section.reverse .container {
        flex-direction: column;
    }

    .content-section .section-image,
    .content-section .section-text {
        width: 100%;
    }

    .content-section .section-image {
        margin-bottom: 30px;
    }

    .service-list .service-item,
    .service-list .service-item.reverse {
        flex-direction: column;
        /* text-align: center; */
        align-items: center;
    }

    .service-list .service-item img {
        margin-bottom: 20px;
    }

    .case-study-card {
        flex-direction: column;
    }

    .case-study-image {
        min-width: unset;
        width: 100%;
        height: 250px;
        /* Fixed height for mobile image */
    }

    .case-study-content {
        padding: 30px;
    }

    .contact-info-form .container {
        flex-direction: column;
    }

    .contact-details,
    .contact-form-container {
        min-width: unset;
        width: 100%;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .contact-details .contact-image {
        max-width: 100%;
    }

    .email-confirm-group input,
    .email-confirm-group .btn {
        flex: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        /* text-align: center; */
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px 10px;
    }

    .hero-banner,
    .page-banner {
        padding: 60px 0;
    }

    .hero-banner h1,
    .page-banner h1 {
        font-size: 2.2em;
    }

    .hero-banner p,
    .page-banner p {
        font-size: 1em;
    }

    section {
        padding: 60px 0;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
    }

    .footer-links {
        margin-top: 15px;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.3em;
    }

    .logo h1 {
        font-size: 1.5em;
    }

    .btn {
        padding: 10px 20px;
    }

    .form-group input,
    .form-group textarea {
        width: calc(100% - 20px);
    }

    .captcha-group input {
        width: calc(100% - 20px);
    }

    .captcha-display {
        flex-basis: 100%;
    }
}

.section-image-1 {
    max-width: 100%;
    /* Limit image width */
    margin: 0 auto;
}

.section-image-1 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .hero-banner {
        display: none;
    }
}



:root {
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-color: #334155;
    --bs-body-bg: #f8fafc;
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-light: #f1f5f9;
    --bs-light-rgb: 241, 245, 249;
}

html {
    scroll-behavior: smooth;
}

/* body {
            font-family: var(--bs-body-font-family);
        } */
.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    max-height: 400px;
}

@media (min-width: 768px) {
    .chart-container {
        height: 400px;
    }
}

.nav-link.active {
    color: var(--bs-primary) !important;
    font-weight: 600;
}

.problem-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.problem-card.selected {
    border-color: var(--bs-primary) !important;
    background-color: #eef2ff !important;
    transform: translateY(-4px);
}

.impact-btn.active {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.fw-extrabold {
    font-weight: 800;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.display-4 {
    font-weight: 800;
}

.lead {
    font-size: 1.15rem;
    color: #475569;
}

h2 {
    font-weight: 700;
}

/* Style for the second nav's visibility transition */
#second-nav {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

#second-nav.visible {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}



.case-study-header {
    /* background: linear-gradient(rgba(66, 4, 4, 0.6), rgba(26, 2, 1, 0.363)), url(https://placehold.co/1200x400/343a40/ffffff?text=Government+Tech+Modernization) no-repeat center top; */
    /* background-size: cover; */
    color: black;
    background-color: lightsteelblue;
    margin: 5px;
}

.stat-box {
    background-color: #e9ecef;
    border-left: 5px solid #0d6efd;
}

/* .case-study-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(https://placehold.co/1200x400/1e293b/ffffff?text=Global+Security+Transformation) no-repeat center center;
    background-size: cover;
    color: white;
} */

.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}