/**
 * Custom Styles for GTRIN Theme
 * Replaces Tailwind CSS with inline CSS
 * @package GTRIN
 * @since 1.0.0
 */

/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    background-color: #f8f6f6;
    min-height: 100vh;
}

/* ===== Color Variables ===== */
:root {
    --color-primary: #1978e5;
    --color-primary-hover: #1565c0;
    --color-background-light: #f8f6f6;
    --color-background-dark: #221610;
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-green-500: #22c55e;
    --color-green-600: #16a34a;
}

/* ===== Dark Mode Support ===== */
.dark {
    color-scheme: dark;
}

.dark body {
    background-color: var(--color-background-dark);
    color: var(--color-slate-100);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--color-primary);
}

/* ===== Material Icons ===== */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.icons-pending .material-symbols-outlined {
    visibility: hidden;
}

/* Material Icons size variants */
.material-symbols-outlined.text-3xl {
    font-size: 1.875rem;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 40;
}

.material-symbols-outlined.text-5xl {
    font-size: 3rem;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

/* ===== Layout Utilities ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-sm {
    max-width: 24rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Display ===== */
.hidden {
    display: none;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.grid {
    display: grid;
}

/* ===== Flexbox ===== */
.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1 1 0%;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }
.gap-24 { gap: 6rem; }

/* ===== Grid ===== */
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

/* ===== Spacing ===== */
/* Padding */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }
.px-20 { padding-left: 5rem; padding-right: 5rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }

.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }

/* Margin */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }

.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }
.mx-8 { margin-left: 2rem; margin-right: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }

/* Negative margins */
.-mt-16 { margin-top: -4rem; }
.-mt-20 { margin-top: -5rem; }
.-mt-24 { margin-top: -6rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* ===== Width & Height ===== */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }

.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-40 { height: 10rem; }

/* Size (width and height together) */
.size-10 {
    width: 2.5rem;
    height: 2.5rem;
}

.size-12 {
    width: 3rem;
    height: 3rem;
}

.size-20 {
    width: 5rem;
    height: 5rem;
}

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }

.min-h-screen {
    min-height: 100vh;
}

/* ===== Text Utilities ===== */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

/* ===== Colors ===== */
/* Text Colors */
.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-slate-50 { color: var(--color-slate-50); }
.text-slate-100 { color: var(--color-slate-100); }
.text-slate-200 { color: var(--color-slate-200); }
.text-slate-300 { color: var(--color-slate-300); }
.text-slate-400 { color: var(--color-slate-400); }
.text-slate-500 { color: var(--color-slate-500); }
.text-slate-600 { color: var(--color-slate-600); }
.text-slate-700 { color: var(--color-slate-700); }
.text-slate-800 { color: var(--color-slate-800); }
.text-slate-900 { color: var(--color-slate-900); }
.text-green-500 { color: rgb(34, 197, 94); }
.text-green-600 { color: rgb(22, 163, 74); }

/* Background Colors */
.bg-primary { background-color: var(--color-primary); }
.bg-white { background-color: var(--color-white); }
.bg-background-light { background-color: var(--color-background-light); }
.bg-background-dark { background-color: var(--color-background-dark); }
.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-slate-100 { background-color: var(--color-slate-100); }
.bg-slate-200 { background-color: var(--color-slate-200); }
.bg-slate-700 { background-color: var(--color-slate-700); }
.bg-slate-800 { background-color: var(--color-slate-800); }
.bg-slate-900 { background-color: var(--color-slate-900); }
.bg-green-500 { background-color: var(--color-green-500); }

.bg-transparent { background-color: transparent; }

/* Background Utilities */
.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

/* Gradients */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-from), var(--tw-gradient-to));
}

.to-transparent {
    --tw-gradient-to: transparent;
}

/* ===== Border ===== */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }

.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }

.border-b-2 { border-bottom-width: 2px; }
.border-t-2 { border-top-width: 2px; }
.border-l-4 { border-left-width: 4px; }

