@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html, body {
    height: 100%; /* Ensure the html and body take up the full height */
    margin: 0;
    color: #e2e8f0; /* Light text for dark background */
}

/* Improved text readability */
p, .card-text, .text-muted {
    color: #cbd5e1 !important;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: #f8fafc !important;
}

.text-secondary {
    color: #94a3b8 !important;
}

.lead {
    color: #e2e8f0 !important;
}

/* Card improvements for better contrast */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.card-title {
    color: #f8fafc !important;
    font-weight: 600;
}

.card-body {
    color: #cbd5e1;
}

.bg-light {
    background: rgba(255, 255, 255, 0.03) !important;
}

.banner {
    height: 0.60in;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(192,100,192,0), silver);
    padding: 1px 2px;
    color: white;
}

.logo-placeholder img {
    max-height: 0.5in;
    height: auto;
}

.gradient_gb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    animation: gradientAnimation 5s ease infinite;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    overflow: hidden;
}

.gradient_gb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.gradient_gb h1,
.gradient_gb h2,
.gradient_gb h3,
.gradient_gb p,
.gradient_gb .lead {
    position: relative;
    z-index: 1;
    color: #ffffff !important;
}

.gradient_gb .display-4 {
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gradient_gb .lead {
    font-size: 1.2rem;
    opacity: 0.95;
}
.dropdown-wide {
    width: 60vw !important; /* Half of the viewport width */
    max-width: 60vw;
    left: 0 !important; /* Aligns with left side of the nav */
    right: auto !important;
}

.dropdown-menu.dropdown-wide.show {
    display: block;
}

/* Default item color */
.dropdown-wide .dropdown-item {
    color: #ffffff !important; /* white text initially */
}

/* Hover effect */
.dropdown-wide .dropdown-item:hover {
    background-color: #ffffff !important; /* white background */
    color: #000000 !important; /* black text */
}

.frontpage-banner {
    position: relative;
    height: 90vh;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    background: linear-gradient(135deg, #f7f7f7, #c0c0c0, #f7f7f7); /* metallic gradient */
    /*overflow: hidden;*/
}

.banner-content {
    position: relative;
    z-index: 2;
}

.wave-top, .wave-bottom {
    position: absolute;
    width: 100%;
    height: 100px;
    left: 0;
    z-index: 1;
}

.wave-top {
    top: 0;
}

.wave-bottom {
    bottom: 0;
}

/* Optional shimmer animation for metallic effect */
.frontpage-banner {
    background-size: 300% 300%;
    animation: metallicShimmer 15s ease infinite;
}

@keyframes metallicShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Text Styling */
.banner-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.banner-content p {
    font-size: 1.2rem;
}

/* Top Image shadow*/
.shadow-3d {
    border-radius: 12px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.25), -5px -5px 15px rgba(255, 255, 255, 0.3);
    transform: perspective(800px) rotateY(-5deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .shadow-3d:hover {
        transform: perspective(800px) rotateY(0deg) scale(1.03);
        box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.3), -8px -8px 20px rgba(255, 255, 255, 0.35);
    }

.blog-details img {
    max-width: 100%;
}

.justify-text-large {
    font-size:large;
    text-align: justify;
    line-height: 2.0;
    color: #cbd5e1 !important;
}

/* Container and section improvements */
.container {
    color: #e2e8f0;
}

section {
    color: #e2e8f0;
}

/* Image styling */
img {
    border-radius: 12px;
}

.img-fluid {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Link improvements */
a {
    color: #a78bfa;
    transition: color 0.3s ease;
}

a:hover {
    color: #c4b5fd;
}

/* Blog details content */
.blog-details {
    color: #cbd5e1 !important;
}

.blog-details p {
    color: #cbd5e1 !important;
    line-height: 1.8;
}

.blog-details h1,
.blog-details h2,
.blog-details h3,
.blog-details h4,
.blog-details h5,
.blog-details h6 {
    color: #f8fafc !important;
    margin-top: 2rem;
    margin-bottom: 1rem;
}


@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.thead-dark {
    background-color: #10233d !important;
    color: white;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #666;
}

.carousel-indicators .active {
    background-color: #000;
}

.index-head {
    width: 100%;
    height: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    font-weight: 400;
    font-style: normal;
    font-family: "Inter Variable", "Inter Variable Placeholder", sans-serif;
    color: var(--token-8961fb69-0ea3-46ab-8b8e-1f9187ebd1a9, #000000);
    font-size: 40px;
    letter-spacing: -0.04em;
    text-align: left;
    line-height: 1;
    font-feature-settings: 'cv01' on, 'cv09' on, 'cv11' on, 'cv05' on, 'ss03' on;
    font-variation-settings: "opsz" 32, "wght" 700;
    position: absolute;
}

.table-striped > tbody > tr:nth-child(2n) > td, .table-striped > tbody > tr:nth-child(2n) > th {
    background-color: #3a5978;
    color: white;
}


.gradient-footer {
    background: linear-gradient(270deg, #212f3d, #527689, #2c3e50);
    background-size: 200% 200%;
    animation: gradientAnimation 5s ease infinite;
    border-top: 4px solid #1a1a1a; /* Dark border for 3D effect */
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3), /* Shadow at the top */
    0 -8px 12px rgba(0, 0, 0, 0.2); /* Deeper shadow for 3D effect */
    position: relative;
    z-index: 1;
}

.gradient-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    z-index: 2;
}


.scrolling-wrapper {
    scrollbar-width: none; /* Firefox hide scrollbar */
    -ms-overflow-style: none; /* IE/Edge hide scrollbar */
}

    .scrolling-wrapper::-webkit-scrollbar {
        display: none; /* Chrome/Safari hide scrollbar */
    }

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-10%);
    background: rgba(0,0,0,0.1);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}

