:root {
    --primary-color: #2c3c64;
    --secondary-color: #cdd2db;
    --accent-color: #949cb4;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --light-gray: #f5f6f8;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

h1 {
    font-size: 48px;
    font-weight: 700;
}

h2 {
    font-size: 36px;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
}

/* Header Styles */
/* Initial navbar style */
.site-header {
    background-color: var(--background-color);
    opacity: 0.8;  /* Initially transparent */
    transition: opacity 0.4s ease, background-color 0.4s ease;  /* Smooth transition */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Navbar when solid after scrolling */
.site-header.solid {
    opacity: 0.95;  /* Fully opaque */
    background-color: var(--background-color);  /* Adjust background if needed */
}


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

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo-image {
    width: 150px;
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style-type: none;
    align-items: center;
    gap: 15px; /* Adds space between items */
}

.nav-menu li {
    margin-left: 15px;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px; /* Adds padding for better click area */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.nav-menu li a:hover {
    color: var(--accent-color); /* Color change on hover for better UX */
}

/* CTA Button Styling */
.nav-menu .cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.9em;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-menu .cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Hero Section */
#hero {
    background-image: url('../images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: no-repeat;
    color: white;
    text-align: center;
    padding: 200px 0 150px;
    position: relative;
    min-height: 80vh;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 60, 100, 0.6);
    z-index: 1;
}

/* Mobile (small) */
@media (max-width: 600px) {
    #hero {
        background-image: url('/assets/images/hero-image-small.jpg');
    }
}

/* Tablet (medium) */
@media (max-width: 1200px) {
    #hero {
        background-image: url('/assets/images/hero-image.jpg');
    }
}

/* Desktop (large) */
#hero {
    background-image: url('/assets/images/hero-image.jpg');
}


#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--background-color);
}

#hero p {
    font-size: 2.0em;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    color: var(--background-color);
}

/* Initial state for hero text */
.hero-text {
    opacity: 0;
    transform: translateY(50px);  /* Move text down by 50px initially */
    animation: fadeInUp 1.5s ease forwards;  /* Animation duration and easing */
    animation-delay: 0.5s;  /* Delay before the animation starts */
}

/* Keyframes for the fade-in and slide-up effect */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);  /* Start off slightly lower */
    }
    100% {
        opacity: 1;
        transform: translateY(0);  /* End at normal position */
    }
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Content Sections */
section {
    padding: 80px 0;
}

.vision-content, .solution-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.vision-text, .solution-text {
    flex: 1;
}

.vision-image, .solution-image {
    flex: 1;
}

.vision-image img, .solution-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.solution-content.reverse {
    flex-direction: row-reverse;
}

.stat-grid, .insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card, .insight-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.stat-icon, .insight-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Waitlist Form */
#waitlist-form {
    background-color: var(--light-gray);
    text-align: center;
}

form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: var(--accent-color);
}

html {
    scroll-behavior: smooth;
}

#message {
    padding: 15px;
    background-color: var(--light-gray);
    border-radius: 5px;
    margin-top: 15px;
    font-size: 1.1em;
    color: var(--primary-color);
}



/* Footer Styles */
 .site-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 60px 20px 20px; /* Add padding to sides for better spacing */
    text-align: center; /* Center align all content */
}

.footer-content {
    display: flex;
    justify-content: center; /* Center all footer sections */
    flex-wrap: wrap;
    gap: 40px; /* Space between footer items */
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 150px; /* Set max width */
    height: auto;
    margin-bottom: 20px;
    fill: currentColor; /* Inherit color from parent */
}

.footer-section {
    flex: 1;
    margin-bottom: 20px;
    min-width: 200px;
    text-align: left; /* Align text to the left for sections */
}

.footer-section h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style-type: none;
    padding: 0; /* Remove padding for ul */
}

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

.footer-section ul li a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth hover transition */
}

.footer-section ul li a:hover {
    color: var(--accent-color); /* Color change on hover */
}

.social-links {
    display: flex;
    gap: 15px; /* Space between social icons */
    justify-content: center;
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--accent-color);
    font-size: 0.9em; /* Slightly smaller font for footer bottom */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-menu li:not(:last-child) {
        display: none;
    }

    .nav-menu {
        justify-content: flex-end;
    }

    .nav-menu .cta-button {
        margin-left: 0;
    }

    .logo {
        font-size: 20px;
    }

    .site-header {
        padding: 10px 0;
    }

    .vision-content, .solution-content, .solution-content.reverse {
        flex-direction: column;
    }

    .vision-image, .solution-image {
        order: -1;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    form {
        flex-direction: column;
    }

    input[type="email"], form button {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .footer-content {
        flex-direction: column;
    }

    #hero {
        padding: 150px 0 100px;
        min-height: 70vh;
    }

    #hero h1 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center; /* Center text on small screens */
        margin-bottom: 30px;
    }
}

/* Accessibility and Focus Styles */
a:focus, button:focus, input:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

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

.fade-in {
    animation: fadeIn 1s ease-in;
}
