/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--text-light);
    border: none;
    background-color: var(--accent-text);
}

.btn.btn-primary:hover {
    background: var(--heading-text);
    color: var(--text-light);
}

.btn.btn-light {
    color: var(--accent-text);
    border: none;
    background-color: var(--text-light);
}

.btn.btn-light:hover {
    color: var(--text-light);
    background: var(--accent-text);
}


/*** Topbar Start ***/
.topbar {
    font-family: "Nothing You Could Do", cursive;
}

.topbar .d-flex {
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar .d-inline-flex {
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.topbar a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.topbar a i {
    margin-right: 0.5rem;
    vertical-align: middle;
}

.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--accent-text);
}

.topbar .dropdown .dropdown-menu a:hover {
    background: var(--accent-text);
    color: var(--text-light);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 11px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

/*** Topbar End ***/



/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Audiowide', cursive;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-white);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

/* Navbar container height */
.navbar {
    min-height: 5rem;
}

.navbar-brand {
    height: 5rem;
    display: flex;
    align-items: center;
}

.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
    padding: 20px 0;
    color: var(--bs-dark);
}

.sticky-top.navbar {
    min-height: 5rem;
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--bs-white);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active  {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
    border: 1px solid var(--accent-text);
    color: var(--accent-text);
}

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--heading-text);
}

.navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--heading-text);
}

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        width: 2px;
        height: 12px;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
        height: 700px;
}

/* Mobile-specific height adjustments to prevent grey slate */
@media (max-width: 991px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .header-carousel .owl-nav .owl-prev {
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }


    .header-carousel .owl-nav .owl-next {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
    
    /* Mobile video centering and grey slate prevention */
    .header-carousel .header-carousel-item video {
        /* Ensure video fills entire container on mobile */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        /* Prevent any gaps or grey borders */
        min-width: 100% !important;
        min-height: 100% !important;
        max-width: none !important;
        max-height: none !important;
    }
    
    /* Mobile carousel item adjustments */
    .header-carousel .header-carousel-item {
        position: relative !important;
        overflow: hidden;
        /* Ensure proper mobile container sizing */
        display: block !important;
    }
}

@media (max-width: 575px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        height: 300px;
    }
}

/* Macrodose Photography Credit - Hero Section */
.macrodose-credit {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    opacity: 0.85;
}

.macrodose-credit a {
    display: block;
}

.macrodose-credit img {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero Section Navigation - Hidden for Development */
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    display: none !important; /* Hide arrow buttons in hero section */
}

/* Alternative: Move navigation to top of page for development */
.hero-nav-controls {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
}

