:root {
    --background: oklch(1 0 0);
    --foreground: oklch(0.145 0 0);
    --card: oklch(1 0 0);
    --border: oklch(0.922 0 0);
    /* UPDATED: Ring color is now based on your logo's orange */
    --ring: oklch(0.73 0.17 37);
}

.dark {
    --background: oklch(0.145 0 0);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.205 0 0);
    --border: oklch(1 0 0 / 10%);
    /* UPDATED: Ring color is now based on your logo's orange */
    --ring: oklch(0.73 0.17 37);
}

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

body {
    background: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* --- Glassmorphism Base Styles (Unchanged) --- */
.glass {
    background: color-mix(in oklab, var(--card), transparent 30%);
    border: 1px solid color-mix(in oklab, var(--border), transparent 40%);
    box-shadow: 0 8px 30px color-mix(in oklab, var(--ring), transparent 85%), inset 0 1px 0 oklch(1 0 0 / 6%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.glass\/60 {
    background: color-mix(in oklab, var(--card), transparent 40%);
    border: 1px solid color-mix(in oklab, var(--border), transparent 45%);
    box-shadow: 0 8px 30px color-mix(in oklab, var(--ring), transparent 85%), inset 0 1px 0 oklch(1 0 0 / 6%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.glass\/70 {
    background: color-mix(in oklab, var(--card), transparent 30%);
    border: 1px solid color-mix(in oklab, var(--border), transparent 40%);
    box-shadow: 0 8px 30px color-mix(in oklab, var(--ring), transparent 85%), inset 0 1px 0 oklch(1 0 0 / 6%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.glass\/80 {
    background: color-mix(in oklab, var(--card), transparent 20%);
    border: 1px solid color-mix(in oklab, var(--border), transparent 35%);
    box-shadow: 0 8px 30px color-mix(in oklab, var(--ring), transparent 82%), inset 0 1px 0 oklch(1 0 0 / 7%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* --- Animated Gradient --- */
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* UPDATED: Gradient now uses your new brand colors */
.animated-gradient {
    background: radial-gradient(circle at 10% 20%, rgba(253, 198, 61, 0.2), transparent 40%),
                radial-gradient(circle at 80% 10%, rgba(245, 122, 46, 0.25), transparent 40%),
                radial-gradient(circle at 50% 95%, rgba(29, 85, 158, 0.18), transparent 50%);
    background-size: 200% 200%;
    animation: gradient-animation 25s ease infinite;
}


/* --- Button Styles --- */

/* UPDATED: Primary button now has your orange-yellow gradient */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px; /* pill shape */
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #FDC63D 0%, #F57A2E 100%);
    box-shadow: 0 4px 12px rgba(245, 122, 46, 0.4), 0 1px 3px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 122, 46, 0.5), 0 2px 4px rgba(0,0,0,0.1);
}

/* Secondary Button (Unchanged but will inherit new theme colors) */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px; /* pill shape */
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid var(--border); 
    color: var(--foreground);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: color-mix(in oklab, var(--border), transparent 85%);
    border-color: color-mix(in oklab, var(--border), transparent 70%);
}


/* --- New Animation Styles for About Section --- */

/* Initial state for elements that will be animated */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* The state after the element becomes visible */
[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* UPDATED: Lighter gradient with reduced opacity */
.animated-gradient {
    background: radial-gradient(circle at 10% 20%, rgba(253, 198, 61, 0.1), transparent 40%),
                radial-gradient(circle at 80% 10%, rgba(245, 122, 46, 0.12), transparent 40%),
                radial-gradient(circle at 50% 95%, rgba(29, 85, 158, 0.08), transparent 50%);
    background-size: 200% 200%;
    animation: gradient-animation 25s ease infinite;
}


/* --- Interactive Testimonial Card Styles --- */
.testimonial-card {
    position: relative;
    /* This helps the pseudo-element render correctly */
    transform: translateZ(0); /* Needed for some browsers with pseudo-elements */
}

/* The pseudo-element that creates the subtle glow */
.testimonial-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -1px; /* Smaller inset for a tighter glow, adjust as needed */
    border-radius: 1.25rem; /* Should match the card's border-radius */
    
    /* A conic gradient using your brand colors for a subtle swirling effect */
    background: conic-gradient(
        from 180deg at 50% 50%,
        #FDC63D, #F57A2E, #FDC63D, #F57A2E, #FDC63D
    );
    
    filter: blur(10px); /* Reduced blur for a softer effect */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

/* On hover, fade the glow in */
.testimonial-card:hover::before {
    opacity: 0.4; /* Reduced opacity for a much more subtle glow */
}

/* --- Inverted Button for Dark Backgrounds --- */
.btn-secondary-inverted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid white; 
    color: white;
    transition: background-color 0.2s ease;
}

.btn-secondary-inverted:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* --- New Font for Headings & Menu Items --- */

/* 1. Apply Epunda Slab to all headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Epunda Slab', serif;
}

/* 2. Apply Epunda Slab AND bold weight to menu items */
header nav a {
  font-family: 'Epunda Slab', serif;
  font-weight: 600; /* Use 600 for semi-bold or 700 for bold */
}
/* --- CTA Button for Dark CTA Background --- */
.btn-cta-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem; /* Slightly less rounded */
    font-weight: 500;
    text-decoration: none;
    background-color: #3B82F6; /* Tailwind blue-500 */
    color: white;
    transition: background-color 0.2s ease;
}

.btn-cta-blue:hover {
    background-color: #2563EB; /* Tailwind blue-600 */
}


/* --- New Project Filter Styles --- */
.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    transition: all 0.2s ease-in-out;
}

.filter-btn:hover {
    background-color: color-mix(in oklab, var(--border), transparent 85%);
    color: var(--ring);
}

.filter-btn.active {
    background: var(--ring);
    color: white;
    border-color: var(--ring);
}

.project-card {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.project-card.hidden {
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}



/* Add this to your style.css file */

.text-gradient-blue {
    background: linear-gradient(to right, #4a90e2, #7b68ee); /* A vibrant blue to purple gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support background-clip */
}

/* Ensure your existing btn-primary-blue is defined or add it if not */
.btn-primary-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.75rem; /* rounded-xl */
    font-weight: 600; /* font-semibold */
    color: white;
    background: linear-gradient(to right, #4a90e2, #7b68ee); /* Blue to purple gradient */
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3); /* Subtle blue shadow */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary-blue:hover {
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    transform: translateY(-2px);
}


/* --- Styling for Prose content inside cards --- */
.prose-sm p {
    margin: 0; /* Removes default paragraph margins to fit nicely in the card */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.5rem;
}