
.icon {
    width: 164px;      /* Adjust icon size as needed */
    /* height: 51px; */
    margin-right: 0px; /* Add some space between the icon and text */
    vertical-align: middle; /* Vertically align the icon with text */
  }


/* Theming */
:root {
    --bg-start: #0f172a; /* slate-900 */
    --bg-end: #1d4ed8;   /* indigo-600 */
    --bg-accent: #06b6d4; /* cyan-500 */
    --surface: #ffffff;
    --text-primary: #0f172a;
    --muted: #64748b;
    --primary: #2563eb; /* primary button */
    --primary-hover: #1d4ed8;
    --primary-contrast: #ffffff;
    --outline: #0f172a;
    --outline-hover: #111827;
    --secondary: #0ea5e9; /* for accents */
    --secondary-hover: #0284c7;
}

body {
    z-index: -1;
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url('./Background.png'); */
    /* background-color: rgb(75, 26, 26); */
    background-size: cover;
    background-repeat: no-repeat;
}

/* Navbar styles */
.navbar {
    /* background-color: rgba(0, 0, 0, 0.8); */
    display: flex;
    background-color: transparent; /* Set the background color to transparent */
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: none; /* Remove shadows */
    z-index: 999; /* Make sure it's on top of other elements */
    transition: background-color 0.5s ease;
}

/* Navbar links styles */
.navbar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.navbar-links li {
    margin-right: 20px;
}

.navbar-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.navbar-left img,
.navbar-right img {
    height: 100px; /* Adjust the height as needed */
    width: auto;
    max-height: 100%; /* Maintain aspect ratio */
}


header {
    background: linear-gradient(90deg, var(--bg-start), var(--bg-end));
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

h1, h2 {
    margin: 0.5rem 0;
}

section {
    padding: 1rem;
    margin: 1rem 0;
}

ul {
    list-style: none;
    padding: 0;
}

ul li a {
    text-decoration: none;
    color: var(--primary-contrast); /* White text for links */
    background-color: var(--primary); /* Primary background for links */
    padding: 0.5rem;
    display: inline-block;
    margin: 0.5rem 0;
    border-radius: 5px; /* Adding rounded corners */
}

ul li a:hover {
    background-color: var(--primary-hover); /* Slightly darker on hover */
}

/* Matrix background override (defined inline in index.html too) */
.matrix-bg {
    background: radial-gradient(1200px 800px at 10% -10%, rgba(6, 182, 212, 0.15), transparent 60%),
                radial-gradient(1000px 700px at 100% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
                linear-gradient(180deg, var(--bg-start), var(--bg-end));
}

.overlay {
    background: rgba(255, 255, 255, 0.55);
}

.matrix-column {
    color: var(--bg-accent);
}

.matrix-column div {
    color: #5ef3ff !important; /* bright cyan for glyphs */
    filter: brightness(1.1) saturate(1.8) drop-shadow(0 0 2px rgba(0,0,0,0.35));
}

/* Buttons - unify palette with variables */
.btn-primary,
.btn.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--primary-contrast) !important;
}

.btn-primary:hover,
.btn.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-outline-secondary,
.btn.btn-outline-secondary {
    color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn-outline-secondary:hover,
.btn.btn-outline-secondary:hover {
    color: var(--primary-contrast) !important;
    background-color: var(--secondary-hover) !important;
    border-color: var(--secondary-hover) !important;
}

.btn-outline-dark,
.btn.btn-outline-dark {
    color: var(--outline) !important;
    border-color: var(--outline) !important;
}

.btn-outline-dark:hover,
.btn.btn-outline-dark:hover {
    color: var(--primary-contrast) !important;
    background-color: var(--outline-hover) !important;
    border-color: var(--outline-hover) !important;
}

/* Subtle focus ring for accessibility */
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.35) !important;
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
}