.hero-nav-controls button {
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px 0;
    border: none;
    border-radius: 50%;
    background: var(--accent-text);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.hero-nav-controls button:hover {
    background: var(--heading-text);
    transform: scale(1.1);
}

/* Font Testing Interface */
.font-testing-controls {
    position: fixed;
    top: 200px;
    right: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    color: white;
    min-width: 280px;
    max-height: 80vh;
    overflow: hidden;
    transition: all 0.3s ease;
}

.font-testing-controls.collapsed {
    max-height: 50px;
}

.font-testing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.font-testing-controls.collapsed .font-testing-header {
    border-bottom: none;
}

.font-testing-controls h5 {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

.toggle-btn {
    background: transparent;
    border: 1px solid var(--accent-text);
    color: var(--text-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    font-size: 12px;
}

.toggle-btn:hover {
    background: var(--accent-text);
    color: var(--text-light);
}

.font-testing-content {
    padding: 15px;
    max-height: calc(80vh - 60px);
    overflow-y: auto;
    transition: all 0.3s ease;
}

.font-testing-controls.collapsed .font-testing-content {
    max-height: 0;
    padding: 0 15px;
    overflow: hidden;
}

.font-testing-controls h6 {
    margin: 15px 0 10px 0;
    color: var(--text-light);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
}

.font-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.font-btn {
    padding: 8px 12px;
    border: 1px solid var(--accent-text);
    background: transparent;
    color: var(--text-light);
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
    text-align: left;
}

.font-btn:hover {
    background: var(--accent-text);
    color: var(--text-light);
}

.font-btn.active {
    background: var(--accent-text);
    color: var(--text-light);
}

/* Adjustment Controls */
.adjustment-controls {
    margin-top: 15px;
}

.control-group {
    margin-bottom: 12px;
}

.control-group label {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 500;
}

.control-group input[type="range"] {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-text);
    cursor: pointer;
    border: 2px solid white;
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-text);
    cursor: pointer;
    border: 2px solid white;
}

.reset-btn {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dc3545;
    background: transparent;
    color: #dc3545;
    border-radius: 5px;
    cursor: pointer;
    font-size: 11px;
    transition: 0.3s;
    margin-top: 10px;
}

.reset-btn:hover {
    background: #dc3545;
    color: white;
}

/* Text Font Controls */
.text-font-controls {
    margin-top: 15px;
}

.text-font-controls h6 {
    margin: 15px 0 10px 0;
    color: var(--text-light);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
}

.text-font-buttons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.text-font-btn {
    padding: 8px 12px;
    border: 1px solid var(--secondary-text);
    background: transparent;
    color: var(--text-light);
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
    text-align: left;
}

.text-font-btn:hover {
    background: var(--secondary-text);
    color: var(--text-light);
}

.text-font-btn.active {
    background: var(--secondary-text);
    color: var(--text-light);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    padding-top: 120px;
    background: rgba(0, 0, 0, .3); /* Reduced from .7 to .3 for minimal interference */
    display: flex;
    align-items: center;
    z-index: 1; /* Lower than video z-index */
    /* Ensure overlay doesn't interfere with video quality */
    pointer-events: none;
    /* Prevent overlay from affecting video rendering */
    mix-blend-mode: normal;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-carousel .header-carousel-item .carousel-caption * {
    pointer-events: auto;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
}

.header-carousel .header-carousel-item img {
    animation-name: image-zoom;
    animation-duration: 20s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 1s;
}

.header-carousel .header-carousel-item video {
    transition: 1s;
    opacity: 1 !important;
    /* Force videos to fill entire container without grey borders */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    /* Ensure video covers entire container area */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    /* Prevent any overflow or gaps */
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    /* Force high quality rendering */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    /* Disable browser optimizations that may reduce quality */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    /* Force video quality and prevent color scheme interference */
    filter: none !important;
    -webkit-filter: none !important;
    /* Ensure proper contrast and brightness */
    contrast: 1 !important;
    brightness: 1 !important;
    /* Override any inherited color scheme effects */
    color-scheme: light !important;
    /* Force hardware acceleration for better quality */
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    /* Force videos to top z-index level */
    z-index: 9998 !important;
}

.header-carousel .header-carousel-item {
    overflow: hidden;
    /* Ensure proper video container */
    position: relative !important;
    /* Isolate video from overlay effects */
    isolation: isolate;
    /* Prevent overlay blending interference */
    mix-blend-mode: normal;
    /* Ensure container is ready for absolute positioned videos */
    display: block !important;
}

.header-carousel .owl-item {
    transition: all 0.5s ease;
}

/* Ensure animated elements maintain proper opacity */
.header-carousel .animated {
    opacity: 1 !important;
}

.header-carousel .fadeInLeft,
.header-carousel .fadeInUp {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes image-zoom {
    0%  {height: 100%;}

    25% {height: 110%;}

    50% {height: 115%;}

    75% {height: 110%;}

    100% {height: 100%;}
}
/* Floating CRAFT Title */
.container-fluid.position-relative {
    position: relative;
}

.floating-title {
    position: absolute;
    top: 150px;
    left: 100px;
    z-index: 1000;
    pointer-events: none;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transition: none !important;
}

/* Hide floating title on mobile, show on desktop */
@media (max-width: 991.98px) {
    .floating-title {
        display: none !important;
    }
    
    /* Mobile navbar title styling */
    .navbar-brand h1 {
        font-family: "Nothing You Could Do", cursive !important;
        font-size: 2rem !important;
        font-weight: 400;
        margin: 0;
    }
}

.floating-title h1 {
    font-size: 5rem !important;
    font-family: "Nothing You Could Do", cursive !important;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transition: text-shadow 0.3s ease !important;
    animation: none !important;
}

/* Drop Shadow Options - Toggle Classes */
.shadow-option-1 {
    text-shadow: 
        1px 1px 2px rgba(0, 48, 73, 0.4),     /* Prussian Blue depth */
        0 0 8px rgba(254, 239, 220, 0.3);     /* Antique White glow */
}

.shadow-option-2 {
    text-shadow: 
        2px 2px 3px rgba(22, 30, 35, 0.6),    /* Eerie Black depth */
        0 0 6px rgba(193, 18, 31, 0.4);       /* Fire Brick warm glow */
}

.shadow-option-3 {
    text-shadow: 
        1px 1px 3px rgba(0, 48, 73, 0.5),     /* Prussian Blue depth */
        0 0 5px rgba(254, 239, 220, 0.2);     /* Antique White subtle lift */
}

.shadow-option-4 {
    text-shadow: 
        2px 2px 4px rgba(22, 30, 35, 0.7),    /* Eerie Black strong depth */
        0 0 4px rgba(120, 0, 0, 0.3);         /* Barn Red warm accent */
}

/* Shadow Toggle Button */
.shadow-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: rgba(0, 48, 73, 0.9);
    color: rgba(254, 239, 220, 1);
    border: 2px solid rgba(254, 239, 220, 0.3);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Nothing You Could Do", cursive;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.shadow-toggle-btn:hover {
    background: rgba(193, 18, 31, 0.9);
    border-color: rgba(254, 239, 220, 0.6);
    transform: translateY(-2px);
}

.shadow-info {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1001;
    background: rgba(22, 30, 35, 0.9);
    color: rgba(254, 239, 220, 1);
    padding: 10px 15px;
    border-radius: 5px;
    font-family: "Nothing You Could Do", cursive;
    font-size: 12px;
    max-width: 200px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 239, 220, 0.2);
}

/* Opacity Controls */
.opacity-controls {
    position: fixed;
    top: 150px;
    right: 20px;
    z-index: 1001;
    background: rgba(22, 30, 35, 0.9);
    color: rgba(254, 239, 220, 1);
    padding: 15px;
    border-radius: 5px;
    font-family: "Nothing You Could Do", cursive;
    font-size: 11px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(254, 239, 220, 0.2);
    min-width: 200px;
}

.opacity-control {
    margin-bottom: 10px;
}

.opacity-control:last-child {
    margin-bottom: 0;
}

.opacity-control label {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    color: rgba(254, 239, 220, 0.8);
}

.opacity-slider {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(254, 239, 220, 0.2);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.opacity-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(193, 18, 31, 0.9);
    cursor: pointer;
    border: 2px solid rgba(254, 239, 220, 0.6);
    transition: all 0.2s ease;
}

.opacity-slider::-webkit-slider-thumb:hover {
    background: rgba(193, 18, 31, 1);
    transform: scale(1.1);
}

.opacity-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(193, 18, 31, 0.9);
    cursor: pointer;
    border: 2px solid rgba(254, 239, 220, 0.6);
    transition: all 0.2s ease;
}

.opacity-value {
    font-size: 10px;
    color: rgba(254, 239, 220, 0.6);
    text-align: center;
    margin-top: 3px;
}

.reset-opacity-btn {
    background: rgba(0, 48, 73, 0.7);
    color: rgba(254, 239, 220, 1);
    border: 1px solid rgba(254, 239, 220, 0.3);
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-family: "Nothing You Could Do", cursive;
    font-size: 10px;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 8px;
}

.reset-opacity-btn:hover {
    background: rgba(193, 18, 31, 0.7);
    border-color: rgba(254, 239, 220, 0.6);
}

/* Ensure floating title is not affected by carousel transitions */
.header-carousel .owl-item {
    position: relative;
}

/* Specific video positioning adjustments - only for Sequence_02_1.mp4 - DESKTOP ONLY */
@media (min-width: 992px) {
    .header-carousel .header-carousel-item .video-sequence-02 {
        object-position: center calc(50% + 30px) !important;
        position: relative; /* Ensure proper stacking context */
    }
}

/* Black overlay to cover grey strip - only for smaller desktop widths where grey strip appears */
@media (min-width: 992px) and (max-width: 1329px) {
    /* Target only the specific video that has the grey strip issue */
    .header-carousel .header-carousel-item:has(.video-sequence-02)::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 30px; /* Increased by 10px to cover gap */
        background: #000;
        z-index: 9999;
        pointer-events: none;
        opacity: 1;
    }
    
    /* Fallback for browsers that don't support :has() - target the video directly */
    .header-carousel .header-carousel-item .video-sequence-02::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 30px; /* Increased by 10px to cover gap */
        background: #000;
        z-index: 9999;
        pointer-events: none;
        opacity: 1;
    }
}

