@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --primary: #dc3545;
    --secondary: #e74c3c;
    --dark: #c92a2a;
    --light: #f7f9fc;
    --text: #4a4a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header & Nav */
.top-bar {
    background: var(--dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.social-link:hover {
    color: var(--primary);
}

.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin: 0;
}

.logo-text .tagline {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid #eee;
    width: 300px;
}

.search-input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
    color: var(--text);
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    padding: 0;
}

.search-btn:hover {
    color: var(--primary);
}

.main-nav {
    background: white;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-item.active>a {
    color: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text);
    white-space: nowrap;
    justify-content: flex-start;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary);
    padding-left: 1.8rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.hero-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    background: #f8fafc;
    line-height: 0;
    aspect-ratio: 1696 / 608;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Ensures the image fills the 1696:608 frame perfectly */
}

@media (max-width: 768px) {
    .hero-section {
        aspect-ratio: 16 / 9; /* More standard mobile ratio to prevent it being too thin */
        margin-bottom: 1.5rem;
    }
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1.5rem;
    transition: transform 0.3s;
}

.hero-cta:hover {
    transform: translateY(-3px);
}

/* Grid Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Slightly smaller min-width */
    gap: 1.5rem;
    /* Reduce gap slightly */
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    padding: 0;
}

/* Specific fix for Product Cards to prevent cropping */
.product-card-compact .blog-image img,
.product-grid .blog-image img {
    object-fit: contain;
    /* Show full image */
    background: #f8f9fa;
    /* Light background for transparent images */
    padding: 10px;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.blog-title a {
    text-decoration: none;
    color: var(--dark);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Modern Card Styles */
.modern-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(220, 53, 69, 0.15);
}

.card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 1rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.modern-card:hover .card-title {
    color: #dc3545;
}

.card-separator {
    width: 40px;
    height: 3px;
    background: #dc3545;
    border-radius: 2px;
    margin-bottom: 1rem;
    transition: width 0.3s ease;
}

.modern-card:hover .card-separator {
    width: 60px;
}

.card-date {
    font-size: 0.9rem;
    color: #888;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-date i {
    color: #dc3545;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #dc3545 0%, #c92a2a 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

footer {
    background: transparent;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section li:last-child {
    border-bottom: none;
}

.footer-section a,
.site-footer a {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover,
.site-footer a:hover {
    color: #ffff00 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    text-align: center;
    padding: 0 1rem;
}

.footer-bottom-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0.5rem 0;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7) !important;
    font-style: italic;
}

.copyright {
    text-align: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Mobile Footer Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-section li {
        margin-bottom: 0.6rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer-bottom-content p {
        font-size: 0.85rem;
    }
}

/* Mobile Responsive */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 1.5rem;
    }

    .search-box {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .header-main {
        flex-wrap: wrap;
        padding: 0.5rem 0;
        justify-content: space-between;
        /* Ensure space between logo and toggle */
        align-items: center;
        /* Vertically align */
    }

    .logo {
        order: 1;
        flex-grow: 0;
        /* Stop logo from taking all space */
        max-width: 70%;
        /* Limit width */
    }

    .logo-text h1 {
        font-size: 1.4rem;
        /* Smaller size for mobile */
    }

    .logo-text .tagline {
        display: none;
        /* Hide tagline on invalid to save space */
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
        /* Push to right */
    }

    .header-actions {
        display: contents;
    }

    .search-box {
        order: 3;
        width: 100%;
        margin-top: 0.8rem;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .main-nav {
        display: none;
        /* Hide container by default on mobile */
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #f0f0f0;
        z-index: 999;
    }

    .nav-menu {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        display: block;
        /* Override flex */
    }

    .nav-item {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1rem 0;
        justify-content: space-between;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        padding: 0;
        display: none;
        background: #ffffff;
        /* Pure white */
        width: 100%;
        min-width: auto;
        border-left: 3px solid var(--primary);
        /* Visual indicator */
        margin-top: 5px;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block !important;
        height: auto !important;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #f1f1f1;
        display: block;
    }

    .dropdown-menu a {
        color: #333333 !important;
        /* Force dark text */
        padding: 10px 15px 10px 25px !important;
        display: block;
        font-weight: 500;
    }

    /* REMOVED :hover rule that was hiding menu */

    .dropdown-arrow {
        transform: rotate(0);
    }

    .nav-item.dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

.cta-section {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
        height: 250px;
        position: relative;
        /* Reset position for stacking */
    }
}

/* Video Reels Styling */
.video-reels-header {
    padding: 3rem 0 2rem;
    text-align: center;
    background: #fff;
    margin-bottom: 2rem;
}

.video-reels-header h1 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
}

.reels-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 2rem;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.grid-reel-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #f0f0f0;
}

.grid-reel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.reel-card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reel-thumbnail {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    background: #000;
}

.reel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.grid-reel-card:hover .reel-thumbnail img {
    transform: scale(1.05);
    opacity: 0.8;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.grid-reel-card:hover .reel-overlay {
    opacity: 1;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(2px);
}

.reel-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.reel-stats-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.reel-views {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    backdrop-filter: blur(2px);
}

.reel-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.reel-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reel-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.creator-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-text {
    display: flex;
    flex-direction: column;
}

.creator-mini-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.reel-date {
    font-size: 0.75rem;
    color: #888;
}

.reel-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f8f9fa;
}

.action-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
}

