/* General styles */
body {
    font-family: "Saira", sans-serif;
    font-optical-sizing: auto;
    line-height: 1.5;  /* Increased line spacing for better readability */
    font-weight: 600;  /* Slightly heavier than normal but not as bold as 'bold' */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: rgba(17, 0, 126, 0.6);
    font-size: 1.35rem;
    text-align: justify;
}

.container {
    width: 60%;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* Header */
header {
    background-color: rgb(0, 76, 145);
    background-color: rrgba(17, 0, 126, 0.6);
    color: white;
    padding: 0;
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    letter-spacing: 1px;
}

/* Navigation bar */
header nav {
    background-color: white; /* Bright yellow color */
    padding: 6px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;

}



header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: rgb(0, 76, 145); /* Text color for contrast against yellow background */
    text-decoration: none;
}

header nav ul li a:hover {
    text-decoration: underline;
}
ul, p {
    font-size: 1.35rem;
    justify-content: space-between;
}

img {
    width: 20%; /* Width is a percentage of the li's width */
    height: 7%;
    max-width: 380px; /* Maximum width to prevent overly large images */
    max-height: 280px;    
    min-width: 150px;


    object-fit: cover; /* Ensures images cover the designated area without distorting aspect ratio */
    border-radius: 6px; /* Rounded corners for aesthetics */
    margin-right: 20px;
}
  
/* Banner styling */
.banner {
    background-color:rgba(17, 0, 126, 0.6);
    color: white;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
    border-radius: 5px;
}

.banner p {
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
}

/* Main content */
main {
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    border-radius: 5px;
}

section {
    margin-bottom: 20px;
}

h2, h3 {
    color: rgb(0, 76, 145);
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 120%;
}

h3 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 130%;
}

.services-list, .question-types {
    list-style: none;
    padding: 0;
}

.services-list li {
    display: flex;
    align-items: center;
}

.images-about li {
    display: flex;
    border-radius: 5px;
    padding: 5px;
}

.material-icons {
    margin-right: 10px;
    padding: 4px;
    color: rgb(0, 76, 145);
    vertical-align: middle; /* Aligns the icons with the text */
    font-size: 24px; /* Adjust the size if necessary */
}

/* Footer */
footer {
    background-color: rgb(0, 76, 145);
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 10px 0;
    }

    main {
        width: 90%;
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    main {
        padding: 10px;
        margin: 10px auto;
    }

    header h1 {
        font-size: 2em;
    }

    nav ul li a {
        font-size: 1em;
    }
}

/* Root landing page */
body.landing-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(94, 243, 255, 0.22), transparent 30%),
        radial-gradient(circle at 85% 20%, rgba(10, 180, 255, 0.18), transparent 24%),
        linear-gradient(135deg, #0b1630 0%, #12264a 48%, #0f1933 100%);
    color: #ecf4ff;
    font-family: "Saira", sans-serif;
    font-size: 1rem;
    text-align: left;
    overflow-x: hidden;
}

.landing-shell {
    min-height: 100vh;
    padding: 28px;
    box-sizing: border-box;
}