/* Ensure no grey bars appear */
.header-carousel {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-carousel .header-carousel-item {
    background: transparent !important;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.header-carousel .header-carousel-item video {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure carousel container has no gaps */
.container-fluid.position-relative {
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive adjustments for floating title - Desktop only */
@media (min-width: 992px) and (max-width: 1200px) {
    .floating-title {
        top: 120px;
        left: 80px;
    }
    
    .floating-title h1 {
        font-size: 4rem !important;
    }
}

/* Membership Modal Styles */
.membership-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.membership-content {
    background: var(--bs-white);
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: membershipSlideIn 0.3s ease-out;
}

@keyframes membershipSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.membership-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #eee;
}

.membership-header h2 {
    font-family: "Nothing You Could Do", cursive;
    font-size: 1.8rem;
    margin: 0;
    color: var(--accent-text);
}

.close-membership {
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
    line-height: 1;
}

.close-membership:hover {
    color: var(--accent-text);
}

.membership-body {
    padding: 30px;
}

.membership-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-family: "Audiowide", cursive;
    font-size: 1rem;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--accent-text);
    border-bottom-color: var(--accent-text);
}

.tab-btn:hover {
    color: var(--accent-text);
}

.membership-form {
    display: none;
}

.membership-form.active {
    display: block;
}

.membership-form h4 {
    font-family: "Nothing You Could Do", cursive;
    color: var(--heading-text);
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: "Nothing You Could Do", cursive;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-text);
    box-shadow: 0 0 0 3px rgba(152, 48, 0, 0.1);
}

.remember-me, .terms-check {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 15px;
}

.remember-me input, .terms-check input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--accent-text);
    text-decoration: none;
    font-size: 0.9rem;
    float: right;
    margin-top: -15px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.terms-check a {
    color: var(--accent-text);
    text-decoration: none;
}

.terms-check a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .membership-content {
        width: 95%;
        margin: 20px;
    }
    
    .membership-header, .membership-body {
        padding: 20px;
    }
    
    .membership-header h2 {
        font-size: 1.5rem;
    }
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 140px 0 60px 0;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .bg-breadcrumb {
        padding: 140px 0 60px 0;
    }
}

@media (max-width: 991px) {
    .bg-breadcrumb {
        padding: 60px 0 60px 0;
    }
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service .service-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
}

.service .service-item .rounded-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

/* REMOVED - This rule was conflicting with the optimized rules below */

.service .service-item:hover .service-img img {
    transform: scale(1.1);
    /* Ensure smooth scaling with hardware acceleration */
    -webkit-transform: translateZ(0) scale(1.1);
    transform: translateZ(0) scale(1.1);
}

