html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 50px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.img-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    font-size: 16px;
    color: #555;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background: none;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
    background: #f1f1f1;
    color: #111;
}

.nav-btn {
    font-size: 16px;
    font-weight: bolder;
    color: white;
    padding: 7px 16px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #15527c;
    font-weight: 500;
    transition: background 0.15s;
}

.nav-btn:hover {
    background: #0b1e35;
}

.landing-page {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000408;
}

#landing-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
    /* ADD THIS — removes inline gap */
}

.landing-page>*:not(#landing-grid) {
    position: relative;
    z-index: 4;
}

.landing-btn {
    margin-top: 8%;
    font-size: 12px;
    font-weight: bolder;
    color: white;
    padding: 7px 12px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #15527c;
    font-weight: 500;
    transition: background 0.15s;
}

.landing-btn:hover {
    background: #0b1e35;
}

.landing-context h1 {
    font-size: 60px;
}

.context-phrase {
    margin-top: -1%;
}

.context-btn {
    font-size: 22px;
    font-weight: bolder;
    color: white;
    padding: 10px 22px;
    border-radius: 20px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #15527c;
    font-weight: 500;
    transition: background 0.15s;
}

.context-btn:hover {
    background: #0b1e35;
}

.lower-imgs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.results {
    margin-top: 6%;
}

.results-title {
    font-size: 35px;
}

.results-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}

.grid-content {
    display: inline;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid lightgray;
}

.grid-content h1 {
    font-size: 50px;
}

.grid-content p {
    margin-top: -10px;
    font-size: 20px;
    padding-bottom: 30%;
}

.what-we-do {
    margin-top: 6%;
    background: linear-gradient(169deg, #003366 0%, #007788 50%, #00aabb 100%);
    height: auto;
    width: 100%;
    padding-bottom: 8%;
}

.what-we-do-title {
    padding-top: 100px;
    padding-left: 100px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 2% 15% 0;
}

.card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-4px);
}

.card-btn {
    margin-top: auto;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    background: #ffffff;
    color: #003366;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.card:hover .card-btn {
    opacity: 1;
    transform: translateY(0);
}

.card img {
    width: 35px;
    height: 35px;
    border-radius: 12px;
    padding: 2%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin: 0;
}

:root {
    --rotate-speed: 40;
    --count: 8;
    --easeInOutSine: cubic-bezier(0.37, 0, 0.63, 1);
    --easing: cubic-bezier(0.000, 0.37, 1.000, 0.63);
}

.how-we-work {
    display: flex;
    padding: 190px 200px;
}

.how-we-work-text {
    flex: 1;
    width: 20%;
}

.void {
    flex: 2;
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 0;
}

.section-label {
    font-size: 22px;
    font-weight: 600;
    color: #007788;
    margin-bottom: 12px;
}

.how-we-work-text h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0d1b2a;
    line-height: 1.2;
    margin-bottom: 16px;
}

.highlight {
    color: #007788;
}

.section-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    max-width: 400px;
}

ul:hover * {
    animation-play-state: paused;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    aspect-ratio: 1 / 1;
    outline: 2px dotted 003366;
    z-index: 1;
}

.card-link {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    animation: rotateCW calc(var(--rotate-speed) * 1s) var(--easing) infinite;
}

.cards {
    width: 27%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 8px;
    background: #FFFFFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1), 0px 16px 32px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #007788;
    animation: rotateCCW calc(var(--rotate-speed) * 1s) var(--easing) infinite;
}

a {
    text-decoration: none;
    color: unset;
}

.model-name {
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: #003366;
    display: block;
}

svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

li:nth-child(2),
li:nth-child(2) .cards {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -1s);
}

li:nth-child(3),
li:nth-child(3) .cards {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -2s);
}

li:nth-child(4),
li:nth-child(4) .cards {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -3s);
}

li:nth-child(5),
li:nth-child(5) .cards {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -4s);
}

li:nth-child(6),
li:nth-child(6) .cards {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -5s);
}

li:nth-child(7),
li:nth-child(7) .cards {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -6s);
}

li:nth-child(8),
li:nth-child(8) .cards {
    animation-delay: calc((var(--rotate-speed)/var(--count)) * -7s);
}

@keyframes rotateCW {
    from {
        transform: translate3d(0px, -50%, -1px) rotate(-45deg);
    }

    to {
        transform: translate3d(0px, -50%, 0px) rotate(-315deg);
    }
}

@keyframes rotateCCW {
    from {
        transform: rotate(45deg);
    }

    to {
        transform: rotate(315deg);
    }
}

@keyframes pulseGlow {
    from {
        background-size: 60%;
    }

    to {
        background-size: 100%;
    }
}

.center-circle {
    position: absolute;
    width: 22%;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(0, 119, 136, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 6px rgba(0, 170, 187, 0.08),
        0 0 0 12px rgba(0, 170, 187, 0.04);
    z-index: 10;
}

.center-logo {
    width: 55%;
    height: 55%;
    border-radius: 50%;
    background: linear-gradient(135deg, #003366, #007788);
}

.second-circle {
    position: absolute;
    width: 40%;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #F5F4FE;
    opacity: 0.5;
    box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3), 0px 30px 60px -12px rgba(12, 5, 46, 0.25);
    border-radius: 50%;
}

.last-circle {
    position: absolute;
    width: 66%;
    aspect-ratio: 1 / 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #F5F4FE;
    opacity: 0.25;
    box-shadow: 0px 18px 36px -18px rgba(12, 5, 46, 0.3), 0px 30px 60px -12px rgba(12, 5, 46, 0.25);
    border-radius: 50%;
}

.crop {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 1));
    position: absolute;
    inset: 0;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50%;
    animation: pulseGlow 5s linear infinite alternate;
    background-position: 100% 50%;
    background-repeat: no-repeat;
    background-image: radial-gradient(100% 50% at 100% 50%,
            rgba(0, 119, 136, 0.22) 0%,
            rgba(0, 170, 187, 0.12) 40%,
            rgba(0, 170, 187, 0) 100%);
}

