/* Base theme setup */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1a2e; /* bg-secondary-dark */
    color: #d1d5db; /* text-gray-300 */
}

/* Style for the active navigation link */
.nav-link-active {
    color: #0065FF !important; /* text-primary */
    font-weight: 600;
}

/* --- Animation Classes --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.645, 0.045, 0.355, 1), 
                transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.is-visible { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- Hero Canvas - More Visible --- */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6; /* Increased opacity */
}

/* Glassmorphism card style */
.glass-card {
    background-color: rgba(26, 43, 77, 0.7); /* bg-secondary/70 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid #374151; /* border-gray-700 */
    transition: all 0.3s ease-in-out;
    display: flex; /* Added for consistent height in grids */
    flex-direction: column; /* Added for consistent height */
}
.glass-card:hover {
    border-color: #0065FF; /* border-primary */
    box-shadow: 0 10px 25px -5px rgba(0, 101, 255, 0.1), 0 8px 10px -6px rgba(0, 101, 255, 0.1);
    transform: translateY(-8px);
}

/* Button Styles - Added shadows and transitions */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem; /* Equivalent to px-6 py-3 */
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 500; /* font-medium */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-lg */
    text-align: center;
}
.btn-primary {
    background-color: #0065FF; /* bg-primary */
    color: white;
}
.btn-primary:hover {
    background-color: #004ecb; /* hover:bg-primary-dark */
    box-shadow: 0 10px 15px -3px rgba(0, 101, 255, 0.2), 0 4px 6px -4px rgba(0, 101, 255, 0.2); /* hover shadow */
    transform: translateY(-2px);
}
.btn-accent {
    background-color: #10B981; /* bg-accent */
    color: white;
}
.btn-accent:hover {
     background-color: #059669; /* hover:bg-accent-dark */
     box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2), 0 4px 6px -4px rgba(16, 185, 129, 0.2); /* hover shadow */
     transform: translateY(-2px);
}
.btn-secondary {
    background-color: #1a2b4d; /* bg-secondary */
     color: white;
     border: 1px solid #374151; /* border-gray-700 */
}
 .btn-secondary:hover {
    background-color: #2a3f6a; /* hover:bg-secondary-light */
    border-color: #4b5563; /* hover:border-gray-600 */
     box-shadow: 0 10px 15px -3px rgba(26, 43, 77, 0.2), 0 4px 6px -4px rgba(26, 43, 77, 0.2);
     transform: translateY(-2px);
 }

/* Light-on-dark form inputs */
.form-input-dark {
    background-color: #1f2937; /* bg-gray-700 */
    border: 1px solid #374151; /* border-gray-600 */
    color: #f3f4f6; /* text-gray-100 */
    border-radius: 0.5rem; /* rounded-lg */
    padding: 0.75rem 1rem; /* px-4 py-3 */
    width: 100%;
}
.form-input-dark:focus {
    background-color: #374151; /* bg-gray-600 */
    border-color: #0065FF; /* focus:border-primary */
    box-shadow: 0 0 0 3px rgba(0, 101, 255, 0.3); /* focus ring */
    outline: none;
}
.form-input-dark::placeholder {
    color: #6b7280; /* text-gray-400 */
}

/* Styling for prose (blog content) */
.prose-custom h2 { color: white; margin-top: 2em; margin-bottom: 1em; }
.prose-custom p { color: #d1d5db; } /* text-gray-300 */
.prose-custom ul { list-style-type: disc; margin-left: 1.5em; }
.prose-custom li { color: #d1d5db; margin-bottom: 0.5em; }
.prose-custom strong { color: white; }
.prose-custom a { color: #0065FF; text-decoration: underline; }
.prose-custom a:hover { color: #60a5fa; } /* Tailwind blue-400 */

 /* Ensure hidden blog posts are truly hidden */
 .blog-post-detail.hidden {
     display: none !important;
 }