﻿/* Jom! Design System */
:root {
    --primary: #EB003B;
    --primary-rgb: 235, 0, 59;
    --primary-dark: #c40030;
    --secondary: #6BA541;
    /* Green from brand analysis */
    --dark: #334049;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6c757d;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --spacer: 1rem;
    --radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.1);

    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 70px;
    /* Space for fixed navbar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    margin-bottom: var(--spacer);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacer);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--dark);
}

.bg-white {
    background-color: var(--white);
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 0, 59, 0.3);
}

.btn-secondary {
    background-color: var(--dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #222;
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    margin: -5px 0;
    /* Slight negative margin to compensate for whitespace in image if needed, or just better alignment */
    object-fit: contain;
}

/* Tech Stack Badges */
.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.badge-tech {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.tech-card {
    background: var(--dark);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.tech-card h3 {
    color: var(--white);
}

.tech-card p {
    color: rgba(255, 255, 255, 0.8);
}

.tech-card .tech-features li {
    margin-bottom: 0.5rem;
}

.tech-card .tech-features li i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}


.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 90vh;
    /* Almost full screen */
    min-height: 600px;
    background: linear-gradient(135deg, rgba(235, 0, 59, 0.6), rgba(51, 64, 73, 0.6)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: left;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Allow full width of container */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-highlight {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1em;
    /* Slight increase */
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-purpose-glow {
    color: var(--white);
    font-style: italic;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 5px rgba(255, 255, 255, 0.5);
    position: relative;
}

/* Optional underline for purpose if glow isn't enough */
.hero-purpose-glow::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
    border-radius: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Section General */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid (What is Jom) */
.bg-gradient-light {
    background: linear-gradient(180deg, #ffffff 0%, #f1f3f5 100%);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    /* Essential for zoom effect */
    text-align: left;
    /* Better for cards with images */
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex: 1 1 280px;
    max-width: 380px;
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover .feature-img-wrapper img {
    transform: scale(1.1);
}

.feature-content {
    padding: 2rem;
    position: relative;
    background: white;
    z-index: 2;
}

.feature-content h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Property Inventory */
.property-filters {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
    justify-content: center;
}

.form-select,
.form-control {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 300px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.property-img {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-details {
    padding: 1.5rem;
}

.property-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.team-card {
    padding: 1rem;
}

.team-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 4px solid var(--light);
    box-shadow: var(--shadow);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* JomSchool */
.benefit-list {
    margin: 2rem 0;
}

.benefit-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.career-path {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.recruitment-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
}

/* Partners */


/* Footer */
.site-footer {
    background: var(--dark);
    color: #adb5bd;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 1.5rem;
    width: 120px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Advisors Grid (Our Team) */
/* MOVED OUTSIDE MEDIA QUERY TO FIX DESKTOP LAYOUT */
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advisor-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
    text-decoration: none;
    max-width: 350px;
    /* Prevent card from getting too wide */
    margin: 0 auto;
    /* Center card in grid cell */
    width: 100%;
    /* Ensure it fills available space up to max-width */
}

.advisor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.advisor-img-wrapper {
    height: 220px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.advisor-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.advisor-card:hover .advisor-img-wrapper img {
    transform: scale(1.1);
}

.advisor-info {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.advisor-info h3 {
    color: var(--dark);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.advisor-info p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* JomSchool Design Update */
.section-jomschool {
    position: relative;
    background: linear-gradient(135deg, rgba(8, 20, 32, 0.95), rgba(15, 30, 48, 0.92));
    /* Fallback pattern if image is missing */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    overflow: hidden;
}




.jomschool-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.jomschool-tagline {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    font-size: 1.25rem;
    font-style: italic;
    opacity: 0.9;
    margin: 2rem 0;
}

.jomschool-pillar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.jomschool-pillar:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: var(--primary);
}

.jomschool-pillar i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
    min-width: 30px;
    text-align: center;
}

.jomschool-form {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../assets/images/jomschool-application-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: var(--dark);
}

/* Team Section Subtitles */
.team-section-header {
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
    color: var(--dark);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.team-section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Nosotros Section (Restored) */
#nosotros {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.nosotros-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
}

.nosotros-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.nosotros-subtitle {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.diff-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diff-item {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.diff-item::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.belief-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: background 0.3s ease;
}

.belief-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.belief-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 1.25rem;
    margin-top: 0.25rem;
    min-width: 40px;
    text-align: center;
}

.belief-item h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.belief-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.closing-statement {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    font-style: italic;
    color: white;
    margin-top: 4rem;
    opacity: 0.9;
}

/* --- ALIANZAS SECTION --- */

.alliance-card {

    background: #fff;

    border-radius: 12px;

    padding: 2.5rem;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    border: 1px solid rgba(0, 0, 0, 0.03);

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    display: flex;

    flex-direction: column;

    height: 100%;

}



.alliance-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);

}



.alliance-icon {

    width: 60px;

    height: 60px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.5rem;

    margin-bottom: 1.5rem;

}



.icon-bg-primary {

    background-color: #e6f0ff;

    color: var(--primary);

}



.icon-bg-secondary {

    background-color: #f3f4f6;

    color: #4b5563;

}



.alliance-title {

    font-size: 1.35rem;

    font-weight: 700;

    margin-bottom: 0.75rem;

    color: #1a1a1a;

}



.alliance-desc {

    color: #666;

    margin-bottom: 2rem;

    line-height: 1.6;

    font-size: 0.95rem;

}



.alliance-links {

    margin-top: auto;

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.alliance-link-item {

    display: flex;

    align-items: center;

    padding: 0.75rem 1rem;

    border-radius: 8px;

    background: #f8f9fa;

    text-decoration: none;

    color: inherit;

    transition: all 0.2s ease;

    border: 1px solid transparent;

}



.alliance-link-item:hover {

    background: #fff;

    border-color: var(--primary);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);

    text-decoration: none;

    color: inherit;

}



.link-icon {

    width: 36px;

    height: 36px;

    background: #fff;

    border-radius: 8px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    margin-right: 1rem;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

    font-size: 1rem;

}



.link-info {

    display: flex;

    flex-direction: column;

}



.link-info strong {

    font-size: 0.95rem;

    font-weight: 600;

    color: #333;

    display: block;

    line-height: 1.2;

}



.link-info span {

    font-size: 0.8rem;

    color: #888;

}



/* --- LOGO FIX --- */

/* Forcing logo height increase as requested */

html body .navbar .logo img {

    height: 85px !important;

    max-height: 85px !important;

    margin-top: -10px;

    /* Adjust alignment if it gets too big */

}



/* Ensure navbar accommodates larger logo */

html body .navbar {

    min-height: 100px;

    padding: 1rem 0;

}



@media (max-width: 768px) {

    .alliance-card {

        margin-bottom: 1.5rem;

    }



    .col-lg-6 {

        flex: 0 0 100% !important;

        max-width: 100% !important;

    }

}


/* Mobile Optimization for JomSchool */
@media (max-width: 768px) {
    .section-jomschool {
        padding: 2rem 0 !important;
    }

    .jomschool-form {
        padding: 1rem !important;
        margin-top: 1.5rem;
    }

    .jomschool-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .jomschool-tagline {
        margin: 1.5rem 0;
        font-size: 1.1rem;
    }
}

/* --- INVENTORY IFRAME STYLES --- */
.inventory-card-wrapper {
    position: relative;
    width: 100%;
    height: 90vh;
    /* Increased height for better visibility */
    min-height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.inventory-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.inventory-overlay.active {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.overlay-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.inventory-overlay:hover .overlay-content {
    transform: translateY(-5px);
}

.overlay-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.overlay-content h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.overlay-content p {
    color: #666;
    margin-bottom: 0;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Mobile adjustments for inventory */
@media (max-width: 768px) {
    .inventory-card-wrapper {
        height: 80vh;
        /* Taller on mobile is okay since it's the main focus when active */
        border-radius: 8px;
        /* Slightly smaller radius on small screens */
    }
}