/* Additional hover effects for product cards */
.service .service-item:hover {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* CLEAN PRODUCT IMAGE OPTIMIZATION - Single Rule Solution */
.service .service-item .service-img img,
.service .service-item .service-img img.img-fluid {
    /* Core dimensions - override Bootstrap img-fluid */
    width: 100% !important;
    height: 250px !important;
    max-width: none !important;
    max-height: none !important;
    
    /* Object fit for proper scaling - ORIGINAL COVER METHOD */
    object-fit: cover !important;
    object-position: center !important;
    
    /* Transition for smooth hover effects */
    transition: 0.5s !important;
    
    /* Browser rendering optimization - FORCE HIGH QUALITY */
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
    image-rendering: high-quality !important;
    
    /* Hardware acceleration for smooth rendering */
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    
    /* Font smoothing for crisp edges */
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    
    /* Performance optimization */
    will-change: transform !important;
    
    /* Override ALL CSS filters that might degrade quality */
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    
    /* Force proper color rendering */
    color-scheme: light !important;
    color-profile: sRGB !important;
}

.service .service-item:hover .rounded-bottom .h4 {
    color: var(--bs-primary);
    transition: color 0.3s ease;
}

.service .service-item:hover .btn {
    background-color: var(--bs-dark);
    border-color: var(--bs-dark);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Mobile/Tablet Image Height Adjustments - Option 2 Implementation */
@media (max-width: 991px) {
    .service .service-item .service-img img,
    .service .service-item .service-img img.img-fluid {
        height: 350px !important; /* Increased from 300px for tablet */
    }
}

@media (max-width: 767px) {
    .service .service-item .service-img img,
    .service .service-item .service-img img.img-fluid {
        height: 320px !important; /* Slightly smaller for mobile */
    }
}

@media (max-width: 575px) {
    .service .service-item .service-img img,
    .service .service-item .service-img img.img-fluid {
        height: 300px !important; /* Back to original for small mobile */
    }
}

/* Targeted Image Positioning - Option 1 Implementation */
/* Flower Products: Shift center line DOWN to show more flower content */
@media (max-width: 991px) {
    /* KC Zainbow */
    .service .service-item .service-img img[src*="KC_Zainbow"] { object-position: center 50% !important; }
    
    /* KC Fugu */
    .service .service-item .service-img img[src*="KC_Fugu"] { object-position: center 50% !important; }
    
    /* KC Pink Zugar */
    .service .service-item .service-img img[src*="KC_Pink_Zugar"] { object-position: center 50% !important; }
    
    /* KC Tiramisu */
    .service .service-item .service-img img[src*="KC_Tiramisu"] { object-position: center 10% !important; }
    
    /* Quantum Crystal Caviar */
    .service .service-item .service-img img[src*="Quantum_Crystal_Caviar"] { object-position: center 50% !important; }
    
    /* Quantum Dark Matter */
    .service .service-item .service-img img[src*="Quantum_Dark_Matter"] { object-position: center 50% !important; }
    
    /* Quantum Dopamine */
    .service .service-item .service-img img[src*="Quantum_Dopamine"] { object-position: center 50% !important; }
    
    /* Quantum Jager */
    .service .service-item .service-img img[src*="Quantum_Jager"] { object-position: center 50% !important; }
    
    /* KF Jellysicle */
    .service .service-item .service-img img[src*="KF_Jellysicle"] { object-position: center 50% !important; }
    
    /* KF Zurple Syrup */
    .service .service-item .service-img img[src*="KF_Zurple_Syrup"] { object-position: center 50% !important; }
    
    /* KF Skywalker */
    .service .service-item .service-img img[src*="KF_Skywalker"] { object-position: center 50% !important; }
    
    /* Monkey Business */
    .service .service-item .service-img img[src*="Monkey_Business"] { object-position: center 50% !important; }
    
    /* PVB Tamalez */
    .service .service-item .service-img img[src*="PVB_Tamalez"] { object-position: center 50% !important; }
    
    /* PVB 5280 */
    .service .service-item .service-img img[src*="PVB_5280"] { object-position: center 50% !important; }
    
    /* PVB Tang Breath */
    .service .service-item .service-img img[src*="PVB_Tang_Breath"] { object-position: center 50% !important; }
    
    /* PVB Watermelon Hurricane */
    .service .service-item .service-img img[src*="PVB_Watermelon_Hurricane"] { object-position: center 50% !important; }
    
    /* Divine Intervention */
    .service .service-item .service-img img[src*="Divine_Intervention"] { object-position: center 10% !important; }
    
    /* Surreal Dreams */
    .service .service-item .service-img img[src*="Surreal_Dreams"] { object-position: center 50% !important; }
    
    /* Sweetgrass Mandarin Cookies */
    .service .service-item .service-img img[src*="Sweetgrass_Mandarin_Cookies"] { object-position: center 50% !important; }
    
    /* Mint Chocolate Chip */
    .service .service-item .service-img img[src*="Mint_Chocolate_Chip"] { object-position: center 50% !important; }
    
    /* WN Aveo Cart */
    .service .service-item .service-img img[src*="WN_Aveo_Cart"] { object-position: center 50% !important; }
    
    /* WN Rocketeer PR */
    .service .service-item .service-img img[src*="WN_Rocketeer_PR"] { object-position: center 50% !important; }
    
    /* WN Mega Purple Gummies */
    .service .service-item .service-img img[src*="WN_Mega_Purple_Gummies"] { object-position: center 50% !important; }
    
    /* WN Fruit Chews */
    .service .service-item .service-img img[src*="WN_Fruit_Chews"] { object-position: center 50% !important; }
}

/* Refined positioning for smaller mobile screens */
@media (max-width: 767px) {
    /* KC Zainbow */
    .service .service-item .service-img img[src*="KC_Zainbow"] { object-position: center 50% !important; }
    
    /* KC Fugu */
    .service .service-item .service-img img[src*="KC_Fugu"] { object-position: center 50% !important; }
    
    /* KC Pink Zugar */
    .service .service-item .service-img img[src*="KC_Pink_Zugar"] { object-position: center 50% !important; }
    
    /* KC Tiramisu */
    .service .service-item .service-img img[src*="KC_Tiramisu"] { object-position: center 25% !important; }
    
    /* Quantum Crystal Caviar */
    .service .service-item .service-img img[src*="Quantum_Crystal_Caviar"] { object-position: center 50% !important; }
    
    /* Quantum Dark Matter */
    .service .service-item .service-img img[src*="Quantum_Dark_Matter"] { object-position: center 50% !important; }
    
    /* Quantum Dopamine */
    .service .service-item .service-img img[src*="Quantum_Dopamine"] { object-position: center 50% !important; }
    
    /* Quantum Jager */
    .service .service-item .service-img img[src*="Quantum_Jager"] { object-position: center 50% !important; }
    
    /* KF Jellysicle */
    .service .service-item .service-img img[src*="KF_Jellysicle"] { object-position: center 50% !important; }
    
    /* KF Zurple Syrup */
    .service .service-item .service-img img[src*="KF_Zurple_Syrup"] { object-position: center 50% !important; }
    
    /* KF Skywalker */
    .service .service-item .service-img img[src*="KF_Skywalker"] { object-position: center 50% !important; }
    
    /* Monkey Business */
    .service .service-item .service-img img[src*="Monkey_Business"] { object-position: center 50% !important; }
    
    /* PVB Tamalez */
    .service .service-item .service-img img[src*="PVB_Tamalez"] { object-position: center 50% !important; }
    
    /* PVB 5280 */
    .service .service-item .service-img img[src*="PVB_5280"] { object-position: center 50% !important; }
    
    /* PVB Tang Breath */
    .service .service-item .service-img img[src*="PVB_Tang_Breath"] { object-position: center 50% !important; }
    
    /* PVB Watermelon Hurricane */
    .service .service-item .service-img img[src*="PVB_Watermelon_Hurricane"] { object-position: center 50% !important; }
    
    /* Divine Intervention */
    .service .service-item .service-img img[src*="Divine_Intervention"] { object-position: center 50% !important; }
    
    /* Surreal Dreams */
    .service .service-item .service-img img[src*="Surreal_Dreams"] { object-position: center 50% !important; }
    
    /* Sweetgrass Mandarin Cookies */
    .service .service-item .service-img img[src*="Sweetgrass_Mandarin_Cookies"] { object-position: center 50% !important; }
    
    /* Mint Chocolate Chip */
    .service .service-item .service-img img[src*="Mint_Chocolate_Chip"] { object-position: center 50% !important; }
    
    /* WN Aveo Cart */
    .service .service-item .service-img img[src*="WN_Aveo_Cart"] { object-position: center 50% !important; }
    
    /* WN Rocketeer PR */
    .service .service-item .service-img img[src*="WN_Rocketeer_PR"] { object-position: center 50% !important; }
    
    /* WN Mega Purple Gummies */
    .service .service-item .service-img img[src*="WN_Mega_Purple_Gummies"] { object-position: center 50% !important; }
    
    /* WN Fruit Chews */
    .service .service-item .service-img img[src*="WN_Fruit_Chews"] { object-position: center 50% !important; }
}

/* Service card content alignment */
.service .service-item .rounded-bottom .h4 {
    margin-bottom: 1rem;
    min-height: 3.5rem; /* Increased to accommodate longer titles like "Watermelon Hurricane" */
}

.service .service-item .rounded-bottom p {
    flex: 1;
    margin-bottom: 1.5rem;
    min-height: 4rem; /* Increased minimum description height */
    background-color: #f8f9fa !important;  /* Bootstrap light background to override body inheritance */
}

/* NEW VERTICAL FLOW SYSTEM - CSS Custom Properties */
:root {
    /* Spacing System */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    
    /* Height System */
    --height-thc-cbd: 2.5rem;
    --height-type: 3rem;
    --height-variable: 3rem;
    
    /* Typography */
    --font-title: 1rem; /* Increase font size for labels */
    --font-content: 0.95rem; /* Increase font size for values */
    --line-height-title: 1.2;
    --line-height-content: 1.3;
    
    /* Responsive Scaling */
    --scale-desktop: 1;
    --scale-medium: 0.9;
    --scale-small: 0.8;
    --scale-mobile: 0.7;
}

/* NEW PRODUCT DETAILS GRID SYSTEM */
.product-details {
    display: grid;
    grid-template-areas:
        "thc cbd"
        "type type"
        "genetics genetics"
        "aromas aromas"
        "effects effects"
        "flavour flavour"
        "terpenes terpenes";
    grid-template-rows: 
        minmax(2.5rem, auto) /* THC/CBD row */
        minmax(3rem, auto)  /* Type */
        minmax(3rem, auto)  /* Genetics */
        minmax(3.5rem, auto) /* Aromas */
        minmax(3.5rem, auto) /* Effects */
        minmax(3.5rem, auto) /* Flavour */
        minmax(3.5rem, auto); /* Terpenes */
    gap: var(--spacing-xs); /* Reduce grid gap to prevent crowding */
    align-items: start;
    margin-bottom: var(--spacing-md);
}

/* NEW SECTION STRUCTURE - Consistent Spacing */

/* THC/CBD Row - Grid Area Assignment */
.product-details .row:nth-child(1) {
    grid-area: 1 / 1 / 2 / 3; /* Span entire first row (thc-cbd row) */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs); /* Reduce grid gap to prevent crowding */ /* Reduce internal gap */
    /* Remove fixed height to allow natural content flow */
    align-items: start;
}

/* Type Section */
.product-details .mb-2:nth-child(2) {
    grid-area: type;
    min-height: var(--height-type);
    margin-bottom: 0 !important;
}

/* Genetics Section */
.product-details .mb-2:nth-child(3) {
    grid-area: genetics;
    min-height: var(--height-variable);
    margin-bottom: 0 !important;
}

/* Aromas Section */
.product-details .mb-2:nth-child(4) {
    grid-area: aromas;
    min-height: var(--height-variable);
    margin-bottom: 0 !important;
}

/* Effects Section */
.product-details .mb-2:nth-child(5) {
    grid-area: effects;
    min-height: var(--height-variable);
    margin-bottom: 0 !important;
}

/* Flavour Section */
.product-details .mb-2:nth-child(6) {
    grid-area: flavour;
    min-height: var(--height-variable);
    margin-bottom: 0 !important;
}

/* Terpenes Section */
.product-details .mb-2:nth-child(7) {
    grid-area: terpenes;
    min-height: var(--height-variable);
    margin-bottom: 0 !important;
}


.service .service-item .rounded-bottom .btn {
    margin-top: 1rem; /* Add space above button */
    align-self: flex-start;
}

/* Product Details Styling */
.product-details {
    padding-top: 0.75rem;
}

.product-details .row {
    margin-bottom: 0.5rem;
}

.product-details .fw-bold {
    font-size: 0.9rem;
}

.product-details .text-primary {
    font-size: 0.9rem;
}

.product-details .text-success {
    font-size: 0.9rem;
}

.product-details .small {
    font-size: 0.8rem;
    line-height: 1.3;
}


/* Ensure consistent card heights */
.service .service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Equal height cards in grid */
.service .row .col-md-6,
.service .row .col-lg-3,
.service .row .col-lg-4 {
    display: flex;
    margin-bottom: 1.5rem;
}

/* NEW CROSS-CARD ALIGNMENT SYSTEM */

/* Force equal heights for all product cards */
.service .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.service .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service .service-item .rounded-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* NEW: Enhanced Equal Height System */
.service .service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service .service-item .rounded-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* NEW: Product Details - Consistent Heights */
.product-details {
    flex: 1;
    display: grid;
    grid-template-areas:
        "thc cbd"
        "type type"
        "genetics genetics"
        "aromas aromas"
        "effects effects"
        "flavour flavour"
        "terpenes terpenes";
    grid-template-rows: 
        minmax(2.5rem, auto) /* THC/CBD row */
        minmax(3rem, auto)  /* Type */
        minmax(3rem, auto)  /* Genetics */
        minmax(3.5rem, auto) /* Aromas */
        minmax(3.5rem, auto) /* Effects */
        minmax(3.5rem, auto) /* Flavour */
        minmax(3.5rem, auto); /* Terpenes */
    gap: var(--spacing-xs); /* Reduce grid gap to prevent crowding */
    align-items: start;
    margin-bottom: var(--spacing-md);
}

/* NEW THC/CBD Layout - Grid-Based */
.product-details .row .col-6 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* Remove absolute positioning - let grid handle layout */
}

