/* Owino Schools - Custom Styles */

/* Remove spinner arrows from number inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* CSS Variables */
:root {
    --primary-color: #1b8057;
    --dark-green: #1e6046;
    --secondary-color: #f8c519;
    --gray: #626571;
    --light-gray: #d7d7d7;
    --medium-gray: #b0b2b8;
    --dark-gray: #898989;
    --dark-blue: #161925;
    --red: #e00000;
    --white: #ffffff;
    --off-white: #f7f7f7;
    --light-green: #f3f9f5;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    line-height: 1.6;
}

/* Container Width Constraints */
.container {
    max-width: 1216px;
    padding-left: 32px;
    padding-right: 32px;
}

@media (max-width: 1280px) {
    .container {
        max-width: calc(100vw - 64px);
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-blue);
}

h1 {
    font-size: 2rem !important;
}

h2 {
    font-size: 1.5rem !important;
}

h3 {
    font-size: 1.8rem !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-outline-primary, .btn-outline-secondary, .btn-lg, .btn-sm {
    font-size: 1rem !important;
}

/* Carousel Navigation Dots */
.carousel-indicators {
    position: static;
    margin-top: 2rem;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: none;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicators [data-bs-target]:hover {
    background-color: var(--primary-color);
    opacity: 0.7;
}

/* Flyout Menu Styles */
.flyout-container {
    position: relative;
    z-index: 1000000 !important;
}

.flyout-trigger {
    cursor: pointer;
    transition: color 0.3s ease;
}

.flyout-trigger:hover {
    color: var(--primary-color) !important;
}

.flyout-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 0.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999999 !important;
    margin-top: 0.5rem;
}

.flyout-container:hover .flyout-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.flyout-header {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
    background: var(--off-white);
    border-radius: 0.5rem 0.5rem 0 0;
}

.flyout-body {
    padding: 0.5rem 0;
}

.flyout-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--dark-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.flyout-item:hover {
    background-color: var(--light-green);
    color: var(--primary-color);
    text-decoration: none;
}

.flyout-item.text-danger:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

.flyout-divider {
    height: 1px;
    background-color: var(--light-gray);
    margin: 0.5rem 0;
}

/* Flyout arrow */
.flyout-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.flyout-menu::after {
    content: '';
    position: absolute;
    top: -9px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--light-gray);
}

/* Mobile Flyout Menu */
.mobile-flyout-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--primary-color);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 999999 !important;
    transition: right 0.3s ease;
    overflow-y: auto;
    pointer-events: auto;
}

.mobile-flyout-menu.show {
    right: 0;
}

.mobile-flyout-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: var(--dark-green);
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-flyout-body {
    padding: 1rem 0;
    position: relative;
    z-index: 1;
}

.mobile-nav-section {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mobile-nav-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding: 0 1rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.mobile-nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.mobile-nav-item.text-danger:hover {
    background-color: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.mobile-nav-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--secondary-color);
}

/* Mobile flyout overlay */
.mobile-flyout-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.mobile-flyout-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Ensure desktop flyout menu is always on top */
.flyout-menu {
    z-index: 999999 !important;
}

.flyout-container {
    z-index: 1000000 !important;
}

/* Dropdown styles removed - now using individual links */

/* Mobile Dropdown Styles */
.mobile-nav-dropdown {
    position: relative;
}

.mobile-nav-dropdown-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
}

.mobile-nav-dropdown-toggle:hover {
    background-color: #f8f9fa;
    color: #333;
}

.mobile-nav-dropdown-menu {
    display: none;
    background: #f8f9fa;
    border-left: 3px solid var(--primary-color);
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-menu {
    display: block;
}

.mobile-nav-dropdown.active .mobile-nav-dropdown-toggle .bi-chevron-down {
    transform: rotate(180deg);
}

.mobile-nav-dropdown-item {
    display: block;
    padding: 12px 20px 12px 40px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
}

.mobile-nav-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-nav-dropdown-item:hover {
    background-color: #e9ecef;
    color: #333;
}

/* Ensure mobile menu is always on top */
@media (max-width: 991.98px) {
    .mobile-flyout-menu {
        z-index: 999999 !important;
    }
    
    .mobile-flyout-overlay {
        z-index: 999998 !important;
    }
    
    /* Prevent other elements from interfering */
    .navbar,
    .container,
    .row,
    .col,
    main,
    section {
        position: relative;
        z-index: auto;
    }
    
    /* Force mobile menu to be above everything */
    .mobile-flyout-menu.show {
        z-index: 999999 !important;
    }
}

/* Category cards */
.category-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Categories page specific styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a:hover {
    color: white !important;
}

.category-card .card-img-top {
    border-radius: 0.5rem 0.5rem 0 0;
}

.category-card .badge {
    font-size: 0.75rem;
}

/* Pagination styles */
.pagination .page-link {
    color: var(--primary-color);
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: var(--dark-green);
    background-color: var(--light-green);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Sort dropdown */
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(27, 128, 87, 0.25);
}

/* Product cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.product-card .card-img-top {
    border-radius: 0.5rem 0.5rem 0 0;
}

.product-card .input-group-sm .form-control {
    font-size: 0.875rem;
}

.product-card .input-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Add to Cart button styling */
.product-card .btn-primary {
    background-color: #f3f9f5;
    border-color: #f3f9f5;
    color: var(--primary-color);
    font-weight: 400;
    border-radius: 5rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.product-card .btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Products page filter styling */
#search {
    padding: 0.5rem 1rem !important;
}

#clearFilters {
    padding: 0.5rem 1rem !important;
}

