html {
    scroll-behavior: smooth;
}

/* Base layout and background for the entire page */
body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  /*#0A192F;*/
  color: #08090bae;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.intro-section {
  background-color: #f9f9f9;
  padding-top: 8rem; /* default for large screens */
  padding-bottom: 0rem;
}

@media (max-width: 768px) {
  .intro-section {
    padding-top: 6rem; /* smaller screens override */
  }
}

.intro-section h1 {
  color: #0A192F;
}

.intro-section p {
  color: #4a4a4a;
}

.intro-section a:hover {
  background-color: #8681ee;
}   

/* Outer container of the top navigation bar */
.nav {
    background-color: rgba(10, 25, 47, 0.9);
    padding: 1.2rem 0rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
}

@media (min-width: 1024px) {
  .nav {
    padding: 1rem 1rem;
  }
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-right: 10px;
    margin-right: 15px;
}

.get-started-link {
    border: 2px solid rgba(48, 179, 186, 0.6); /* Subtle teal border */
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600; /* Slightly bolder */
    color: white; /* Keep text white like other nav items */
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        border-color: rgba(48, 179, 186, 0.4);
        box-shadow: 0 0 0 0 rgba(48, 179, 186, 0.2);
    }
    50% {
        border-color: rgba(48, 179, 186, 0.8);
        box-shadow: 0 0 0 3px rgba(48, 179, 186, 0.1);
    }
    100% {
        border-color: rgba(48, 179, 186, 0.4);
        box-shadow: 0 0 0 0 rgba(48, 179, 186, 0.2);
    }
}

.nav-logos {
  display: flex;
  align-items: center; /* aligns logos by their bottom edge */
  gap: 17px;
  height: 40px;
}

/*
.nav-logos a {
  height: 100%;
  display: flex;
  align-items: center;
}*/

.logo {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.beshton-logo {
  /* Optional: Add specific adjustments if needed */
  height: 310%;
  padding-top: 2px;
}

.collaboration-x {
    font-size: 1.2rem;
    color: white;
    margin: 0; /* Remove default margins */
    line-height: 1; /* Prevent extra line spacing */
    align-self: center; /* Ensure it's centered with the logos */
}

/* Outer container of the top navigation bar */
.nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: baseline;
}

/* Outer container of the top navigation bar */
.nav li {
    margin-left: 2rem;
}

/* Outer container of the top navigation bar */
.nav a {
    color: #E6F1FF;
    text-decoration: none;
    display: inline-block; /* Apply to all nav links */
    margin: 2px 0; /* Apply to all nav links */
}

.nav-logos a {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Outer container of the top navigation bar */
.nav a:hover {
    color: #64ffda;
}

/* Use Inter for header and nav elements */
.nav, .nav a, .nav li, .nav-logos {
  font-family: 'Inter', serif;
}


/* Hero banner container with background */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background: linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.9)),
                url('https://example.com/hero-background.jpg');*/
    background-size: cover;
    background-position: center;
    padding: 20px;
    margin-bottom: 50px;
}

/* Hero banner container with background */
.hero-content {
    max-width: 1000px;
}

/* Hero banner container with background */
.hero h1 {
    font-size: rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero banner container with background */
.hero h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #E6F1FF;
    animation: fadeInUp 1s ease-out;
}

/* Hero banner container with background */
.hero-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeIn 1.5s ease-out;
    color: #E6F1FF;
}

/* Wrapper for main content sections */
.container {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 20px;
}

#journey-step-1 {
    scroll-margin-top: 85px;
}

/* Styles for each row of content (text + image) */
.content-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    padding: 20px;
}

/* Text column within content-section */
.content {
    flex: 1;
    padding-right: 40px;
}

/* Image column within content-section */
.image-container img {
    max-width: 100%;
    border-radius: 10px;
}

/* Style for titles in content sections */
.section-title {
    color: #1e9277;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

/* Style for titles in content sections */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3bae93, transparent);
}

.track-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.track-card {
    color: #f9f9f9;
    background: #2a3a54;
    padding: 30px 40px 30px 40px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    min-height: 300px;
}

.track-card:hover {
    transform: translateY(-5px);
    background: #4c5a71;
}