.product-details .row .col-6 small {
    font-size: var(--font-title);
    font-weight: 600;
    color: #333;
    line-height: var(--line-height-title);
    margin-bottom: 0.5rem; /* Increase spacing between label and value */
    /* Remove absolute positioning - let grid handle layout */
}

.product-details .row .col-6 .fw-bold {
    font-size: var(--font-content);
    font-weight: 700;
    margin: 0;
    /* Remove absolute positioning - let grid handle layout */
}

/* Dynamic positioning for single-column sections */
.product-details .mb-2 {
    position: relative;
    min-height: 3.5rem; /* Minimum height - can expand for longer content */
}

.product-details .mb-2 small {
    font-size: var(--font-title);
    font-weight: 600;
    color: #333;
    line-height: var(--line-height-title);
    margin-bottom: 0.25rem; /* Reduce spacing between label and value */
    /* Remove absolute positioning - let grid handle layout */
}

/* NEW TYPOGRAPHY SYSTEM - Grid-Based Layout */
.product-details .mb-2 .fw-bold {
    font-size: var(--font-content);
    line-height: var(--line-height-content);
    margin: 0;
    word-wrap: break-word; /* Handle long words */
    overflow-wrap: break-word;
    /* Remove absolute positioning - let grid handle layout */
}



/* Responsive adjustments for service cards */
@media (max-width: 1200px) and (min-width: 992px) {
    .service .service-item .rounded-bottom p {
        min-height: 3.5rem; /* Slightly taller for medium screens */
    }
    
    .product-details {
        /* Dynamic height for medium screens */
        grid-template-rows: 
            2.2rem                /* THC/CBD row */
            minmax(2.8rem, auto)  /* Type */
            minmax(2.8rem, auto)  /* Genetics */
            minmax(3rem, auto)    /* Aromas */
            minmax(3rem, auto)    /* Effects */
            minmax(3rem, auto)    /* Flavour */
            minmax(3rem, auto);   /* Terpenes */
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    .product-details .row:nth-child(1) {
        /* Remove fixed height to allow natural content flow */
    }
    
    .product-details .mb-2:nth-child(2),
    .product-details .mb-2:nth-child(3) {
        min-height: 2.8rem;
    }
    
    .product-details .mb-2:nth-child(4),
    .product-details .mb-2:nth-child(5),
    .product-details .mb-2:nth-child(6) {
        min-height: 3rem;
        padding-top: 0.4rem; /* Maintain spacing on medium screens */
    }
    
}

/* Fix for smaller desktop widths (1075px range) - prevent text overflow */
@media (max-width: 1150px) and (min-width: 992px) {
    .product-details .row:nth-child(1) {
        /* Remove fixed height to allow natural content flow */
    }
    
    /* THC/CBD columns now use grid layout - no fixed height needed */
    
    .product-details .row .col-6 small {
        font-size: var(--font-title);
        /* Remove absolute positioning - let grid handle layout */
    }
    
    .product-details .row .col-6 .fw-bold {
        font-size: var(--font-content);
        /* Remove absolute positioning - let grid handle layout */
    }
    
    /* Ensure Effects and Flavour sections have enough space */
    .product-details .mb-2:nth-child(5),
    .product-details .mb-2:nth-child(6) {
        min-height: 3.5rem; /* Increase minimum height */
        padding-top: 0.4rem; /* Maintain spacing on smaller desktop */
    }
    
    .product-details .mb-2:nth-child(5) .small,
    .product-details .mb-2:nth-child(6) .small {
        top: 1.4rem; /* Adjust position to prevent overlap */
        min-height: 2.1rem; /* Ensure enough space for content */
    }
}

/* Additional fix for the specific 1075px width issue */
@media (max-width: 1100px) and (min-width: 992px) {
    .product-details .row:nth-child(1) {
        /* Remove fixed height to allow natural content flow */
    }
    
    /* THC/CBD columns now use grid layout - no fixed height needed */
    
    .product-details .row .col-6 small {
        font-size: var(--font-title);
        white-space: nowrap; /* Prevent wrapping of labels */
        /* Remove absolute positioning - let grid handle layout */
    }
    
    .product-details .row .col-6 .fw-bold {
        font-size: var(--font-content);
        /* Remove absolute positioning - let grid handle layout */
    }
    
    /* Increase space for Effects and Flavour sections */
    .product-details .mb-2:nth-child(5),
    .product-details .mb-2:nth-child(6) {
        min-height: 4rem; /* More space for longer content */
        padding-top: 0.3rem; /* Maintain spacing on very narrow desktop */
    }
    
    .product-details .mb-2:nth-child(5) .small,
    .product-details .mb-2:nth-child(6) .small {
        top: 1.3rem; /* Adjust position to prevent overlap */
        min-height: 2.5rem; /* More space for content */
        font-size: 0.75rem; /* Slightly smaller text */
        line-height: 1.2;
    }
}

@media (max-width: 991px) {
    .service .service-item .rounded-bottom p {
        min-height: 2.5rem; /* Shorter for mobile */
    }
    
    .service .service-item .rounded-bottom .h4 {
        min-height: 2rem;
    }
    
    .product-details {
        /* Dynamic height for mobile */
        grid-template-rows: 
            2rem                  /* THC/CBD row */
            minmax(2.5rem, auto)  /* Type */
            minmax(2.5rem, auto)  /* Genetics */
            minmax(3rem, auto)    /* Aromas */
            minmax(3rem, auto)    /* Effects */
            minmax(3rem, auto)    /* Flavour */
            minmax(3rem, auto);   /* Terpenes */
        gap: 0.3rem;
        margin-bottom: 0.6rem;
    }
    
    .product-details .row:nth-child(1) {
        /* Remove fixed height to allow natural content flow */
    }
    
    .product-details .mb-2:nth-child(2),
    .product-details .mb-2:nth-child(3) {
        min-height: 2.5rem;
    }
    
    .product-details .mb-2:nth-child(4),
    .product-details .mb-2:nth-child(5),
    .product-details .mb-2:nth-child(6) {
        min-height: 3rem;
        padding-top: 0.3rem; /* Maintain spacing on mobile */
    }
    
    
    /* THC/CBD columns now use grid layout - no fixed height needed */
}

/* NEW RESPONSIVE SYSTEM - Consistent Scaling */

/* Medium Desktop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    :root {
        --scale-medium: 0.9;
        --height-thc-cbd: 2.2rem;
        --height-type: 2.8rem;
        --height-variable: 2.8rem;
        --font-title: 0.8rem;
        --font-content: 0.95rem;
    }
}

/* Small Desktop (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    :root {
        --scale-small: 0.8;
        --height-thc-cbd: 2rem;
        --height-type: 2.5rem;
        --height-variable: 2.5rem;
        --font-title: 0.75rem;
        --font-content: 0.7rem;
    }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
    :root {
        --scale-mobile: 0.7;
        --height-thc-cbd: 1.8rem;
        --height-type: 2rem;
        --height-variable: 2rem;
        --font-title: 0.7rem;
        --font-content: 0.65rem;
    }
}

/*** Service End ***/


/*** Features Start ***/
.feature .feature-item {
    text-align: center;
    border-radius: 10px;
    background: var(--bs-light);
    border: 1px solid transparent;
    transition: 0.5s;
}

.feature .feature-item:hover {
    border: 1px solid var(--bs-primary);
}

.feature .feature-item .feature-icon {
    background: var(--bs-white);
    border-radius: 10px;
    display: inline-block;
}
/*** Features End ***/

/*** Offer Start ***/
.offer-section .nav a.accordion-link {
    width: 100%;
    border-radius: 10px;
    display: flex;
    background: var(--bs-white);
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.offer-section .nav a.accordion-link h5 {
    transition: 0.5s;
}

.offer-section .nav a.accordion-link.active h5 {
    color: var(--bs-white);
}
/*** Offer End ***/

/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
    background: var(--bs-white);
    box-shadow: inset 0 0 45px rgba(0, 0, 0, .1);
    transition: 0.5s;
}

.blog .blog-item a {
    transition: 0.5s;
}

.blog .blog-item:hover a:hover {
    color: var(--bs-primary);
}

.blog .blog-item .blog-img {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 208, 132, 0.1);
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    opacity: 1;
}

