*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #2b3a50;
    background: #f4f7fb;
}

header {
    background: linear-gradient(135deg, #1f4e79, #18314f);
    color: #f4f7fb;
    padding: 1rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    border-bottom: 4px solid #f5cd6a;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

header nav .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease, opacity 0.16s ease;
    cursor: pointer;
}

.logo-link:active,
.logo-link:hover {
    transform: scale(0.96);
    opacity: 0.9;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-width: 0;
}

.search-form {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 160px;
    max-width: 260px;
    flex: 0 0 auto;
    background: rgba(255,255,255,0.08);
    padding: 0.06rem;
    border-radius: 999px;
}

.search-form input {
    width: 100%;
    min-width: 140px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px 0 0 999px;
    background: rgba(255,255,255,0.22);
    color: #fff;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.search-form input:focus {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.9);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}

.search-form input::placeholder {
    color: rgba(255,255,255,0.75);
}

.search-form button {
    margin: 0;
    border: none;
    border-radius: 0 999px 999px 0;
    padding: 0 0.8rem;
    height: 36px;
    color: #18314f;
    font-weight: 700;
    background: #f5cd6a;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.search-form button:hover {
    background: #e8c24d;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.search-results {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 1.2rem 1.25rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(27, 56, 92, 0.12);
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    color: #1f2d48;
}

.search-results.hidden {
    display: none;
}

.search-results h4 {
    margin: 0 0 0.75rem;
}

.search-results p {
    margin: 0.4rem 0 0 0;
}

.search-results ul {
    margin: 0.85rem 0 0 0;
    padding-left: 1.2rem;
}

.search-results li {
    margin: 0.85rem 0;
}

.search-results .snippet {
    display: block;
    margin-top: 0.35rem;
    color: #4d5f7a;
    font-size: 0.96rem;
    line-height: 1.5;
}

.search-results .result-action {
    margin-top: 1rem;
    text-align: right;
}

.search-results .clear-search-results-btn {
    background: #1f4e79;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.search-results .clear-search-results-btn:hover {
    background: #163957;
}

.search-highlight {
    background: rgba(255, 235, 150, 0.66);
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

header a, nav a, header li a {
    color: #f4f7fb !important;
    text-decoration: none;
    transition: color 0.3s;
}

header a.active, nav a.active, header li a.active {
    color: #ffe599 !important;
    font-weight: 700;
}

header a:hover, nav a:hover, header li a:hover {
    color: #ffe599;
    text-decoration: underline;
}

    .mobile-menu-btn {
        display: none;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: 0.6rem;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.35);
        color: #fff;
        border-radius: 12px;
        cursor: pointer;
        font-size: 1.35rem;
        font-weight: 700;
        transition: background 0.25s ease, transform 0.2s ease;
    }

.mobile-menu-btn:hover {
        background: rgba(255,255,255,0.22);
        transform: translateY(-1px);
    }

@keyframes search-highlight {
    from { background-color: rgba(60, 130, 210, 0.4); }
    to { background-color: rgba(60, 130, 210, 0.15); }
}

/* Partners page styling */
.partners {
    background: #f7f8fb;
    padding-bottom: 4rem;
}

.partner-logos {
    margin: 2rem auto 0 auto;
    max-width: 1200px;
    text-align: center;
}

.partner-logos h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #333;
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.logo-item {
    background: #fff;
    border: 1px solid rgba(204, 214, 229, 0.85);
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.logo-item img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-item p {
    margin: 0;
    font-weight: 700;
    color: #1d1f25;
}

.partners h2,
.partner-logos h3,
.partner-card h3,
.partner-list h3,
.partner-cta h3 {
    letter-spacing: 0.02em;
}

.partners-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.partner-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin-bottom: 1rem;
}

.partner-logo img {
    max-height: 80px;
    width: auto;
}

.partner-card h3 {
    margin-bottom: 0.75rem;
    color: #222;
}

.partner-card p,
.partner-card li,
.partner-list p,
.partner-list li,
.partner-cta p {
    color: #555;
}

.partner-card ul,
.partner-list ul {
    margin: 0.8rem 0 0 1rem;
    padding: 0;
    list-style: disc;
    display: grid;
    gap: 0.5rem;
}

.partner-list {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.partner-list h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #222;
}

.partner-list ul {
    columns: 2;
    column-gap: 2rem;
}

.partnership-benefits {
    margin: 2rem auto 0 auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit-item {
    background: #fff;
    border-radius: 22px;
    padding: 1.3rem;
    box-shadow: 0 14px 28px rgba(0,0,0,0.06);
}

.partner-cta {
    background: linear-gradient(135deg, #e3eef9, #a9c9e8);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    margin: 2rem auto 0 auto;
    max-width: 1000px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.partner-cta a.btn {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .partner-list ul {
        columns: 1;
    }

    header nav {
        flex-direction: column;
        align-items: stretch;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 1rem;
        padding: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
    }

    header nav.nav-open ul {
        display: flex;
    }

    header nav.nav-open .search-form {
        margin-top: 1rem;
    }

    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0;
        width: 100%;
    }

    .dropdown-content a {
        padding: 0.75rem 1rem;
        color: #1f4e79;
        background: rgba(255,255,255,0.95);
        margin: 0.1rem 0;
        border-radius: 10px;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
    }
}

.logo-image {
    max-width: 100%;
    height: auto;
    display: block;
}

header nav {
    justify-content: flex-start;
    align-items: center;
}

nav ul {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    gap: 0.75rem;
}

header nav .search-form {
    flex: 0 0 auto;
    max-width: 320px;
    margin-left: auto;
}

.search-form input {
    width: 100%;
    min-width: 0;
}

.hero,
.services,
.partners-preview,
.testimonials,
.newsletter,
.blog-preview,
.contact,
.partner-list,
.partner-cta {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
}

.hero h2 {
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    margin: 0 auto 1.75rem;
    max-width: 720px;
}

.btn {
    display: inline-block;
    margin: 0.35rem 0.25rem;
    background: #1f4e79;
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    transition: transform 0.2s ease, background 0.25s ease;
    font-weight: 600;
}

.btn:hover {
    background: #163957;
    transform: translateY(-1px);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    padding-top: 2rem;
}

.service {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.service h3 {
    margin-top: 0;
}

.testimonials .testimonial {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

.testimonial p {
    margin: 0 0 1rem;
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: stretch;
    max-width: 720px;
    margin: 1rem auto 0;
}

.newsletter input[type="email"] {
    flex: 1 1 220px;
    min-width: 180px;
    padding: 0.95rem 1rem;
    border: 1px solid #d8dee7;
    border-radius: 12px;
}

footer {
    background: #1f324e;
    color: #f4f7fb;
    padding: 2rem 1rem 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 1.25rem;
}

.footer-content .quick-links,
.footer-content .social {
    flex: 1 1 240px;
    min-width: 220px;
}

.footer-content h3 {
    margin-top: 0;
    color: #fff;
}

.footer-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-content li {
    margin: 0.6rem 0;
}

.footer-content a {
    color: #d5e5ff;
}

.footer-bottom {
    text-align: center;
    color: #cedafa;
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 1200px;
}

.contact-details {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.05);
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.contact-details p {
    margin: 0.75rem 0;
}

.contact form {
    display: grid;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.contact label {
    font-weight: 600;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid #d8dee7;
    border-radius: 14px;
    background: #fff;
    color: #1f2d48;
    box-sizing: border-box;
}

.contact textarea {
    min-height: 160px;
    resize: vertical;
}

.contact input[type="submit"] {
    width: auto;
    align-self: flex-start;
    cursor: pointer;
    background: #1f4e79;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0.95rem 1.5rem;
    transition: background 0.2s ease;
}

.contact input[type="submit"]:hover {
    background: #163957;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 40;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #1f4e79;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #f1f4fb;
}

@media (max-width: 1024px) {
    header nav {
        justify-content: space-between;
    }

    .footer-content {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: stretch;
    }

    nav ul {
        justify-content: flex-start;
    }

    header nav .search-form {
        width: 100%;
        max-width: none;
        margin: 0.75rem 0 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .newsletter form {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-bottom {
        text-align: left;
    }

    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }

    .dropdown-content a {
        padding: 0.55rem 0;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 2rem 1rem;
    }

    .service {
        padding: 1.25rem;
    }

    .contact form {
        gap: 1rem;
    }

    .footer-content {
        gap: 1rem;
    }
}

/* Product images: uniform look */
.product-section {
    margin-bottom: 2rem;
}

.product-section .product-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    align-items: start;
    margin: 1rem 0;
}

.product-section .product-images .section-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
    display: block;
    margin: 0;
    filter: contrast(1.03) saturate(1.05);
}

.product-section .product-images .section-image + .section-image {
    margin-top: 0;
}

.partner-logo img,
.logo-item img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}


/* Device gallery uniform images */
.device-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

/* Hidden state for filtering */
.hidden {
    display: none !important;
}

.show-all-btn {
    display: inline-block;
    margin: 0.5rem 0 1rem 0;
    padding: 0.5rem 0.75rem;
    background: #2a6f9f;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #eef4fb;
    min-width: 160px;
    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
    z-index: 1;
}

.dropdown-content a {
    color: #1f3b57;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #dfe8f4;
}

    .nav-toggle {
        display: none;
        appearance: none;
        border: none;
        background: transparent;
        cursor: pointer;
        padding: 0.5rem;
        margin-left: auto;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
        display: block;
        width: 24px;
        height: 2px;
        background: #f4f7fb;
        border-radius: 2px;
        position: relative;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav-toggle span::before,
    .nav-toggle span::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .nav-toggle span::before {
        top: -8px;
    }

    .nav-toggle span::after {
        top: 8px;
    }

    .nav-toggle[aria-expanded="true"] span {
        background: transparent;
    }

    .nav-toggle[aria-expanded="true"] span::before {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span::after {
        transform: translateY(-8px) rotate(-45deg);
    }

    .search-results {
        max-width: 1200px;
        margin: 1rem auto;
        padding: 1.25rem 1.5rem;
        background: #fff;
        border-radius: 22px;
        box-shadow: 0 18px 45px rgba(0,0,0,0.08);
        color: #1b2d46;
    }

    .search-results.hidden {
        display: none !important;
    }

    .search-results h4 {
        margin-top: 0;
        margin-bottom: 0.75rem;
        color: #18314f;
    }

    .search-results ul {
        margin: 0.75rem 0 0 1rem;
        padding: 0;
        list-style: disc;
    }

    .search-results .snippet {
        display: block;
        color: #5e738f;
        font-size: 0.95rem;
        margin-top: 0.35rem;
    }

    .search-results button {
        border: none;
        background: #1f4e79;
        color: #fff;
        padding: 0.8rem 1.25rem;
        border-radius: 14px;
        cursor: pointer;
    }

    .back-to-top {
        position: fixed;
        right: 1rem;
        bottom: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: #1f4e79;
        color: #fff;
        border: none;
        border-radius: 50%;
        box-shadow: 0 16px 30px rgba(0,0,0,0.18);
        cursor: pointer;
        z-index: 50;
        transition: transform 0.2s ease;
    }

    .back-to-top:hover {
        transform: translateY(-2px);
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
        margin-top: 1.75rem;
    }

    .blog-card {
        background: #fff;
        border-radius: 22px;
        padding: 1.5rem;
        box-shadow: 0 14px 32px rgba(0,0,0,0.08);
    }

    .blog-card .meta {
        display: block;
        font-size: 0.95rem;
        color: #5e738f;
        margin-bottom: 1rem;
    }

    .blog-card a {
        color: #1f4e79;
        text-decoration: none;
        font-weight: 600;
    }

    .blog-card a:hover {
        text-decoration: underline;
    }

    .page-meta-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .page-meta-card {
        background: #fff;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    }

    .page-meta-card h3 {
        margin-top: 0;
    }

    nav a.active {
        color: #ffe599 !important;
    }

    @media (max-width: 768px) {
        .nav-toggle {
            display: inline-flex;
        }

        header nav {
            flex-wrap: nowrap;
        }

        header nav ul {
            display: none;
            flex-direction: column;
            width: 100%;
            margin: 1rem 0 0 0;
        }

        header nav ul.nav-open {
            display: flex;
        }

        header nav .search-form {
            order: 3;
            width: 100%;
        }

        .search-form input {
            width: 100%;
        }

        .footer-bottom {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
    }

    @media (max-width: 560px) {
        .hero h2 {
            font-size: 2rem;
        }
    }

    header nav ul {
        list-style: none;
        display: flex;
        gap: 1.5rem;
        margin: 0;
        padding: 0;
    }

    header nav li {
        margin: 0;
        transition: color 0.3s;
    }

body a:hover {
    color: #d7e8ff;
}

header a:hover, nav a:hover, header li a:hover {
    color: #ffe599 !important;
    text-decoration: underline;
}

.hero {
    background: linear-gradient(135deg, #e8f2fb, #d6e7f6);
    text-align: center;
    padding: 6rem 2rem;
    color: #1f3b57;
}

.hero h2 {
    margin: 0 0 1rem 0;
    font-size: 3rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.5rem;
    margin: 1rem 0 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #3c526f;
}

.btn {
    display: inline-block;
    background: #2a6f9f;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 0.5rem;
    transition: background 0.3s;
}

.btn:hover {
    background: #1f4e79;
}

.services {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.services h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #2a6f9f;
}



.newsletter form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.newsletter button {
    padding: 0.75rem 1.5rem;
    background: #2a6f9f;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.about, .products, .solutions, .blog, .contact, .testimonials, .team, .faq, .blog-preview, .partners-preview {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.newsletter {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #e8f2fb, #d6e7f6);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services h2, .about h2, .products h2, .solutions h2, .blog h2, .contact h2, .testimonials h2, .team h2, .newsletter h2, .faq h2, .blog-preview h2, .partners-preview h2 {
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #2a6f9f;
}

.partners-preview p {
    max-width: 720px;
    margin: 0 auto 1.5rem auto;
    color: #555;
    line-height: 1.75;
}

.partners-preview .btn {
    margin-top: 1rem;
}

.contact-details {
    display: inline-block;
    text-align: left;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    border: 1px solid #d6e4f2;
    color: #37475b;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 24px rgba(33, 80, 136, 0.06);
}

.contact-details p {
    margin: 0.5rem 0;
    line-height: 1.75;
}

.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.member {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.search-results {
    max-width: 1200px;
    margin: 1rem auto 0 auto;
    padding: 1rem 1.25rem;
    background: #e9f3fb;
    border: 1px solid #bfd5ed;
    border-radius: 14px;
    color: #1f3b57;
    box-shadow: 0 10px 24px rgba(33, 80, 136, 0.08);
}

.search-results.hidden {
    display: none;
}

.search-results h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
}

.search-results p {
    margin: 0 0 1rem 0;
    color: #3a5771;
}

.search-results ul {
    list-style: disc inside;
    margin: 0;
    padding: 0;
}

.search-results li {
    margin-bottom: 0.85rem;
}

.search-results .snippet {
    display: block;
    color: #4f6f8d;
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.search-results .result-action {
    margin-top: 1rem;
}

.search-results button {
    background: #2a6f9f;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1rem;
    cursor: pointer;
}

.search-results button:hover {
    background: #1f4e79;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: left;
}

.service h3 {
    text-align: center;
    color: #2a6f9f;
    margin-top: 0;
}

.product, .solution, .testimonial, .member {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.products {
    display: block;
}

.product-section {
    margin-bottom: 3rem;
}

.product-section h3 {
    text-align: center;
    color: #2a6f9f;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Improved product lists: grid, badges and spacing for readability */
.product-section ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.6rem;
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.product-section ul li {
    background: rgba(10, 25, 40, 0.03);
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    padding-left: 2rem;
    position: relative;
    font-weight: 600;
    color: #1f2e3b;
}
.product-section ul li::before {
    content: '•';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #f7d17a;
    font-size: 1.2rem;
    line-height: 1;
}

.solutions {
    display: block;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonials > h2 {
    grid-column: 1 / -1;
}

.testimonials > p {
    grid-column: 1 / -1;
}

.member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 1rem auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.section-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    image-rendering: auto;
}

/* Partners: logo tiles and partner lists styling */
.partner-logo-grid .logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.9rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.partner-logo-grid .logo-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 0.6rem;
    border-radius: 8px;
}
.partner-logo-grid .logo-item p {
    margin: 0;
    color: #1f2e3b;
    font-weight: 700;
    font-size: 0.95rem;
}
.partner-logo-grid .logo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.partner-card ul {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
    display: grid;
    gap: 0.5rem;
}
.partner-card ul li {
    padding-left: 1.1rem;
    position: relative;
    color: #3b4a59;
}
.partner-card ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #f7d17a;
    font-weight: 700;
}

.partner-list ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    columns: 2;
    column-gap: 2rem;
}

@media (max-width: 768px) {
    .product-section ul {
        grid-template-columns: 1fr;
    }
    .partner-list ul {
        columns: 1;
    }
    .partner-logo-grid .logo-item img {
        width: 48px;
        height: 48px;
    }
}

.device-photos {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    box-sizing: border-box;
    text-align: center;
}

.device-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.device-card {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.device-card:hover {
    transform: translateY(-4px);
}

.device-card img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.device-card h4 {
    margin: 1rem 0 0;
    color: #333;
}

.service:hover, .product:hover, .solution:hover, .testimonial:hover, .member:hover {
    transform: translateY(-5px);
}

.testimonials p:first-of-type {
    font-style: italic;
    margin-bottom: 1rem;
}

cite {
    font-weight: bold;
    color: #2a6f9f;
}

article {
    margin-bottom: 2rem;
    text-align: left;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

label {
    display: block;
    margin-top: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

input[type="submit"] {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
}

footer {
    background: radial-gradient(circle at top, rgba(247,213,103,0.12), transparent 45%), #0b162a;
    color: #f4e7c1;
    padding: 3rem 1rem 2rem 1rem;
    text-align: center;
}

footer p {
    margin-top: 0.85rem;
    color: #d9c99a;
}

.footer-content {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem auto;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    background: rgba(255,255,255,0.04);
        border-radius: 26px;
        box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    }

    .footer-content .quick-links ul,
    .footer-content .social ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.9rem;
        list-style: none;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .footer-content .quick-links li,
    .footer-content .social li {
        margin: 0;
    }

    .footer-content h3 {
        margin-bottom: 1rem;
        color: #f7d17a;
        border-bottom: 2px solid #f7d17a;
        padding-bottom: 0.5rem;
    }

footer a:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-content a {
    color: #f9d667;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    color: #d9c99a;
    flex: 1 1 45%;
    text-align: left;
}

.footer-bottom p:first-child {
    text-align: center;
    flex: 1 1 100%;
}

.footer-bottom p:last-child {
    text-align: center;
    flex: 1 1 100%;
}

.social ul {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.social li {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .footer-content {
        justify-content: stretch;
    }
    .footer-content > div {
        flex: 1 1 100%;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }
    ul {
        flex-direction: column;
        margin-top: 1rem;
    }
    li {
        margin: 0.5rem 0;
    }
    .service, .product, .solution, .testimonial, .member {
        width: 100%;
        margin: 0.5rem 0;
    }
    .newsletter form {
        flex-direction: column;
    }
    .newsletter input {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 1rem auto 2rem auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.solution-list {
    display: block;
    list-style: disc;
    list-style-position: inside;
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
}

.solutions h3 {
    margin-top: 0;
}