.border-slate-100 { border-color: var(--color-slate-100); }
.border-slate-200 { border-color: var(--color-slate-200); }
.border-slate-300 { border-color: var(--color-slate-300); }
.border-slate-800 { border-color: var(--color-slate-800); }
.border-primary { border-color: var(--color-primary); }
.border-transparent { border-color: transparent; }

.rounded { border-radius: 0.5rem; }
.rounded-sm { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.5rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.5rem; }
.rounded-3xl { border-radius: 2rem; }
.rounded-full { border-radius: 9999px; }

/* ===== Ring ===== */
.ring-1 {
    box-shadow: 0 0 0 1px var(--tw-ring-color);
}

.ring-4 {
    box-shadow: 0 0 0 4px var(--tw-ring-color);
}

.ring-white {
    --tw-ring-color: #ffffff;
}

.ring-slate-200 {
    --tw-ring-color: var(--color-slate-200);
}

.dark .dark\:ring-slate-800 {
    --tw-ring-color: var(--color-slate-800);
}

.ring-background-dark {
    --tw-ring-color: var(--color-background-dark);
}

.dark .dark\:ring-background-dark {
    --tw-ring-color: var(--color-background-dark);
}

/* ===== Amber palette (used by milestone badges) ===== */
.bg-amber-50  { background-color: #fffbeb; }
.bg-amber-500 { background-color: #f59e0b; }
.text-amber-600 { color: #d97706; }
.ring-amber-500\/30 { --tw-ring-color: rgba(245, 158, 11, 0.3); }
.shadow-amber-500 { box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.2); }
.dark .dark\:bg-amber-900\/20 { background-color: rgba(120, 53, 15, 0.2); }
.dark .dark\:text-amber-500  { color: #f59e0b; }
.ring-primary\/30 { --tw-ring-color: rgba(15, 73, 189, 0.3); }

/* ===== Shadow ===== */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.hover\\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== Position ===== */
.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

.top-0 { top: 0; }
.top-4 { top: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.right-6 { right: 1.5rem; }
.left-6 { left: 1.5rem; }

/* Negative positioning */
.-top-6 { top: -1.5rem; }
.-top-10 { top: -2.5rem; }
.-left-6 { left: -1.5rem; }
.-left-10 { left: -2.5rem; }
.-right-6 { right: -1.5rem; }
.-bottom-6 { bottom: -1.5rem; }

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* ===== Z-Index ===== */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ===== Overflow ===== */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* ===== Opacity ===== */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* ===== Transitions ===== */
.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-opacity {
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* ===== Transform ===== */
.scale-105 {
    transform: scale(1.05);
}

.scale-110 {
    transform: scale(1.1);
}

.hover\\:scale-105:hover {
    transform: scale(1.05);
}

.hover\\:scale-110:hover {
    transform: scale(1.1);
}

.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* ===== Pointer Events ===== */
.pointer-events-none {
    pointer-events: none;
}

/* ===== Cursor ===== */
.cursor-pointer {
    cursor: pointer;
}

/* ===== Blur Filter ===== */
.blur-sm {
    filter: blur(4px);
}

.blur {
    filter: blur(8px);
}

.blur-md {
    filter: blur(12px);
}

.blur-lg {
    filter: blur(16px);
}

.blur-xl {
    filter: blur(24px);
}

.blur-2xl {
    filter: blur(40px);
}

.blur-3xl {
    filter: blur(64px);
}

/* ===== Backdrop Filter ===== */
.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ===== Object Fit ===== */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* ===== Aspect Ratio ===== */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* ===== Mix Blend Mode ===== */
.mix-blend-multiply {
    mix-blend-mode: multiply;
}

.mix-blend-screen {
    mix-blend-mode: screen;
}

.mix-blend-overlay {
    mix-blend-mode: overlay;
}

/* ===== Specific Component Styles ===== */

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(248, 246, 246, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-slate-200);
    padding: 0.67rem 1.5rem;
}

.site-header .max-w-7xl {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-header .custom-logo {
    max-height: 28px;
    width: auto;
}

.site-header .gtrin-fixed-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-header .gtrin-fixed-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Front Page Hero */
.front-page [data-hero-carousel] [data-hero-image] {
    transition: transform 0.7s ease, opacity 0.5s ease;
    transform: scale(1);
}

.front-page [data-hero-carousel]:hover [data-hero-image] {
    transform: scale(1.04);
}

/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 20;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
}

.hero-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #ffffff;
}

/* Footer */
.site-footer {
    background-color: var(--color-slate-900);
    color: #e6e8ed;
    border-top: 1px solid #252a33;
    padding: 5rem 1.5rem 0;
    font-weight: 300;
    letter-spacing: 0.01em;
}

@media (min-width: 1024px) {
    .site-footer {
        padding: 5rem 5rem 0;
    }
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem 5rem;
    }
    .site-footer .md\:col-span-2 {
        grid-column: span 2;
    }
}

.site-footer .brand-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.site-footer .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer .gtrin-footer-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-footer .gtrin-footer-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.site-footer .icon-box {
    background: linear-gradient(145deg, #1f5e8e, #123a54);
    padding: 0.65rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 30, 60, 0.4);
}

.site-footer .icon-box .material-symbols-outlined {
    color: #ffffff;
    font-size: 1.8rem;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.site-footer .brand-name {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 1.1;
    background: linear-gradient(130deg, #fff, #cbd5e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.site-footer .description {
    color: #a6b3cf;
    max-width: 28rem;
    font-weight: 350;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.site-footer .social-placeholder {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.site-footer .social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.2s;
}

.site-footer .social-icon:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.site-footer .footer-title {
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(41, 112, 173, 0.3);
    padding-bottom: 0.75rem;
    display: inline-block;
}

.site-footer .link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0;
    margin: 0;
}

.site-footer .link-list a {
    color: #b4c2da;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.2s ease, transform 0.1s ease;
    display: inline-block;
}

.site-footer .link-list a:hover {
    color: #70b9ff;
    transform: translateX(4px);
}

.site-footer .contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 0;
    margin: 0;
}

.site-footer .contact-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #cad1e0;
    line-height: 1.5;
}

.site-footer .contact-item .material-symbols-outlined {
    color: #70b9ff;
    font-size: 1.3rem;
    flex-shrink: 0;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    background: rgba(31, 94, 142, 0.2);
    padding: 0.3rem;
    border-radius: 6px;
}

.site-footer .copyright-area {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    margin-top: 1.75rem;
    border-top: 1px solid #28303f;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8896b0;
}

@media (min-width: 768px) {
    .site-footer .copyright-area {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
}

.site-footer .copyright-area p {
    opacity: 0.8;
    font-weight: 500;
    color: #8896b0;
    margin: 0;
}

.site-footer .legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-footer .legal-links a {
    color: #8896b0;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: color 0.2s;
}

.site-footer .legal-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: #70b9ff;
}

/* Front Page Stats */
.front-page .stats-wrapper {
    width: 100%;
}

.front-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 1024px) {
    .front-page .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }
}