.blog .blog-item .blog-img .blog-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 5;
}

.blog .blog-item .blog-img .blog-title a {
    color: var(--bs-white);
    background: var(--bs-primary);
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img .blog-title a:hover {
    color: var(--bs-dark);
}

.blog-carousel .owl-stage-outer {
    margin-top: 58px;
}

.blog .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--accent-text);
    color: var(--text-light);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-prev:hover {
    background: var(--heading-text);
    color: var(--accent-text);
}

.blog .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--accent-text);
    color: var(--text-light);
    padding: 6px 35px;
    border-radius: 30px;
    transition: 0.5s;
}

.blog .owl-nav .owl-next:hover {
    background: var(--bs-dark);
    color: var(--bs-primary);
}
/*** Blog End ***/


/*** FAQs Start ***/
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-secondary);
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
}
/*** FAQs End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    padding: 0 25px 25px 25px;
    border-radius: 10px;
    transition: 0.5s;
}

.team .team-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--bs-light);
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::before {
    height: 0;
}

.team .team-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
    z-index: -1;
}

.team .team-item:hover::after {
    height: 100%;
    background: var(--bs-primary);
}

.team .team-item .team-img {
    width: 100%; 
    height: 100%;
    border-radius: 100%;
    position: relative;
    margin-top: 50%;
    transform: translateY(-50%);
    margin-bottom: -50%;
    display: flex;
    justify-content: center;
    border: 4px solid var(--bs-primary);
    border-style: dotted;
    padding: 4px;
    background: var(--bs-white);
    transition: 0.5s;
}

.team .team-item:hover .team-img {
    border: 4px solid var(--bs-white);
    border-style: dotted;
    background: 0;
}

.team .team-item .team-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    transition: 0.5s;
}

.team .team-item .team-title {
    padding: 25px 0 25px 0;
    text-align: center;
}

.team .team-item .team-title h4,
.team .team-item .team-title p {
    transition: 0.5s;
}

.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
    color: var(--bs-white);
}

.team .team-item .team-icon {
    display: flex;
    justify-content: center;
}

.team .team-item .team-icon a {
    transition: 0.5s;
}

.team .team-item:hover .team-icon a {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.team .team-item:hover .team-icon a:hover {
    color: var(--bs-primary);
    background: var(--bs-dark);
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-item {
    position: relative;
    margin-bottom: 30px;
    padding: 0 25px 25px 25px;
}

.testimonial .testimonial-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% - 50px);
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: var(--bs-light);
    z-index: -1;
}

.testimonial .testimonial-item .testimonial-img {
    display: flex;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-img img {
    width: 100px; 
    height: 100px;
    border-radius: 100px;
    border: 5px solid var(--bs-light);
    border-style: double;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-text {
    padding: 25px 0;
    text-align: center;
}

.testimonial .testimonial-item .testimonial-title {
    display: flex;
    justify-content: space-between;
}

.testimonial .testimonial-item  .testimonial-quote-left {
    position: absolute;
    width: 60px; 
    height: 60px;
    top: 20px;
    left: 25px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item  .testimonial-quote-right {
    position: absolute;
    width: 60px; 
    height: 60px;
    bottom: -30px;
    right: 25px;
    margin-top: -5px;
    border-radius: 60px;
    color: var(--bs-primary);
    background: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: var(--accent-text);
    color: var(--text-light);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--secondary-text);
    color: var(--text-light);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: var(--accent-text);
    color: var(--text-light);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--secondary-text);
    color: var(--text-light);
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin: 20px 10px 0 10px;
    background: var(--accent-text);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: var(--secondary-text);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--accent-text);
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--text-light);
    transition: 0.5s;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-secondary);
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
    background-color: transparent !important;  /* Override body background inheritance */
}