/* Quantity selector button styling */
.input-group-sm .btn-outline-secondary {
    border-color: #dee2e6 !important;
    color: #6c757d !important;
}

.input-group-sm .btn-outline-secondary:hover {
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
    color: #495057 !important;
}

/* Quantity input field styling */
.input-group-sm .form-control {
    text-align: center !important;
    border-color: #dee2e6 !important;
    border-width: 1px !important;
}

/* Cart page styling */
.cart-item {
    transition: background-color 0.2s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item:last-child {
    border-bottom: none !important;
}

#emptyCart {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cartContent {
    display: block !important;
}

@media (min-width: 992px) {
    #cartContent {
        display: flex !important;
    }
    
    #cartContent .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    #cartContent .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Load more button */
#loadMoreBtn {
    transition: all 0.3s ease;
    font-size: 1rem !important;
}

#loadMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 128, 87, 0.3);
}

/* 4 categories per row layout */
@media (min-width: 992px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.category-card .card-title {
    font-size: 1rem !important;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-green);
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 128, 87, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-blue);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e6b017;
    border-color: #e6b017;
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 197, 25, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 128, 87, 0.3);
}

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-weight: 500;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 197, 25, 0.3);
}

/* Cards */
.card {
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

/* Category Cards */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-icon {
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    padding: 2px 0;
    padding-bottom: calc(2px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav .mobile-nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-bottom-nav .mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 36px;
    width: 100%;
}

.mobile-bottom-nav .mobile-nav-link i {
    font-size: 16px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .mobile-nav-link span {
    font-size: 9px;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .mobile-nav-item.active .mobile-nav-link,
.mobile-bottom-nav .mobile-nav-link:hover {
    color: #1b8057;
    background-color: #f3f9f5;
}

.mobile-bottom-nav .mobile-nav-item.active .mobile-nav-link i,
.mobile-bottom-nav .mobile-nav-link:hover i {
    transform: scale(1.1);
}

/* Cart Badge */
.mobile-bottom-nav .cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc3545;
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 8px;
    min-width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Active State Animation */
.mobile-bottom-nav .mobile-nav-item.active .mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: #1b8057;
    border-radius: 0 0 2px 2px;
}

/* Responsive adjustments */
@media (max-width: 375px) {
    .mobile-bottom-nav .mobile-nav-link {
        padding: 3px 6px;
        min-height: 36px;
    }
    
    .mobile-bottom-nav .mobile-nav-link i {
        font-size: 14px;
    }
    
    .mobile-bottom-nav .mobile-nav-link span {
        font-size: 8px;
    }
}

/* Ensure content doesn't get hidden behind bottom nav */
body {
    padding-bottom: 45px;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    z-index: 1000;
    position: relative;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-blue) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Dropdown menus z-index */
.dropdown-menu {
    z-index: 1001 !important;
}

.dropdown {
    z-index: 1001;
}

/* Ensure content cards don't interfere with dropdowns */
.card {
    position: relative;
    z-index: auto;
}

/* Cart Badge */
#cart-count {
    font-size: 0.75rem;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Step Numbers */
.step-number {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #2c3e50 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Forms - Standard Form Field Styling */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--light-gray);
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease;
}

.input-group-text {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
    border-width: 1px !important;
}

.btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
    border-width: 1px !important;
}

.form-check-input {
    border-width: 1px !important;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(27, 128, 87, 0.25);
}

/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
}

/* Additional responsive adjustments for new container constraints */
@media (max-width: 1280px) {
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e6b017 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-green) 100%);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.shadow-primary {
    box-shadow: 0 4px 20px rgba(27, 128, 87, 0.15);
}

.shadow-secondary {
    box-shadow: 0 4px 20px rgba(248, 197, 25, 0.15);
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