/* Modal for Video Player */
.video-modal-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-grid.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    width: 90%;
    max-width: 400px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/16;
    z-index: 2001;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-video-wrapper {
    width: 100%;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2002;
    transition: background 0.3s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .reels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .video-reels-header h1 {
        font-size: 2rem;
    }

    .reel-thumbnail {
        aspect-ratio: 9/16;
    }
}

/* Video Detail Page Styling */
.channel-info {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.channel-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.channel-details h4 {
    margin: 0;
    color: var(--dark);
}

.channel-subscribers {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.subscribe-btn {
    margin-left: auto;
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.subscribe-btn:hover {
    background: #c0392b;
}

.video-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-label {
    font-weight: bold;
    color: var(--dark);
    margin-right: 0.5rem;
}

.video-ingredients {
    margin-top: 2rem;
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 10px;
}

.ingredients-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.ingredients-list li {
    margin-bottom: 0.5rem;
}

.video-tags {
    margin-top: 2rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: #f1f1f1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text);
    transition: background 0.3s;
}

.tag:hover {
    background: #e0e0e0;
}


/* ===========================
   Ulasan / Reviews Styling
   =========================== */
.hero-small {
    min-height: 40vh;
    height: auto;
    padding-top: 6rem;
    padding-bottom: 2rem;
}

.reels-feed-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
    z-index: 10;
}

.reel-post {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #f1f1f1;
}

.reel-post:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Slight lift on desktop */
}

/* Post Header */
.reel-header {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f9f9f9;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.user-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.live-badge {
    font-size: 0.7rem;
    color: #ff4757;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.pulsing-dot {
    width: 6px;
    height: 6px;
    background-color: #ff4757;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 71, 87, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

.time-ago {
    font-size: 0.8rem;
    color: #999;
}

/* Post Content */
.reel-content {
    padding: 1rem 1.25rem;
}

.review-rating {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.review-text {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Post Actions */
.reel-actions {
    padding: 0.8rem 1.25rem;
    display: flex;
    justify-content: space-between;
    /* Spread buttons */
    border-top: 1px solid #f5f5f5;
}

.action-btn {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
}

.action-btn:hover {
    background: #f8f8f8;
    color: var(--primary);
}

.btn-like.liked {
    color: #ff4757;
}

/* Form Styles for Reviews */
.review-form-container {
    display: none;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 1.5rem auto 0;
    max-width: 500px;
    width: 95%;
    border: 1px solid #eee;
    text-align: left;
    position: relative;
    z-index: 20;
}

.review-form-container h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.btn-submit {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #3cbdb4;
}

.btn-cancel {
    background: #f1f1f1;
    color: #666;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-cancel:hover {
    background: #e0e0e0;
}

@media (max-width: 480px) {
    .reel-post {
        border-radius: 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        /* Simpler look on mobile */
        margin-bottom: 1rem;
    }

    .reels-feed-container {
        padding: 0;
        /* Flush to edges on small mobile */
    }
}

/* ===========================
   Product Detail Page Styling
   =========================== */
.main-content {
    min-height: calc(100vh - 400px);
    padding: 0 0 3rem 0;
    background: var(--light);
}

.product-detail-page {
    width: 100%;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    min-height: 500px;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    padding: 2rem;
    max-height: 500px;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.product-detail-info h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-description-large {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid var(--secondary);
    border-radius: 6px;
}

.product-specifications,
.product-features {
    margin-bottom: 2.5rem;
}

.product-specifications h3,
.product-features h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.product-specifications h3::before,
.product-features h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.product-specifications ul,
.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specifications li,
.product-features li {
    padding: 0.8rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid #f0f0f0;
}

.product-specifications li:last-child,
.product-features li:last-child {
    border-bottom: none;
}

.product-specifications li::before,
.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.cta-button,
.btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button {
    background: var(--secondary);
    color: white;
    flex: 1;
    min-width: 200px;
}

.cta-button:hover {
    background: #3cbdb4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #f8f9fa;
    border-color: var(--primary);
    color: var(--primary);
}

/* Related Products Section */
.related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e0e0e0;
}

.related-products h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 2rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    padding: 1rem;
    max-height: 250px;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info .product-category {
    margin-bottom: 0.8rem;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0.5rem 0 1rem;
    line-height: 1.4;
    flex: 1;
}

.btn-detail {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-detail:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .product-detail-info h1 {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 2rem 0;
    }

    .product-detail {
        padding: 1.5rem;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .product-detail-image {
        min-height: 350px;
    }

    .product-detail-image img {
        padding: 1rem;
    }

    .product-detail-info h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .product-description-large {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .product-specifications h3,
    .product-features h3 {
        font-size: 1.1rem;
    }

    .product-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-button,
    .btn-secondary {
        width: 100%;
        min-width: unset;
    }

    .related-products h2 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .product-detail {
        padding: 1rem;
        gap: 1.5rem;
    }

    .product-detail-image {
        min-height: 300px;
    }

    .product-detail-info h1 {
        font-size: 1.3rem;
    }

    .product-category {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .product-description-large {
        font-size: 0.95rem;
    }

    .product-specifications li,
    .product-features li {
        padding: 0.6rem 0;
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }

    .product-actions {
        gap: 0.6rem;
    }

    .cta-button,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .product-image {
        height: 200px;
    }

    .product-info h3 {
        font-size: 1rem;
    }

    .btn-detail {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Unused Banners Section Removed to clean up duplicate code */

/* ==========================================================================
   PORTAL STYLES (Admin & Sales)
   ========================================================================== */

.portal-body {
    background: #f5f7fa !important;
    display: flex !important;
    min-height: 100vh !important;
}

/* Sidebar Styling */
.portal-body .sidebar {
    width: 250px;
    background: linear-gradient(180deg, #dc3545 0%, #c92a2a 100%) !important;
    color: white;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sidebar-header {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.1) !important;
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left-color: #ff6b6b;
}

.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-left-color: #ff6b6b;
    font-weight: 600;
}

.sidebar-menu a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* Main Content Area */
.portal-body .main-content {
    margin-left: 250px;
    flex: 1;
    padding: 2rem;
    width: calc(100% - 250px);
}

/* Top Header (Portal) */
.top-header {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c92a2a 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

/* Stats and Cards */
.stats-grid,
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card,
.access-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.stat-icon,
.access-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #dc3545;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

/* Banner Management Styles */
.banner-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.active {
    background: #def7ec;
    color: #03543f;
    border: 1px solid #84e1bc;
}

.status-badge.inactive {
    background: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

.btn-success {
    background-color: #28a745 !important;
    color: white !important;
}

.btn-danger {
    background-color: #dc3545 !important;
    color: white !important;
}
.banner-management-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-manage-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid #edf2f7;
}

.hero-preview-box {
    position: relative;
    width: 100%;
    height: auto; /* Allow height to adjust based on frame */
    background: #f1f5f9;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-preview-box img {
    width: 100%;
    height: auto;
    object-fit: contain; /* True Full-Frame in preview too */
}

.hero-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.hero-preview-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.hero-preview-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-form-content {
    padding: 2.5rem;
}

.upload-form {
    display: flex;
    flex-direction: column;
}

.upload-form h2 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: #1a202c;
    font-weight: 700;
}

.upload-hint {
    background: #fff5f5;
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #c53030;
    border: 1px solid #feb2b2;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.upload-hint i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.btn-upload-large {
    width: 100%;
    padding: 1rem;
    height: auto;
    font-size: 1.1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
}

.btn-upload-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.badge-active {
    background: #def7ec;
    color: #03543f;
}

.badge-inactive {
    background: #fde8e8;
    color: #9b1c1c;
}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }

    .sidebar-header,
    .sidebar-menu a span {
        display: none;
    }

    .main-content {
        margin-left: 70px;
        width: calc(100% - 70px);
    }

    .hero-preview-box {
        height: 200px;
    }

    .hero-preview-overlay h3 {
        font-size: 1.2rem;
    }
}

/* --- Product UI Refinements (Corporate Style) --- */

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.modern-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: #dc3545;
}

.product-card-top {
    position: relative;
    background: #f8fafc;
    padding: 1.5rem;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-image-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border-radius: 4px;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    transition: transform 0.5s ease;
}

.modern-product-card:hover .product-image-wrap img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid #f1f5f9;
}

.product-card-body h3 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.product-card-body p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-primary-outline {
    display: inline-block;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.2s;
}

.modern-product-card:hover .btn-primary-outline {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Product Detail Adjustments */
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(300px, 450px) 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 4rem;
}

@media (max-width: 991px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.product-detail-image {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.product-detail-info h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.product-detail-info .category-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.product-description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
}

/* Fix for textual hero sections */
.hero-small {
    aspect-ratio: auto;
    min-height: 200px;
    padding: 4rem 1rem;
    line-height: 1.6;
    text-align: center;
}

.hero-small .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-small .hero-title {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-small .hero-subtitle {
    margin-bottom: 1rem;
    color: #666;
}