.front-page .stats-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.5rem;
    padding: 1.1rem 0.9rem 1rem;
    text-align: center;
    box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.25), 0 2px 6px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.front-page .stats-card:hover {
    transform: translateY(-4px);
    border-color: rgba(25, 120, 229, 0.45);
    box-shadow: 0 18px 36px -18px rgba(25, 120, 229, 0.32), 0 4px 12px rgba(15, 23, 42, 0.08);
}

.front-page .stats-card .stats-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: rgba(25, 120, 229, 0.1);
    border: 1px solid rgba(25, 120, 229, 0.2);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.front-page .stats-card:hover .stats-icon {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.front-page .stats-card .stats-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.front-page .stats-card .stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.front-page .stats-card .stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #475569;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .front-page .stats-card {
        padding: 0.95rem 0.7rem 0.9rem;
        border-radius: 1.25rem;
    }

    .front-page .stats-card .stats-icon {
        width: 3.1rem;
        height: 3.1rem;
        margin-bottom: 0.6rem;
    }

    .front-page .stats-card .stat-number {
        font-size: 2.35rem;
    }

    .front-page .stats-card .stat-label {
        font-size: 0.82rem;
    }
}

@media (prefers-color-scheme: dark) {
    .front-page .stats-card {
        background: rgba(15, 23, 42, 0.86);
        border-color: rgba(71, 85, 105, 0.45);
        box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.65);
    }

    .front-page .stats-card .stat-number {
        color: #f8fafc;
    }

    .front-page .stats-card .stat-label {
        color: #94a3b8;
    }

    .front-page .stats-card .stats-icon {
        background: rgba(30, 41, 59, 0.92);
        border-color: rgba(25, 120, 229, 0.35);
        color: var(--color-primary);
    }

    .front-page .stats-card:hover .stats-icon {
        background: var(--color-primary);
        color: #ffffff;
    }
}