.landing-stage {
    position: relative;
    min-height: calc(100vh - 56px);
    padding: 32px;
    border: 1px solid rgba(148, 189, 255, 0.24);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(14, 28, 56, 0.9), rgba(9, 18, 36, 0.95));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.landing-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(126, 181, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(126, 181, 255, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.landing-orbit {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.6;
    pointer-events: none;
}

.landing-orbit-a {
    width: 340px;
    height: 340px;
    right: -70px;
    top: 80px;
    background: radial-gradient(circle, rgba(78, 228, 255, 0.45), rgba(78, 228, 255, 0));
    animation: landingFloatA 8s ease-in-out infinite;
}

.landing-orbit-b {
    width: 300px;
    height: 300px;
    left: -90px;
    bottom: -70px;
    background: radial-gradient(circle, rgba(255, 173, 94, 0.22), rgba(255, 173, 94, 0));
    animation: landingFloatB 10s ease-in-out infinite;
}

.landing-topbar,
.landing-copy,
.landing-panel {
    position: relative;
    z-index: 1;
}

.landing-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.landing-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f4fbff;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-mark-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5cf2ff, #2c83ff);
    box-shadow: 0 0 18px rgba(92, 242, 255, 0.7);
}

.landing-contact {
    color: #dce9ff;
    text-decoration: none;
    border: 1px solid rgba(220, 233, 255, 0.32);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.landing-contact:hover {
    background: rgba(92, 242, 255, 0.12);
    border-color: rgba(92, 242, 255, 0.6);
    color: #ffffff;
}

.landing-copy {
    max-width: 720px;
    margin-top: 88px;
    animation: landingRise 0.8s ease-out both;
}

.landing-eyebrow {
    margin: 0 0 18px;
    color: #7fe6ff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.landing-copy h1 {
    margin: 0;
    color: #ffffff;
    font-family: "Raleway", sans-serif;
    font-size: clamp(3.2rem, 10vw, 6.4rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.98;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.28);
}

.landing-subtitle {
    max-width: 620px;
    margin: 24px 0 0;
    color: #d6e3f7;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    line-height: 1.65;
}

.landing-note {
    max-width: 540px;
    margin: 20px 0 0;
    color: #95aeca;
    font-size: 1rem;
    line-height: 1.7;
}

.landing-actions {
    display: flex;
    gap: 14px;
    margin-top: 34px;
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    padding: 14px 22px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.landing-button-primary {
    background: linear-gradient(135deg, #72f0ff, #2e84ff);
    color: #08162f;
    box-shadow: 0 18px 40px rgba(46, 132, 255, 0.32);
}

.landing-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(46, 132, 255, 0.38);
}

.landing-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 74px;
    animation: landingRise 1s ease-out both;
    animation-delay: 0.1s;
}

.landing-panel-card {
    padding: 22px 22px 20px;
    border: 1px solid rgba(157, 189, 238, 0.18);
    border-radius: 22px;
    background: rgba(12, 24, 49, 0.68);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.landing-panel-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #7fe6ff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.landing-panel-card strong {
    display: block;
    color: #f7fbff;
    font-size: 1.25rem;
    line-height: 1.3;
}

.landing-panel-card p {
    margin: 10px 0 0;
    color: #aebed3;
    font-size: 0.98rem;
    line-height: 1.6;
}

.landing-access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(127, 230, 255, 0.28);
    background: rgba(127, 230, 255, 0.12);
    color: #f7fbff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.landing-access-button:hover,
.landing-access-button:focus-visible {
    background: rgba(127, 230, 255, 0.2);
    border-color: rgba(127, 230, 255, 0.42);
    transform: translateY(-1px);
}

.client-landing-page .landing-stage {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.client-landing-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-top: 88px;
    animation: landingRise 0.8s ease-out both;
}

.client-wit-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    animation: landingRise 1s ease-out both;
    animation-delay: 0.1s;
}

.client-wit-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 190px;
    padding: 22px 24px;
    border-radius: 22px;
    text-decoration: none;
    color: #ecf4ff;
    background: linear-gradient(180deg, rgba(27, 54, 99, 0.72), rgba(15, 28, 56, 0.88));
    border: 1px solid rgba(142, 190, 255, 0.22);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.client-wit-card:hover,
.client-wit-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(110, 229, 255, 0.62);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
    outline: none;
}

.client-wit-card-label {
    color: rgba(146, 224, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
}

.client-wit-card strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.25;
}

.client-wit-card-path {
    color: rgba(222, 234, 255, 0.66);
    font-size: 0.92rem;
    font-family: "Fira Sans", "Saira", sans-serif;
}

.client-wit-card-action {
    margin-top: auto;
    color: #7ef0ff;
    font-size: 0.95rem;
    font-weight: 700;
}

@keyframes landingRise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes landingFloatA {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(-18px, 14px, 0);
    }
}

@keyframes landingFloatB {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(18px, -18px, 0);
    }
}

@media (max-width: 980px) {
    .landing-shell {
        padding: 18px;
    }

    .landing-stage {
        min-height: auto;
        padding: 24px;
    }

    .landing-copy {
        margin-top: 60px;
    }

    .landing-panel {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .client-landing-copy {
        margin-top: 60px;
    }

    .client-wit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .landing-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-copy {
        margin-top: 44px;
    }

    .client-landing-copy {
        margin-top: 44px;
    }

    .landing-copy h1 {
        font-size: clamp(2.8rem, 16vw, 4rem);
    }

    .landing-actions {
        flex-direction: column;
    }

    .landing-button {
        width: 100%;
    }
}
