@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Roboto:wght@400;700&display=swap');

:root {
    /* Base fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Palette A */
    --primary-a: #363a77;
    --accent-a: #f1f3ff;
    --overlay-a: rgba(12, 12, 14, 0.2);

    /* Palette B */
    --primary-b: rgb(0, 30, 4);
    --accent-b: #f1fff3;
    --overlay-b: rgba(1, 13, 0, 0.2);

}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--primary-color);
    scroll-behavior: smooth;
    background-color: black;
}

.header {
    width:100%;
    background: linear-gradient(to right,
                #001f3fB0 0%,
                #003a70B0 50%,
                #001f3fB0 100%  );
    padding: 16px 0;
    text-align: center;
    font-family: var(--font-heading);
    height:54px;
    position:fixed;
    top: 0;
    z-index: 1000;
    display:flex;
    justify-content: space-between;
    transition: background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px) saturate(150%);
        backdrop-filter: blur(4px) saturate(150%);
        backdrop-filter: blur(4px);
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 16px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0));
    pointer-events: none; }

.header img
{
    max-height:42px;
    margin-top:-10px;
    margin-left:1rem;
}

.header ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}


.container {
    width: 100%;
    margin-top:54px;
}

.section {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    scroll-snap-align: start;
}


.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-snap-type: y mandatory;
}

h1,
h2 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

.buttons {
    margin:0;
    padding:0;
    margin-left:1rem;
    margin-right:1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: start;
    align-items: start;
    z-index:3;
}

.buttons .btn {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.75rem 1.5rem;
    border: none;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--accent-color);
}

.buttons .btn:hover {
    background: #e65a50;
}

.buttons .outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.buttons .outline:hover {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    color:white;
    background-color: #e65a50;
}

ul.features {
    list-style-type: none;
    padding: 0;
    font-family: var(--font-body);
    color: #f0f0f0;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

ul.features li {
    margin-bottom: 1.5rem;
}

/* For WebKit browsers (Chrome, Safari, Edge) */
.tiles::-webkit-scrollbar {
    width: 12px;
}

.tiles::-webkit-scrollbar-track {
    background: transparent;
}

.tiles::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

*.tiles{
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; }

.tiles {
    margin:0;
    margin-right:1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    overflow-y:auto;
    height: calc(100vh - 128px);
    padding:1rem;
    
}

.tile {
    display: block;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size:1.1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px) saturate(150%);
    backdrop-filter: blur(4px) saturate(150%);
    backdrop-filter: blur(4px);
}

.tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

blockquote {
    font-style: italic;
    margin: 1.5rem 0;
}

cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    margin-top: 0.5rem;
}

.holder {
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;;
    justify-content: space-between;
    padding: 64px 0;
    margin-top:54px;
}

.holder::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.holder .content h1,
.holder .content .text-card {
    opacity: 0;
}

.holder .content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2rem;
    align-items: start;

}

.holder .content .column {
    display:flex;
    flex-direction: column;
    align-items: start;
    justify-content:space-between;
    height:100%;
}

.holder .content h1 {
    transform: translateX(-40px);
        animation: slideIn 0.8s ease-out forwards;
    color: #fff;
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    margin:1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    animation: slideIn 0.8s ease-out forwards, float 6s ease-in-out 1s infinite;
}


.holder .content p {
    color: #f0f0f0;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.holder .content .text-card {
    margin:1rem;
    padding: 1.5rem;
    border-radius: 8px; 
    transform: translateY(20px);
        animation: fadeUp 0.8s ease-out forwards;
        animation-delay: 0.5s;
    -webkit-backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px) saturate(150%);
        backdrop-filter: blur(4px) saturate(150%);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.01);
    background: rgba(255, 255, 255, 0.06);
    z-index: 1;

}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(0) translateY(-5px);
    } 
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }     
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    } 
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-size: 28px;
    vertical-align: middle;
    color: #00c8f8;
    transition: color 0.2s;
    cursor: pointer;
    opacity: 0.8;
}

.material-symbols-outlined:hover {
    color: #ffffff;
}

.icon-link {
    position: relative;
    display: inline-block;
}

.icon-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip {
    position: absolute;
    bottom: -28px;
    left: -50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    pointer-events: none;
}

.menu-links
{
    margin-right:24px;
    text-wrap: nowrap;
}

#why-now ul, #why-now li{
    color:white;
}


.section#change {
    background: url('./backgrounds/change.png') no-repeat center center;
    background-size: cover;
    z-index:0;
    position: relative;
}

.section#change::before {
    z-index: -1;
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 38, 77, 0.5) 0%,
            rgba(0, 95, 134, 0.5) 35%,
            rgba(0, 143, 194, 0.5) 65%,
            rgba(0, 200, 248, 0.5) 100%);
    background-size: 300% 300%;
    animation: gradientShift 10s ease infinite;
    pointer-events: none;
    z-index: 0;
}

.section#hero .holder .content {
        display: grid;
        width:100vw;
        gap: 2rem;
        align-items: start;
}

.section#hero {
    background: url('./backgrounds/hero.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#overview
{
    background: url('./backgrounds/overview.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#build
{
    background: url('./backgrounds/build.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#partnership {
    background: url('./backgrounds/partnership.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#testimonials {
    background: url('./backgrounds/testimonials.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#use-cases {
    background: url('./backgrounds/usercases.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#why-now {
    background: url('./backgrounds/whynow.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#contact {
    background: url('./backgrounds/contact.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.section#hero .text-card, .section#build .text-card, .section#overview .text-card,
     .section#partnership .text-card, .section#testimonials .text-card, .section#use-cases .text-card,
     .section#why-now .text-card, .section#contact .text-card {
    background: rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px) saturate(150%);
        backdrop-filter: blur(12px) saturate(150%);
        backdrop-filter: blur(12px);
}

.section#use-cases {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.contact-method .material-symbols-outlined {
    font-size: 20px;
    color: #007BFF;
}

.contact-method a {
    text-decoration: none;
    color: #007BFF;
    transition: color 0.3s;
}

.contact-method a:hover {
    color: #0056b3; }

.contact-methods
{
    display:flex;
    gap:2rem;
    flex-wrap: wrap;
}

.section:nth-of-type(odd) {
    --primary-color: var(--primary-a);
    --accent-color: var(--accent-a);
    --overlay-color: var(--overlay-a);
}

.section:nth-of-type(odd) .holder .content {
    flex-direction: row;
}

/* even sections → Palette B, heading on right, card on left */
.section:nth-of-type(even) {
    --primary-color: var(--primary-b);
    --accent-color: var(--accent-b);
    --overlay-color: var(--overlay-b);
}

.section:nth-of-type(even) .holder .content {
    flex-direction: row-reverse; }

        .holder::before {
            background: var(--overlay-color);
        }
    
        /* Headings & text-cards pick up the primary/accent */
        .holder .content h1 {
            color: var(--accent-color);
        }
    
        .holder .content .text-card {
            box-shadow: 0 4px 12px var(--overlay-color);
        }
    
        .buttons .btn {
            background: var(--primary-color);
            border-color: var(--primary-color);
            opacity: 0.7;
        }

        .buttons .btn:hover{
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            opacity: 1;
        }
    
        .buttons .btn.outline {
        }
    
        .buttons .btn.outline:hover {
            background: var(--primary-color);
            color: white;
        }

        #contact a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        #contact .material-symbols-outlined {
            color: #00c8f8;
            transition: color 0.3s;
        }

    