/* Honors Carousel */
.awards-carousel {
    position: relative;
}

.awards-track-wrap {
    overflow: hidden;
    width: 100%;
}

.awards-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-columns: calc((100% - 2.7rem) / 4);
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.125rem;
}

.awards-track::-webkit-scrollbar {
    display: none;
}

.award-slide {
    width: 100%;
    scroll-snap-align: start;
    background: #f8fafc;
    border: 1px solid var(--color-slate-200);
    border-radius: 0.35rem;
    overflow: hidden;
    box-shadow: 0 8px 20px -16px rgba(15, 23, 42, 0.25);
}

.award-media-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--color-slate-100);
    position: relative;
}

.award-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.award-slide:hover .award-media {
    transform: scale(1.05);
}

.award-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
    padding: 1.5rem 0.75rem 0.75rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.award-slide:hover .award-caption {
    transform: translateY(0);
}

.award-caption-title {
    display: block;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-align: center;
}

.award-caption-subtitle {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    margin-top: 0.2rem;
    text-align: center;
}

.awards-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.1rem;
    height: 3.2rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.9);
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.awards-nav-prev {
    left: 0.4rem;
}

.awards-nav-next {
    right: 0.4rem;
}

.awards-nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

@media (min-width: 1024px) {
    .awards-track {
        grid-auto-columns: calc((100% - 2.7rem) / 4);
    }
}