.footer .footer-item a:hover {
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark);
}

.copyright .text-body {
    background-color: transparent !important;  /* Override body background inheritance */
}
/*** copyright end ***/

/*** Custom Navbar Brand Styling ***/
.navbar-brand h1 {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    text-transform: uppercase;
    /* letter-spacing: 0.1em; */
    margin: 0;
}

.navbar-brand h1 i {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* Font Testing Classes */
.navbar-brand h1.font-gruppo {
    font-family: "Gruppo", cursive;
    font-weight: 400;
}

.navbar-brand h1.font-nothing {
    font-family: "Nothing You Could Do", cursive;
    font-weight: 400;
}

.navbar-brand h1.font-grechen {
    font-family: "Grechen Fuemen", cursive;
    font-weight: 400;
}

.navbar-brand h1.font-splash {
    font-family: "Splash", cursive;
    font-weight: 400;
}

.navbar-brand h1.font-audiowide {
    font-family: "Audiowide", cursive;
    font-weight: 400;
}

.navbar-brand h1.font-current {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
}

/* Navigation Font Classes - Audiowide for navbar links */
.navbar .nav-link {
    font-family: "Audiowide", cursive !important;
}

/* Dynamic Adjustment Classes */
.navbar-brand h1.dynamic-sizing {
    transition: font-size 0.3s ease;
}

.navbar-brand h1.dynamic-positioning {
    position: relative;
    transition: top 0.3s ease, left 0.3s ease, right 0.3s ease, bottom 0.3s ease;
}

/* Protect navigation font sizes from hero title size changes */
.navbar .nav-link {
    font-size: inherit !important;
}

/* Text Font Classes - Nothing You Could Do for all text except navbar links */
h1, h2, h3, h4, h5, h6, p, a, span, small, button, label, .dropdown-item, .btn {
    font-family: "Nothing You Could Do", cursive !important;
}

/* Override for navbar links to use Audiowide */
.navbar .nav-link {
    font-family: "Audiowide", cursive !important;
}
/*** Custom Navbar Brand Styling End ***/

/*** Custom Color Scheme - Lightening Theme ***/
:root {
    /* Override Bootstrap primary color variable */
    --bs-primary: #983000ff !important;  /* Brown - Override Bootstrap green */
    
    /* Primary Text Colors - Sunset Theme */
    --primary-text: #FEEFDCff;        /* Antique White - Primary text */
    --secondary-text: #5893C8ff;      /* United Nations Blue - Secondary text */
    --accent-text: #983000ff;         /* Brown - Accent/CTA text (kept from previous theme) */
    --heading-text: #161E23ff;        /* Eerie Black - Headings */
    --muted-text: #415164ff;          /* Charcoal - Muted text */
    --header-text: #c1121fff;         /* Fire Brick - Special header text for dark backgrounds */
    --prussian-blue: #003049ff;       /* Prussian Blue - Deep blue for special elements */
    
    /* Text Variations */
    --text-light: #FEEFDCff;          /* Antique White - Light text */
    --text-dark: #161E23ff;           /* Eerie Black - Dark text */
    --text-body: #5893C8ff;           /* United Nations Blue - Body text */
    --text-muted: #415164ff;          /* Charcoal - Muted */
    --text-accent: #983000ff;         /* Brown - Accent */
    --text-header: #c1121fff;         /* Fire Brick - Header text */
    --text-prussian: #003049ff;       /* Prussian Blue - Premium elements */
}

/* Apply new color scheme to text elements */
.text-primary {
    color: var(--accent-text) !important;  /* Brown for primary */
}

.text-secondary {
    color: var(--secondary-text) !important;  /* United Nations Blue for secondary */
}

.text-light {
    color: var(--text-light) !important;  /* Antique White for light */
}

.text-dark {
    color: var(--text-dark) !important;  /* Eerie Black for dark */
}

.text-body {
    color: var(--text-body) !important;  /* United Nations Blue for body */
}

.text-muted {
    color: var(--muted-text) !important;  /* Charcoal for muted */
}

/* Special header text color for dark backgrounds */
.text-header {
    color: var(--text-header) !important;  /* Fire Brick for header text */
}

.text-prussian {
    color: var(--text-prussian) !important;  /* Prussian Blue for premium elements */
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading-text);  /* Eerie Black for headings */
}

/* Body text */
body, p {
    color: var(--text-body);  /* United Nations Blue for body text */
    background-color: #f6f7eb;  /* Ivory background */
}

/* Navbar brand with brown color */
.navbar-brand h1 {
    color: var(--accent-text) !important;  /* Brown for brand */
}

/* Links - using brown for better visibility */
a {
    color: var(--accent-text);  /* Brown for links */
}

/* Producer Links Hover Effects */
h3.text-primary a {
    transition: all 0.3s ease;
    cursor: pointer;
}

h3.text-primary a:hover {
    color: var(--bs-dark) !important;
    transform: scale(1.05);
}

a:hover {
    color: var(--heading-text);  /* Eerie Black on hover */
}

/* Buttons - using brown background with appropriate text */
.btn-primary {
    background-color: var(--accent-text) !important;  /* Brown background */
    border-color: var(--accent-text) !important;
    color: var(--text-light) !important;  /* Antique White text */
}

