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

:root {
    --midnight-blue: #0a192f;
    --slate-gray: #8892b0;
    --black: #000000;
    --aqua: #64ffda;
    --teal: #00c7b7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #070c1c;
    color: var(--slate-gray);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 30px;
    left: 30px;
    right: 30px;
    border-radius: 20px;
    z-index: 10;
    padding: 1rem 2rem;
    background: rgba(15, 17, 20, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.nav-links-mobile {
    display: none;
}

nav ul { /* drop down hamburger menu style */
    display: flex;
    list-style: none;
    border-radius: 5px;
}

nav ul li { /* links in hamburger menu and normal menu */
    margin-left: 10px;
    margin-right: 10px;
}

nav ul li a {
    color: var(--slate-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--aqua);
}

main {
    padding-top: 120px;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fffffbb5;
    background: transparent;
    position: relative;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('public/images/Wallpaper.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}


@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--aqua); }
}
.hero-content h1 {
    font-size: 8rem;
    font-weight: 700;
    margin-bottom: 8rem;
    max-width: 1200px;
    display: inline-block;
    padding-right: 2px; /* Prevent layout shift from border */
    word-break: break-word;
}

.typing-effect {
    border-right: .15em solid var(--aqua);
    animation: blink-caret .75s step-end infinite;
}

@media screen and (max-width: 850px) {
    .hero-content h1 {
        font-size: 12vw;
    }
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--aqua);
    color: var(--aqua);
    text-decoration: none;
    border-radius: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--aqua);
    color: var(--midnight-blue);
}

.typing-container {
    display: inline-block;
}

.home-section {
    /* Styles specific to the home section can go here */
}

.technology-section {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
    padding: 0;
    mask-image: linear-gradient(to top, black 85%, transparent 100%);

}


.content-wrapper {
    max-width: 1000px;
    padding: 4rem 2rem;
    margin: 7rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: large;
    text-align: left;
}

.technology-section h2 {
    font-size: 4rem;
    text-align: left;
}

section h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

footer {
    background-color: #000000;
    color: #ffffff;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    text-align: left;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-section {
    margin: 1rem;
    min-width: 280px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--aqua);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
}
.logo-img {
    height: 40px;
    margin-right: 15px;
}
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--slate-gray);
    margin: 5px 0;
    transition: 0.4s;
}

.nav-links.active {
    display: flex;
    padding: 10px;
}

@media screen and (max-width: 900px) {
    .hero-content h1 {
        font-size: 15vw;
    }

    .technology-section h2 {
        font-size: 3rem;
        text-align: center;
    }

    .content-wrapper {
        margin: 1rem;
        padding: 2rem;
        font-size: medium;
        text-align: center;
    }

    .technology-section {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .nav-links-mobile {
        display: none;
        position: absolute;
        right: 0;
        top: 85px;
        backdrop-filter: blur(10px);
        border-radius: 20px;
        flex-direction: column;
        width: 100%;
        text-align: right;
        padding: 1rem;
    }

    .nav-links-mobile.active {
        display: flex;
    }

    .nav-links-mobile li {
        padding: 10px;
    }

    .hamburger {
        display: block;
    }

    .about-link-desktop {
        display: none;
    }

    .about-link-mobile {
        display: block;
    }
}

@media screen and (max-width: 640px) {
    .hero-content h1 {
        font-size: 18vw;
    }

    .content-wrapper {
        margin: 0.8rem;
        padding: 1.5rem;
    }
}

@media screen and (max-width: 400px) {
    .hero-content h1 {
        font-size: 20vw;
    }

    .technology-section h2 {
        font-size: 2rem;
    }

    .content-wrapper {
        margin: 0.5rem;
        padding: 1rem;
        font-size: small;
    }

    .nav-links-mobile {
        align-items: center;
    }

    .nav-links-mobile li {
        padding: 5px;
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}
.sponsor-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #082029;
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.sponsor-button:hover {
    background-color: #ff6347; /* Lighter blood-orange */
    box-shadow: 0 0 95px #ff450085, 0 0 25px #ff450080, 0 0 35px #ff45007d;
}
.center-button {
    text-align: center;
    margin-top: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInSwipe {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-background {
    animation: fadeIn  .9s ease-in-out .8s forwards;
    opacity: 0;
}

.technology-section {
    opacity: 0;
    transition: opacity .8s ease-in-out;
}

.technology-section.visible {
    opacity: 1;
}

.technology-section .content-wrapper {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .8s ease-in-out, transform .8s ease-in-out;
}

.technology-section.visible .content-wrapper {
    opacity: 1;
    transform: translateX(0);
}

.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: rgba(15, 17, 20, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 2rem;
    width: 300px;
    text-align: left;
}

.card h3 {
    color: var(--aqua);
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
}

.card ul li {
    margin-bottom: 0.5rem;
}

.cards-main-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(2rem);
    width: 100%;
    max-width: 1200px;
    align-items: stretch;
}

.cards-main-container.show {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.card-comparison {
    background: rgba(0, 0, 20, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 2rem;
    width: 400px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-comparison:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.card-comparison h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(100, 255, 218, 0.3);
    padding-bottom: 1rem;
}

.checklist {
    text-align: left;
    list-style-type: initial;
    padding-left: 1.5rem;
    flex: 1;
}

ul.a {
    list-style-type: circle;
}

.check-item {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    padding: 0.3rem 0;
}

.check-item.available {
    color: #ffffff;
}

.check-item.unavailable {
    color: #8892b0;
    opacity: 0.5;
}

#title-container {
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

#title-container.fade-out {
    opacity: 0;
}

/* Responsive design for cards */
@media screen and (max-width: 1200px) {
    .hero {
        height: auto;
        padding-bottom: 5rem;
    }

    .hero-background {
        height: 100%;
    }

    #title-container {
        top: 25vh;
        transform: translate(-50%, -50%);
    }

    .cards-main-container {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        max-width: 90%;
        margin: 2rem auto;
    }

    .cards-main-container.show {
        transform: none;
    }
    
    .card-comparison {
        width: 100%;
        max-width: 350px;
    }
}

@media screen and (max-width: 768px) {
    .card-comparison {
        padding: 1.5rem;
        width: 100%;
        max-width: 350px;
    }
    
    .check-item {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .card-comparison h3 {
        font-size: 1.2rem;
    }
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.card-subtitle {
    color: var(--slate-gray);
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
    margin-bottom: 2rem;
    max-width: 300px;
}
.about-content-wrapper {
    min-width: 30%;
    margin: 7rem auto;
    text-align: center;
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .about-content-wrapper {
        max-width: calc(100% - 40px);
        margin: 4rem auto;
    }
}