@media (max-width: 767px) {
    .awards-track {
        grid-auto-columns: calc((100% - 0.9rem) / 2);
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .awards-nav {
        width: 1.9rem;
        height: 2.8rem;
    }
}

@media (prefers-color-scheme: dark) {
    .award-slide {
        background: rgba(15, 23, 42, 0.9);
        border-color: rgba(71, 85, 105, 0.5);
    }

    .awards-nav {
        background: rgba(15, 23, 42, 0.82);
        border-color: rgba(71, 85, 105, 0.5);
        color: #cbd5e1;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 10px 15px -3px rgba(25, 120, 229, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    opacity: 0.9;
}

/* Cards */
.card {
    background-color: var(--color-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Space utilities */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-14 > * + * { margin-top: 3.5rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.space-y-24 > * + * { margin-top: 6rem; }

.flex-shrink-0 { flex-shrink: 0; }
.min-w-0 { min-width: 0px; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }

/* ===== Hover States ===== */
.hover\:text-primary:hover {
    color: var(--color-primary);
}

.hover\:text-white:hover {
    color: var(--color-white);
}

.hover\:bg-primary:hover {
    background-color: var(--color-primary);
}

.hover\:bg-primary\/90:hover {
    background-color: rgba(25, 120, 229, 0.9);
}

.hover\:bg-primary-hover:hover {
    background-color: var(--color-primary-hover);
}

.hover\:bg-green-600:hover {
    background-color: var(--color-green-600);
}

.hover\:opacity-90:hover {
    opacity: 0.9;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== Dark Mode Styles ===== */
.dark .dark\\:bg-background-dark {
    background-color: var(--color-background-dark);
}

.dark .dark\\:bg-slate-800 {
    background-color: var(--color-slate-800);
}

.dark .dark\\:bg-slate-900 {
    background-color: var(--color-slate-900);
}

.dark .dark\\:text-slate-100 {
    color: var(--color-slate-100);
}

.dark .dark\\:text-slate-400 {
    color: var(--color-slate-400);
}

.dark .dark\\:text-white {
    color: var(--color-white);
}

.dark .dark\\:border-slate-700 {
    border-color: var(--color-slate-700);
}

.dark .dark\\:border-slate-800 {
    border-color: var(--color-slate-800);
}

.dark .dark\\:hover\\:text-primary:hover {
    color: var(--color-primary);
}

/* ===== Responsive Design ===== */
@media (min-width: 640px) {
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:text-5xl { font-size: 3rem; line-height: 1; }
    .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    
    .md\:flex-row { flex-direction: row; }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:flex-row { flex-direction: row; }
    
    .lg\:w-1\/2 { width: 50%; }
    .lg\:w-1\/3 { width: 33.333333%; }
    .lg\:w-2\/3 { width: 66.666667%; }
    
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .lg\:gap-24 { gap: 6rem; }
    
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
    .lg\:px-20 { padding-left: 5rem; padding-right: 5rem; }
    
    .lg\:text-5xl { font-size: 3rem; line-height: 1; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

@media (min-width: 1280px) {
    .xl\:text-8xl { font-size: 6rem; line-height: 1; }
}

/* ===== Forms ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    border: 1px solid var(--color-slate-300);
    border-radius: 0.5rem;
    background-color: var(--color-white);
    transition: all 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(25, 120, 229, 0.1);
}

/* ===== Utility Classes ===== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-underline {
    text-decoration: none;
}

.line-through {
    text-decoration-line: line-through;
}

.list-none {
    list-style: none;
}

.appearance-none {
    appearance: none;
}

.resize-none {
    resize: none;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Screen Reader Only ===== */
.screen-reader-text,
.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.skip-link:focus {
    left: 0;
    top: 0;
    background-color: var(--color-white);
    padding: 1rem;
    z-index: 100;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-slate-100);
}

::-webkit-scrollbar-thumb {
    background: var(--color-slate-400);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ===== Internal Small Banner ===== */
.gtrin-inner-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gtrin-inner-banner__bg,
.gtrin-inner-banner__bg img,
.gtrin-inner-banner__overlay {
    position: absolute;
    inset: 0;
}

.gtrin-inner-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gtrin-inner-banner__overlay {
    background: linear-gradient(135deg, rgba(15, 73, 189, 0.78) 0%, rgba(16, 22, 34, 0.82) 100%);
}

.gtrin-inner-banner__content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.gtrin-inner-banner__content h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
}

.gtrin-inner-banner__content p {
    margin: 14px auto 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .gtrin-inner-banner {
        height: 260px;
    }

    .gtrin-inner-banner__content h1 {
        font-size: clamp(28px, 6vw, 44px);
    }

    .gtrin-inner-banner__content p {
        font-size: 16px;
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .gtrin-inner-banner {
        height: 220px;
    }

    .gtrin-inner-banner__content {
        padding: 0 16px;
    }

    .gtrin-inner-banner__content h1 {
        font-size: clamp(24px, 7vw, 34px);
        line-height: 1.15;
    }

    .gtrin-inner-banner__content p {
        font-size: 14px;
        margin-top: 10px;
        line-height: 1.45;
    }
}

@media (max-width: 480px) {
    .gtrin-inner-banner {
        height: 190px;
    }

    .gtrin-inner-banner__content p {
        font-size: 13px;
        margin-top: 8px;
    }
}
