        :root {
            --primary: #F2A120;
            --primary-container: #F7C663;
            --on-primary: #352307;
            --on-primary-container: #F2A120;
            --background: #151328;
            --surface: #151328;
            --on-surface: #E3DFFF;
            --on-surface-variant: #f4f3ff;
            --surface-container: #1d1b40;
            --surface-container-low: #030316;
            --surface-container-high: #151328;
            --surface-bright: #23074F;
            --outline-variant: rgba(78, 70, 55, 0.15);
            --radius-lg: 0.75rem;
            --radius-xl: 0.75rem;
            --radius-full: 9999px;
            /*--font-headline: 'Manrope', sans-serif;
            --font-body: 'Inter', sans-serif;*/
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

                /* Add this to handle pseudo-elements like :before and :after */
        *::before,
        *::after {
            ox-sizing: border-box;
        }

        /* FONTS */

        /* THIN WEIGHT (100) */
        @font-face {
            font-family: 'Josefin Sans';
            src: url('josefin-sans/JosefinSans-Thin.ttf') format('truetype');
            font-weight: 100;
            font-style: normal;
            font-display: swap;
        }

        /* THIN WEIGHT (100) ITALIC */
        @font-face {
            font-family: 'Josefin Sans';
            src: url('josefin-sans/JosefinSans-ThinItalic.ttf') format('truetype');
            font-weight: 100;
            font-style: italic;
            font-display: swap;
        }

        /* REGULAR WEIGHT (400) */
        @font-face {
            font-family: 'Josefin Sans';
            src: url('josefin-sans/JosefinSans-Regular.ttf') format('truetype');
            font-weight: 400;
            font-style: normal;
            font-display: swap; /* This replaces the &display=swap from Google */
        }

        /* REGULAR WEIGHT (400) ITALIC */
        @font-face {
            font-family: 'Josefin Sans';
            src: url('josefin-sans/JosefinSans-Italic.ttf') format('truetype');
            font-weight: 400;
            font-style: italic;
            font-display: swap; 
        }

        /* BOLD WEIGHT (700) */
        @font-face {
            font-family: 'Josefin Sans';
            src: url('josefin-sans/JosefinSans-Bold.ttf') format('truetype');
            font-weight: 700;
            font-style: normal;
            font-display: swap;
        }

        /* BOLD WEIGHT (700) ITALIC */
        @font-face {
            font-family: 'Josefin Sans';
            src: url('josefin-sans/JosefinSans-BoldItalic.ttf') format('truetype');
            font-weight: 700;
            font-style: italic;
            font-display: swap;
        }

        body {
            background-color: var(--background);
            color: var(--on-surface);
            font-family: 'Josefin Sans', sans-serif;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, h4, h5, .font-headline {
            font-family: 'Josefin Sans', sans-serif;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: color 0.3s ease; /*animation, but it doesnt work rn because nothing else is specified. */
        }

        /* color animation of links on hover*/
        /*
        a:hover {
            color: #f7c663;
        }
        */

        button {
            border: none;
            cursor: pointer;
            font-family: inherit;
        }

        ::selection {
            background-color: var(--primary-container);
            color: var(--on-primary-container);
        }

        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            display: inline-block;
        }

        /* Layout Helpers */
        .container-2xl {
            max-width: 1536px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 2rem;
            padding-right: 2rem;
        }

        .container-xl {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 50;
            background-color: rgba(21, 19, 40, 0.6);
            backdrop-filter: blur(20px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 2rem;
        }

        .kaboo-svg {
            width: 150px; /* Give it a definite width, Adjust this to fit your header */
            height: auto;
            display: block;
            align-items: center;
            fill: #f4f3ff; /* Starting color */
            transition: fill 0.3s ease;
        }

        .kaboo-svg:hover {
            fill: #f7c663; /* Turns to Yellow on hover */
        }

        .nav-links {
            display: none; /*makes the menu invisible on small sizes, defined by @media @media (min-width: 768px) */
            align-items: center;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .nav-links {
                display: flex;
            }
        }

/* This only applies when JavaScript adds the 'active' class to the menu
        - its to define what happens after someone clicks on the nav burger menu */
        .nav-links.active {
            display: flex;           /* Show the menu */
            flex-direction: column;  /* Stack links vertically for mobile */
            position: absolute;      /* Place it over the content */
            top: 70px;               /* Adjust based on your nav height */
            left: 0;
            width: 100%;
            /* If you change left: 0 to left: 10% and width to 80%, the menu will look like
            a floating card in the middle of the screen with gaps on the sides.
            If you set left: 100%, the menu will be completely off-screen to the right
            (this is actually how people start "slide-in" animations!). */
            background: var(--background); /* the colour of opend menu */
            padding: 2rem;
            z-index: 1000;           /* Makes sure the munu is on top of everything, always */
        }

        .nav-links:hover {
            color: #f7c663;
        }

        .nav-link { /*the text menus (ponudba...) */
            position: relative;
            font-size: 0.875rem;
            color: #f4f3ff;
            /*to prevent some movement in case of animation*/
            /* border-bottom: 2px solid transparent; /* The invisible spacer */
            transition: color 0.3s ease, border-color 0.3s ease; /* The smoothing */
            padding-bottom: 0.5rem; /* Space between text and the underline */
            text-decoration: none; /* Removes the default browser underline */
        }

        /* The "Ghost" Underline */
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;          /* Start in the exact horizontal center */
            width: 0;           /* Start with no width */
            height: 4px;        /* The thickness of your underline */
            background-color: var(--primary-container);
            transition: width 0.3s ease, left 0.3s ease; /* Animate width and position */
        }

        /* The Hover Animation */
        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;        /* Grow to full width */
            left: 0;            /* Move the start point back to the left edge */
        }

        .nav-link:hover {
            color: #f7c663;
        }

        .nav-link.active { 
            color: var(--primary-container);
            font-weight: 700;
            /* border-bottom: 2px solid var(--primary-container);
            padding-bottom: 0.25rem; */
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .nav-info {
            font-size: 0.85rem; /* Slightly smaller than links */
            color: var(--on-surface-variant); /* Or a lighter grey */
            opacity: 0.7;
            padding: 0.5rem 1rem;
            font-style: italic;
            
            /* This ensures it aligns with your links if you're using flexbox */
            display: flex;
            align-items: center;
        }

        /* Optional: Add a small separator dot before it on desktop */
        @media (min-width: 768px) {
            .nav-info::before {
                /*content: "•";*/
                margin-right: 1rem;
                opacity: 0.5;
            }
        }

        /*Switching the LANGUAGES*/

        /* 1. Default State: Slovenian is visible, English is hidden */
        .lang-en {
            display: none;
        }

        .lang-sl {
            display: inline; /* Use 'block' for headings/paragraphs if needed */
        }

        /* 2. Switched State: When <body> has 'show-en' class */
        body.show-en .lang-sl {
            display: none;
        }

        body.show-en .lang-en {
            display: inline;
        }

        .lang-toggle {
            background: transparent;
            color: var(--primary-container);
            font-size: 0.875rem;
            font-weight: 700;
            padding: 0.5rem 1rem 0.3rem 1rem; /* Top | Right | Bottom | Left */
            border-radius: var(--radius-full);
            transition: all 0.3s ease;
        }

        .lang-toggle:hover {
            background-color: #f7c663;
            color: #151328 
        }

        /* The burger menu*/

        .mobile-menu-btn {
            background: transparent;
            color: var(--white);
            display: block;
            transition: color 0.3s ease;
        }

        .mobile-menu-btn:hover {
            color: #f7c663; /* Yellow */
        }

        @media (min-width: 768px) {
            .mobile-menu-btn {
                display: none;
            }
        }

        /* Hero Section */
        main {
            padding-top: 0rem;
            padding-bottom: 5rem;
        }

        .hero {
            /* 1. Make it full width */
            width: 100%;
            position: relative;

            /* 1. Add the image */
            background-image: linear-gradient(to top, var(--background) 0%, rgba(16, 14, 51, 0.4) 60%, transparent 100%), /*url('../0_IMAGES/26_apr_Miha_Lari_1.png')*/;
            
            /* 2. Center the image */
            background-position: center;
            
            /* 3. Make it responsive (Magic happens here) */
            background-size: cover;
            
            /* 4. Stop the image from repeating */
            background-repeat: no-repeat;

            /* 5. Optional: Add a minimum height to see more image on mobile */
            min-height: 60vh; 
            display: flex;
            align-items: center;

            /* This ensures your text stands out against the image */
            /* color: white; */

            padding: 10rem 2rem; 
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            align-items: center;
        }

        .hero-content {
            max-width: 56rem;
        }

        @media (min-width: 768px) {
            .hero-grid { grid-template-columns: repeat(12, 1fr); }
            .hero-content { grid-column: span 8; }
            .hero-image-wrapper { grid-column: span 4; 
            /* Prevents the wrapper itself from getting too wide */
                                    max-width: 300px; 
                                    justify-self: end;}
        }

        .hero h1 {
            font-weight: 800;
            font-size: 3rem;
            letter-spacing: -0.025em;
            line-height: 1.1;
            margin-bottom: 2rem;
        }

        @media (min-width: 768px) {
            .hero h1 { font-size: 4.5rem; }
        }

        .text-accent {
            color: var(--primary-container);
        }

        .bold-text{
            font-weight: 700;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--on-surface-variant);
            max-width: 42rem;
            line-height: 1.625;
        }

        @media (min-width: 768px) {
            .hero p { font-size: 1.5rem; }
        }

        .hero-card {
            /*display: none;*/
            aspect-ratio: 3/4;
            border-radius: 0.75rem;
            overflow: hidden;
            background: var(--surface-container);
            box-shadow: 0 25px 50px -12px rgba(3, 3, 22, 0.5);
            position: relative;
            /* LIMIT GROWTH: Stops the image from expanding the hero height infinitely */
            max-height: 60vh; 
            width: 100%;
        }

        .hero-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40%; /* Only covers the bottom portion */
            background: linear-gradient(to top, var(--background) 0%, rgba(16, 14, 51, 0.4) 60%, transparent 100%);
            pointer-events: none; /* Allows clicks to pass through to the image */
            z-index: 1;
        }

        @media (min-width: 768px) {
            .hero-card { display: block; }
        }

        .hero-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(100%);
            transition: filter 0.7s;
        }

        .hero-card:hover img {
            filter: grayscale(0%);
        }

        .hero-card-label {
            position: absolute;
            bottom: 1.5rem;
            left: 1.5rem;
            font-size: 0.6875rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            color: var(--primary);
            text-shadow: 0 5px 5px rgba(3, 3, 22, 1);
            z-index: 2; /* Ensures the text sits on top of the gradient */
        }

        /*Primary button*/
        .btn-primary {
            background-color: var(--primary-container);
            color: var(--on-primary);
            font-weight: 700;
            padding: 1.25rem 2.5rem;
            border-radius: var(--radius-full);
            font-size: 1.125rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s ease;
            position: relative;
            z-index: 20;
            /*box-shadow: 0 10px 15px -3px rgba(247, 198, 99, 0.1);*/
        }

        .btn-primary:hover {
            transform: scale(1.05);
            background-color: #F2A120;
        }

        .btn-primary:active {
            transform: scale(0.95);
        }

        /* Bento Grid */
        .bento-section {
            margin-bottom: 5rem;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .bento-grid { grid-template-columns: repeat(12, 1fr); }
        }

        .card {
            border-radius: 0.75rem;
            padding: 3rem;
            position: relative;
            overflow: hidden;
        }

        .card-large {
            background: var(--surface-container-low);
        }

        @media (min-width: 768px) { .card-large { grid-column: span 7; } }

        .card h2, .card h3 {
            font-weight: 700;
        }

        .card h2 { font-size: 2rem; margin-bottom: 1.5rem; }
        .card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

        .card p {
            color: var(--on-surface-variant);
            line-height: 1.5;
        }

        /*The tag in first box*/
        .method-tag {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 2rem;
            transition: gap 0.3s;
        }

        .card-large:hover .method-tag {
            gap: 1.5rem;
        }

        /*line and text of the tag in the first box*/
        .line {
            height: 1px;
            width: 3rem;
            background: var(--primary-container);
        }

        .tag-text {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--primary-container);
        }

        /*.glow-effect {
            position: absolute;
            right: -5rem;
            bottom: -5rem;
            width: 20rem;
            height: 20rem;
            background: rgba(247, 198, 99, 0.05);
            border-radius: 50%;
            filter: blur(100px);
        }*/

        /*the second card*/
        .card-metric {
            background: #33295B;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        @media (min-width: 768px) { .card-metric { grid-column: span 5; } }

        .card-metric .icon {
            font-size: 2.5rem;
            color: var(--primary-container);
        }

        .metric-value {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 0.5rem;
        }

        .metric-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--on-surface-variant);
        }

        /*3. kartica*/
        .card-quote {
            background: #23074F;
            /*border: 1px solid var(--outline-variant);*/
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        @media (min-width: 768px) { .card-quote { grid-column: span 4; } }

        .card-quote p {
            font-size: 1.125rem;
            font-style: italic;
            color: var(--on-surface-variant);
        }

        /*4. kartica*/
        .card-vision {
            background: var(--surface-container-low);
            /*backdrop-filter: blur(12px);*/
        }

        @media (min-width: 768px) { .card-vision { grid-column: span 8; } }

        .vision-grid {
            display: grid;
            gap: 2rem;
        }

        @media (min-width: 768px) { .vision-grid { grid-template-columns: 1fr 1fr; } }

        .vision-img-container {
            margin-top: 3rem;
            height: 200px;
            border-radius: 0.75rem;
            overflow: hidden;
            filter: grayscale(100%);
            transition: filter 1s;
        }

        .vision-img-container:hover {
            filter: grayscale(0%);
        }

        .vision-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Manifesto */
        .manifesto {
            /*background: var(--surface-container-low);*/
            padding: 5rem 0;
            /*border-top-left-radius: 48px;
            border-top-right-radius: 48px;*/
            text-align: center;
        }

        .manifesto-tag {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.4em;
            color: var(--primary-container);
            display: block;
            margin-bottom: 2rem;
        }

        .manifesto h2 {
            font-family: var(--font-headline);
            font-weight: 800;
            font-size: 2.5rem;
            letter-spacing: -0.05em;
            margin-bottom: 4rem;
            line-height: 1.2;
        }

        @media (min-width: 768px) {
            .manifesto h2 { font-size: 3.75rem; }
        }

        .italic-muted {
            font-style: italic;
            color: var(--primary-container);
        }

        .underline-accent {
            text-decoration: underline;
            text-underline-offset: 8px;
            text-decoration-thickness: 1px;
        }

        .btn-group {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 1.5rem;
        }

        @media (min-width: 768px) {
            .btn-group { flex-direction: row; }
        }

        .btn {
            padding: 1.25rem 2.5rem;
            border-radius: 9999px;
            font-family: var(--font-headline);
            font-weight: 700;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
        }

        .btn-outline {
            background: transparent;
            border: 1px solid var(--outline-variant);
            color: var(--on-surface);
        }

        .btn-outline:hover { background: var(--surface-bright); }

        /*MYSTORY*/
        .MYSTORY-BENTO-section{
            margin-top: 5rem;
            margin-bottom: 5rem;
        }

        /* Footer */
        footer {
            background-color: #030316;
            padding: 5rem 3rem;
            display: flex;
            flex-direction: column;
            gap: 3rem;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            box-shadow: 0 -25px 50px -12px rgba(3, 3, 22, 0.5);
        }

        @media (min-width: 768px) {
            footer {
                flex-direction: row;
                justify-content: space-between;
                align-items: flex-start;
            }
        }

        .footer-brand {
            max-width: 20rem;
        }

        .footer-logo {
            width: 100px; /* Give it a definite width, Adjust this to fit your header */
            height: auto;
            display: block;
            align-items: center;
            padding-bottom: 5%;
            fill: #E3DFFF; /* Starting color */
            transition: fill 0.3s ease;
        }

        .footer-logo:hover {
            fill: #f7c663; /* Turns to Yellow on hover */
        }

        .footer-description {
            font-size: 0.875rem;
            color: #F4F3FF;
            line-height: 1.6;
            margin-bottom: 2rem;
        }

        .copyright {
            color: var(--primary-container);
            font-size: 0.875rem;
            letter-spacing: 0.025em;
        }

        .footer-nav {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
            width: 100%;
        }

        @media (min-width: 768px) {
            .footer-nav {
                grid-template-columns: repeat(4, 1fr);
                width: auto;
            }
        }

        .footer-group {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .footer-label {
            color: var(--white);
            font-weight: 700;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 0.5rem;
        }

        .footer-link {
            font-size: 0.875rem;
            color: rgba(244, 243, 255, 0.5);
        }

        .footer-link:hover {
            color: var(--white);
        }

        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
        }

        .hidden { display: none; }
        @media (min-width: 768px) { .md\:block { display: block; } }