.btn-primary:hover {
    background-color: var(--heading-text) !important;  /* Eerie Black on hover */
    border-color: var(--heading-text) !important;
    color: var(--text-light) !important;
}

/* Additional button overrides for better specificity */
.btn.btn-primary {
    background-color: var(--accent-text) !important;
    border-color: var(--accent-text) !important;
    color: var(--text-light) !important;
}

.btn.btn-primary:hover {
    background-color: var(--heading-text) !important;
    border-color: var(--heading-text) !important;
    color: var(--text-light) !important;
}

.btn.btn-light {
    background-color: var(--text-light) !important;
    border-color: var(--text-light) !important;
    color: var(--accent-text) !important;
}

.btn.btn-light:hover {
    background-color: var(--accent-text) !important;
    border-color: var(--accent-text) !important;
    color: var(--text-light) !important;
}

/* Form elements focus */
.form-control:focus {
    border-color: var(--accent-text) !important;  /* Brown border on focus */
    box-shadow: 0 0 0 0.2rem rgba(152, 48, 0, 0.25) !important;
}

/* Navigation active states */
.navbar-nav .nav-link.active {
    color: var(--accent-text) !important;  /* Brown for active nav */
}

.navbar-nav .nav-link:hover {
    color: var(--text-header) !important;  /* Fire Brick on hover */
}
/*** Custom Color Scheme End ***/

/* Override Bootstrap primary color variable */
:root {
    --bs-primary: var(--accent-text) !important;
}

/* Video Quality Protection - Override any color scheme interference */
.header-carousel .header-carousel-item video,
.header-carousel .header-carousel-item video * {
    /* Force video quality preservation */
    filter: none !important;
    -webkit-filter: none !important;
    /* Ensure proper contrast and brightness */
    contrast: 1 !important;
    brightness: 1 !important;
    /* Force proper saturation and vibrance */
    saturate: 1 !important;
    /* Override any inherited color scheme effects */
    color-scheme: light !important;
    /* Prevent any CSS inheritance issues */
    all: unset;
    /* Re-apply only necessary video properties */
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 1 !important;
    /* Force hardware acceleration and quality */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /* Override any potential color profile issues */
    color-profile: sRGB !important;
    /* Force proper gamma correction */
    -webkit-filter: contrast(1) brightness(1) saturate(1) !important;
    filter: contrast(1) brightness(1) saturate(1) !important;
    /* Force videos to top z-index level */
    z-index: 9998 !important;
    position: relative;
    /* Prevent overlay interference */
    mix-blend-mode: normal;
    isolation: isolate;
    /* Force native video rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
}

/* Age Verification System - Site Opacity Control */
/* Opacity changes removed for development */

/* Button state changes after age verification */
.btn-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

.btn-outline-primary {
    background-color: transparent !important;
    border-color: var(--accent-text) !important;
    color: var(--accent-text) !important;
}

.btn-outline-primary:hover {
    background-color: var(--accent-text) !important;
    color: var(--text-light) !important;
}

/* Topbar icon color overrides */
.topbar .text-primary {
    color: var(--accent-text) !important;
}

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

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

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

/* Ensure all topbar icons use primary color */
.topbar a i,
.topbar .dropdown-toggle i {
    color: var(--accent-text) !important;
}

/* More specific overrides for topbar icons */
.topbar .fas.fa-map-marker-alt.text-primary,
.topbar .fas.fa-phone-alt.text-primary,
.topbar .fas.fa-envelope.text-primary,
.topbar .fa.fa-user.text-primary,
.topbar .fa.fa-sign-in-alt.text-primary,
.topbar .fa.fa-home.text-primary {
    color: var(--accent-text) !important;
}

/* Override any Bootstrap default primary colors in topbar */
.topbar .text-primary,
.topbar i.text-primary,
.topbar .fa.text-primary,
.topbar .fas.text-primary {
    color: var(--accent-text) !important;
}

/* Comprehensive CSS Grid Implementation */
.product-details {
    display: grid;
    grid-template-areas:
        "thc cbd"
        "type type"
        "genetics genetics"
        "aromas aromas"
        "effects effects"
        "flavour flavour"
        "terpenes terpenes";
    grid-template-rows: 
        minmax(2.5rem, auto) /* THC/CBD row */
        minmax(3rem, auto)  /* Type */
        minmax(3rem, auto)  /* Genetics */
        minmax(3.5rem, auto) /* Aromas */
        minmax(3.5rem, auto) /* Effects */
        minmax(3.5rem, auto) /* Flavour */
        minmax(3.5rem, auto); /* Terpenes */
    gap: var(--spacing-xs); /* Reduce grid gap to prevent crowding */
    align-items: start;
    margin-bottom: var(--spacing-md);
}

/* Typography and Spacing Adjustments */
:root {
    --font-title: 1rem; /* Ensure labels are larger */
    --font-content: 0.95rem; /* Increase font size for values */
}

.product-details .row .col-6 small {
    margin-bottom: 0.25rem; /* Reduce spacing between label and value */
}


/* Text Color Consistency */
.product-details .text-primary {
    color: var(--bs-primary) !important; /* Use Bootstrap primary color */
}

.product-details .text-success {
    color: var(--bs-success) !important; /* Use Bootstrap success color */
}


/* Increase Padding and Spacing */
:root {
    --spacing-xs: 0.5rem; /* Increase small spacing */
    --spacing-sm: 1rem; /* Increase small-medium spacing */
}

.product-details .row .col-6 small {
    margin-bottom: 0.25rem; /* Reduce spacing between label and value */
}

/* Dynamic Sizing for Text Wrapping */
.product-details .mb-2 {
    min-height: auto; /* Allow dynamic height */
}

/* Implement Micro Grids for Each Section */
.product-details .mb-2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--spacing-xs);
    min-height: auto; /* Allow dynamic height */
}

/* Increase Padding Between .mb-2 Containers */
.product-details .mb-2 {
    /* Padding removed for cleaner vertical flow */
}

/* Increase Padding Between .mb-2 Containers with !important */
.product-details .mb-2 {
    /* Padding removed for cleaner vertical flow */
}

/* Remove Fixed Heights and Adjust Positioning */
.product-details .row .col-6 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /* Remove fixed height */
    position: relative;
}

.product-details .row .col-6 small {
    font-size: var(--font-title);
    font-weight: 600;
    color: #333;
    line-height: var(--line-height-title);
    margin-bottom: 0.25rem; /* Reduce spacing between label and value */
    /* Remove absolute positioning */
}

.product-details .row .col-6 .fw-bold {
    font-size: var(--font-content);
    font-weight: 700;
    margin: 0;
    /* Remove absolute positioning */
}

/* Set Height of p.mb-4 to Percentage of Parent */
.service .service-item .rounded-bottom p.mb-4 {
    height: 7rem; /* Set fixed height */
    flex: none; /* Remove flex-grow */
}