.track-card h4 {
    color: #64ffda;
    margin-top: 2px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.track-card a {
    color: #bab7fc;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.track-card a:hover {
    color: #6c63ff;
}

.track-card-icon {
    fill: white;
    width: 125px;
    height: 100px;
    object-fit: cover; /* Keeps image nicely cropped */
    margin-bottom: 50px;
    display: block;
    margin: 0 auto 20px auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    padding: 25px;
    background: white;
    border-radius: 10px;
    border: 2px solid #261fa4;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item h4 {
    color: #6c63ff;
    margin-bottom: 10px;
}

/* Call-to-action button style */
.cta-button {
    display: inline-block;
    padding: 15px 20px;
    background-color: #6c63ff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    border: 2px solid #261fa4;
}

/* Call-to-action button style */
.cta-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.footer {
    background-color: rgba(10, 25, 47, 0.9);
    padding: 20px 0 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr 1.8fr 1.2fr; /* Proportional but not identical */
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    gap: 10px;
}

.footer-section:nth-child(2) {
    margin-left: 20px; /* This works perfectly in grid! */
}

.footer p {
    color: #E6F1FF;
}

.footer li {
    color: #E6F1FF;
}

.footer input::placeholder {
    color: #E6F1FF;
}

.footer-section h4 {
    color: #64ffda;
    margin-bottom: 15px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section a:hover {
    color: #64ffda;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 5px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Floating Contact Button */
        .contact-fab {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #64ffda, #1e9277);
            border-radius: 50%;
            box-shadow: 0 4px 20px rgba(100, 255, 218, 0.3);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1000;
            border: none;
            animation: gentle-pulse 3s infinite;
        }
        
        .contact-fab:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 25px rgba(100, 255, 218, 0.4);
        }
        
        .contact-fab svg {
            width: 24px;
            height: 24px;
            fill: #0a192f;
        }
        
        @keyframes gentle-pulse {
            0%, 100% { box-shadow: 0 4px 20px rgba(100, 255, 218, 0.3); }
            50% { box-shadow: 0 4px 25px rgba(100, 255, 218, 0.5); }
        }
        
       /* Contact Panel */
.contact-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: rgba(10, 25, 47, 0.95);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-family: 'Inter', sans-serif;
}

.contact-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.contact-panel h3 {
    color: #64ffda;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-panel p {
    color: #E6F1FF;
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    background: rgba(42, 58, 84, 0.5);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
    color: #E6F1FF;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(230, 241, 255, 0.5);
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #64ffda, #1e9277);
    color: #0a192f;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: rgba(230, 241, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #E6F1FF;
}

/* Contact FAB Container - for horizontal alignment */
.contact-fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
}

/* Contact Us Label */
.contact-label {
    background: rgba(10, 25, 47, 0.95);
    color: #64ffda;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(100, 255, 218, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-label:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(100, 255, 218, 0.2);
}

/* Contact FAB Button */
.contact-fab {
    width: 60px;
    height: 60px;
    background: #49fdd3;
    border: none;
    border-radius: 50%;
    color: #0a192f;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(100, 255, 218, 0.3);
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.contact-fab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(100, 255, 218, 0.4);
}

.contact-fab::before {
    content: "Contact Us >";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 25, 47, 0.9);
    color: rgb(246, 248, 248);
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid rgba(100, 255, 218, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-panel {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        bottom: 90px;
    }
    
    .contact-fab-container {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-label {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .contact-fab {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}

/*.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    color: #E6F1FF;
    font-size: 1.5rem;
}*/

@media (max-width: 768px) {
    .qr-code-container {
        right: 20px;
        bottom: 20px;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }

/* Outer container of the top navigation bar */
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

/* Outer container of the top navigation bar */
    .nav ul {
        justify-content: center;
        width: 100%;
    }

/* Styles for each row of content (text + image) */
    .content-section {
        flex-direction: column;
        text-align: center;
    }

    .content-section:last-child {
        margin-bottom: 5px; /* or whatever smaller value you prefer */
    }   

/* Text column within content-section */
    .content {
        padding-right: 0;
    }

    
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Highlights in hero-text (keywords like 'Zero Projects') */
.highlight {
    color: #13c198;
    font-weight: bold;
}

/* Mobile responsiveness */
        @media (max-width: 768px) {
            .content {
                padding: 3rem 1rem;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .subsection {
                padding: 1.5rem;
            }
            
            .bottom-line {
                padding: 2rem;
                font-size: 1rem;
            }
        }

            /* Intro text styling */
        .intro-text {
            font-size: 1.3rem;
            color: #4a4a4a;
            margin-bottom: 3rem;
            max-width: 1300px;
            margin-left: 0px;
            margin-right: 0px;
        }

        .intro-text strong {
            color: #0A192F;
            font-weight: 600;
        }

        /* Subsection containers */
        .subsection {
            margin: 2.5rem 0;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 12px;
            border-left: 4px solid rgba(48, 179, 186, 0.8);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            backdrop-filter: blur(10px);
        }

        .subsection h4 {
            font-family: 'Inter', serif;
            font-size: 1.2rem;
            font-weight: 600;
            color: #0A192F;
            margin: 0 0 1rem 0;
        }

        .subsection p {
            margin: 0;
            color: #4a4a4a;
            line-height: 1.7;
        }

        /* Highlight styling matching your teal theme */
        /*.highlight {
            color: rgba(48, 179, 186, 0.9);
            font-weight: 600;
            background: rgba(48, 179, 186, 0.1);
            padding: 2px 6px;
            border-radius: 4px;
        }*/

        /* Bottom CTA section */
        .bottom-line {
            background: rgba(10, 25, 47, 0.9);
            color: #E6F1FF;
            padding: 2.5rem;
            border-radius: 12px;
            margin: 3rem 0 1.5rem 0;
            text-align: center;
            font-weight: 500;
            font-size: 1.2rem;
            box-shadow: 0 6px 20px rgba(10, 25, 47, 0.2);
        }