.mask:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    right: 0;
    display: block;
    background-image: linear-gradient(180deg, rgba(60, 26, 229, 0) 0%, #3C1AE5 50%, rgba(60, 26, 229, 0) 100%);
}

.testimonials {
    margin-top: 6%;
    background: linear-gradient(169deg, #003366 0%, #007788 50%, #00aabb 100%);
    height: auto;
    width: 100%;
    padding-bottom: 8%;
}

.testimonials-title {
    padding-top: 100px;
    padding-left: 100px;
}

.carousel-wrapper {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding-top: 2%;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1);
}

.slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.slide-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stars {
    color: #EF9F27;
    font-size: 15px;
    letter-spacing: 2px;
}

.quote {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    font-style: italic;
    flex: 1;
}

.author,
.main-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar,
.details-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.author-role {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 1.25rem;
}

.arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    color: #333;
}

.arrow-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    height: 8px;
    border-radius: 4px;
    border: none;
    background: #ddd;
    cursor: pointer;
    padding: 0;
    transition: width 0.2s, background 0.2s;
}

.dot.active {
    background: #333;
    width: 20px;
}

.dot:not(.active) {
    width: 8px;
    border-radius: 50%;
}

@media (max-width: 700px) {
    .slide {
        grid-template-columns: 1fr;
    }
}


.contact-wrapper {
    padding: 4% 10%;
    display: flex;
    justify-content: center;
}

.details {
    padding: 10%;
    border-right: 2px solid #003366;
    width: 50%;
}

.detials-value {
    font-size: 14px;
    color: #888;
}

.details-title {
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: -10px;
}

.details-label {
    font-size: 20px;
    font-weight: 600;
    color: #007788;
    margin-bottom: 12px;
}

.details h2 {
    font-size: 28px;
}

.input {
    padding: 10%;
    border-left: 2px solid #003366;
    width: 50%;
}

.name {
    display: flex;
    gap: 30px;
}

#first,
#last {
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field input,
.field select,
.field textarea {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s;
}

.field input:focus {
    border-color: #888;

}

.field textarea {
    width: 500px;
    height: 150px;
}

.field label {
    font-size: 16px;
}

.field-last {
    display: flex;
    gap: 15px;
    float: right;
}

.input button {
    font-size: 14px;
    font-weight: bolder;
    color: white;
    padding: 7px 16px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #15527c;
    font-weight: 500;
    transition: background 0.15s;
}

.input button:hover {
    background: #0b1e35;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 30, 53, 0.55);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
    display: flex;
}

.modal-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 24px 64px rgba(11, 30, 53, 0.18);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: #f1f1f1;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #007788;
    display: block;
    margin-bottom: 8px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #0b1e35;
}

.modal-header p {
    font-size: 14px;
    color: #888;
    margin: 0 0 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-field-row {
    display: flex;
    gap: 14px;
}

.modal-field {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.modal-field label {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.03em;
}

.modal-field input,
.modal-field select,
.modal-field textarea {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    padding: 10px 14px;
    border: 1.5px solid #e5e5e5;
    border-radius: 10px;
    outline: none;
    color: #111;
    transition: border-color 0.2s;
    background: #fafafa;
    resize: none;
}

.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
    border-color: #007788;
    background: #fff;
}

.modal-submit {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: #0b1e35;
    border: none;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    margin-top: 4px;
}

.modal-submit:hover {
    background: #007788;
    transform: translateY(-1px);
}

.modal-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.modal-success.show {
    display: flex;
}

.modal-form.hide {
    display: none;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #e1f5ee;
    color: #007788;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.modal-success h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0b1e35;
    margin: 0 0 6px;
}

.modal-success p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

footer {
    background-color: #0b1e35;
    margin-bottom: -18px;
}

.footer-upper {
    padding: 4%;
}

.footer-upper input {
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    width: 440px;
    transition: border-color 0.15s;
}

.footer-upper input:focus {
    border-color: #007788;
}

.footer-upper button {
    font-size: 14px;
    font-weight: bolder;
    color: white;
    padding: 9px 18px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid #15527c;
    background: #15527c;
    font-weight: 700;
    transition: background 0.15s;
    margin-left: 3px;
}

.footer-upper button:hover {
    background-color: #007788;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-left: -10px;
}

.footer-middle {
    display: flex;
    padding: 2% 4%;
}

.middle {
    flex: 1;
}

.middle-icon {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.middle-lower p {
    border: 0.5px solid white;
    padding: 1% 4%;
    font-size: 14px;
    width: 36%;
    border-radius: 10px;
}

.middle li {
    color: white;
    list-style-type: none;
    font-size: 14px;
}

.middle-details {
    display: flex;
    flex-direction: column;
}

.detail-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.middle-title {
    font-weight: 600;
    font-size: 14px;
    color: #E2DFD2;
    margin-bottom: -15px;
}

.middle-value {
    font-size: 14px;
    color: white;
}


