@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: rgb(0, 110, 255);
    --secondary: #07f1a3;
    --background: #080808;
    --surface: #121212;
    --text: #e0e0e0;
}

@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }
}

/* Secret Teaser Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

.logo-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from parent */
    display: flex; /* Keep it flexible like the div it wraps */
    align-items: center; /* Vertically align content */
}

body {
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 238, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.1rem;
}

.logo-symbol {
    height: 2.5rem;
    width: 2.5rem;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-symbol::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, var(--primary) 0%, transparent 70%);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

.nav-items {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.06rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.6s;
}

.letter {
    display: inline-block;
    opacity: 0;
    animation: letterReveal 0.1s forwards;
}

@keyframes letterReveal {
    to {
        opacity: 1;
    }
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.9s;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    /* margin-top: 2rem; */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1.2s;
}

.cta-btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* Add this CSS to fix the spacing issues */

/* CIOP section - Add space between cards and button */
#ciop .cta-buttons {
    margin-top: 3rem;
}

/* Quantum Computing section - Complete override */
#quantum-computing-research {
    margin-bottom: 0 !important; /* Remove all bottom margin */
    padding-bottom: 4rem; /* Use padding instead */
}

#quantum-computing-research .cta-buttons {
    margin-top: 2rem;
    margin-bottom: 0;
    position: relative;
    z-index: 10; /* Ensure button stays in its section */
}

/* Connect section - Add top margin to create separation */
#connect {
    margin-top: 4rem; /* Create space above Connect section */
    padding-top: 3rem; /* Reduce from 6rem */
    padding-bottom: 6rem;
    padding-left: 2rem;
    padding-right: 2rem;
}




.primary-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--background);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 255, 255, 0.2);
}

.secondary-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(14, 255, 255, 0.1);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    pointer-events: none;
    animation: particleAnimation 10s linear infinite;
}

@keyframes particleAnimation {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translateY(-1000px) rotate(360deg);
    }
}

.quantum-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

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

/* Quantum Gravity Hero Section */
.hero.quantum-gravity-hero {
    min-height: 80vh;
    /* Make it taller for impact */
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.hero.quantum-gravity-hero canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
    /* Adjust opacity as needed */
}

.hero.quantum-gravity-hero .hero-content {
    position: relative;
    z-index: 10;
    color: var(--text);
}

.hero.quantum-gravity-hero .hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero.quantum-gravity-hero .hero-subtitle {
    font-size: 1.8rem;
    color: var(--text);
}


.enigma-section {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 8rem; /* Updated value to increase the space */
    /* Add some space between sections */
}

.enigma-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    opacity: 0;
    transform: translateY(20px);
}

.enigma-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 4rem;
    opacity: 0;
    transform: translateY(20px);
}

.enigma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.enigma-card {
    background-color: var(--surface);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.enigma-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(14, 255, 255, 0.1);
}

.enigma-icon {
    height: 4rem;
    width: 4rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    color: var(--background);
    font-size: 1.8rem;
}

.enigma-icon i {
    color: var(--background);
}

.enigma-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
}

.enigma-card-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

/* Research Domains Section */
.research-domains {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--background);
}

.research-domains .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.research-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.research-btn {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 50px;
    background-color: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.research-btn:hover,
.research-btn.active {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--background);
    box-shadow: 0 5px 20px rgba(14, 255, 255, 0.3);
}

.research-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.research-info {
    background-color: var(--surface);
    border-radius: 1rem;
    padding: 2.5rem;
    flex: 1 1 450px;
    min-width: 300px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.research-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.research-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.research-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.key-focus h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.focus-list {
    list-style: none;
    padding-left: 0;
}

.focus-list li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.focus-list li i {
    color: var(--secondary);
}

.computational-insights {
    background-color: var(--surface);
    border-radius: 1rem;
    padding: 2.5rem;
    flex: 1 1 450px;
    min-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.insights-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background-color: var(--background);
    border-radius: 0.8rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.insight-card:hover {
    transform: translateY(-5px);
}

.insight-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.insight-card p {
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.insight-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.insight-card .counter {
    font-size: 1rem;
    font-weight: 700;
}

.hidden {
    display: none;
}

.footer {
    background-color:#010000;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    gap: 3rem;
}


.footer-link {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-links {
    display: flex;
    gap: 4rem;
}

.footer-link {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.7;
}

/* Mobile Responsive Styles */
@media (max-width: 915px) {
    .nav-items {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--surface);
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        gap: 1rem;
    }

    .nav-items.show {
        display: flex;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .enigma-grid {
        grid-template-columns: 1fr;
    }

    .connect-email {
        flex-direction: column;
        padding: 1rem;
    }

    .hero.quantum-gravity-hero .hero-title {
        font-size: 2.8rem;
    }

    .hero.quantum-gravity-hero .hero-subtitle {
        font-size: 1.4rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .policy-links {
        justify-content: center;
    }

}

.connect-section {
    padding: 3rem 2rem;
    padding-bottom: 6rem;
    background-color: var(--surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.connect-container {
    max-width: 800px;
    margin: 0 auto;
}

.connect-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.connect-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text);
}

.connect-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--background);
    border-radius: 1rem;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(14, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.connect-email:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 255, 255, 0.1);
    border-color: var(--primary);
}

.connect-email i {
    font-size: 2rem;
    color: var(--primary);
}

.email-link {
    font-size: 1.2rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--primary);
}

/* Move to Top Button */
.scrollToTop-btn {
    /* Renamed to match your original */
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    color: var(--background);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(14, 255, 255, 0.3);
}

.scrollToTop-btn.show {
    /* Renamed to match your original */
    opacity: 1;
    visibility: visible;
}

.scrollToTop-btn:hover {
    /* Renamed to match your original */
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14, 255, 255, 0.4);
}

.secret-teaser {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(14, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.secret-teaser:hover {
    transform: rotate(45deg);
    box-shadow: 0 10px 30px rgba(14, 255, 255, 0.5);
}

.secret-teaser i {
    font-size: 1.5rem;
    color: var(--background);
}

.secret-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.secret-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.secret-content {
    max-width: 600px;
    padding: 2rem;
    background-color: var(--surface);
    border-radius: 1rem;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.secret-modal.show .secret-content {
    transform: scale(1);
}

.secret-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.secret-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.secret-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--background);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.secret-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.secret-close:hover {
    color: var(--primary);
}

/* Terminal Effect */
.terminal-effect {
    background-color: var(--background);
    padding: 1.5rem;
    border-radius: 0.5rem;
    font-family: monospace;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.terminal-line {
    display: flex;
    margin-bottom: 0.5rem;
}

.terminal-prompt {
    color: var(--primary);
    margin-right: 0.5rem;
}

.terminal-text {
    color: var(--text);
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15rem solid var(--primary);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }
}


/* Social icons styling */
.social-links .footer-link {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links .footer-link:hover {
    color: var(--primary);
    background-color: rgba(0, 110, 255, 0.1);
    transform: translateY(-3px);
}

/* Keep policy links as text */
.policy-links .footer-link {
    font-size: 1rem;
}
