* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-optical-sizing: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 #111;
    font-family: "Zain", sans-serif;
    font-weight: 600;
    font-style: normal;
}
h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

p {
  font-size: clamp(0.7rem, 4vw, 1.1rem);
}

/*
Color Code
*/
.btn-blue{
background-color: #1699d6;
color: #fff;
}
.btn-white{
background-color: #fff;
color: #1699d6;
}
.i-blue{
color: #1699d6;
}

/* Main container */
.main {
    width: 100%;
    min-height: 100vh;
}

.box1-height>nav:first-child {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.holder {
    position: absolute;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.holder-shadow {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.scrolled {
    background-color: rgba(0, 0, 0, 0.85);
    transition: all 0.6s ease-in-out;
}

a {
    color: #ffc107;
    text-decoration: none;
}

/* Navigation Bar */
.nav-bar {
    position: sticky;
    top: 0;
    z-index: 9999;
    color: #000;
    justify-content: space-around;
}

.nav-bar a {
    text-decoration: none;
    color: white;
    padding: 10px;
    display: block;
}

.nav-bar img {

    width: 3rem;
    height: 3rem;

}

.nav-logo {
    color: #fff;
}

.site-nav a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.3s;
}

.site-nav a:hover {
    color: #ffc107;
}


/* Image container */
.product-img-wrapper {
    height: 45vh;               
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border: none;
}


.product-img-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.product-img-wrapper img:hover {
    transform: scale(1.2);
}

.product-card {
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.product-card:hover {
    transform: scale(1.03) !important;;
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}


.box2-full-height {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    background-color: #1699d6;
}

.box2-full-height::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #1699d6;
    opacity: 0.8;
    z-index: -1;
}

.box2-full-height .fs {

    font-size: 4.5rem !important;
}

.box2-full-height .fs-1 {
    font-size: 3.5rem !important;
}

.logo-img {
    max-width: 280px;  
    height: auto;     
}

.intro {
    height: 60vh;
    flex-wrap: wrap;
}

.intro .start {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro .start p {
    font-size: clamp(17px, 2vw, 20px);
    font-weight: 300;
    line-height: 1.6;
    margin: 1rem 0 0;
    color: #eee;
    padding: 0 1rem;
    max-width: 90ch;
    text-align: center;
}

.intro .start h1 {
    font-size: clamp(40px, 6vw, 50px);
}

/* Button base */
.cta-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 10px 8px;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Green button */
.btn-green {
    background: #0a8a3f;
}

.btn-green:hover {
    background: #0a8a3f;
    transform: translateY(-2px);
}
.pulse {
    position: relative;
    overflow: visible;
}

.pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(46, 204, 113, 0.6);
    animation: pulse 1.8s infinite;
    z-index: -1;
}
.about-wrapper {
    background-color: #ffffff; /* Wrapper white */
    color: #333333;
    line-height: 1.8;
}

/* Container spacing */
.custom-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.custom-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 14px;

    /* Stronger clean shadow */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

    transition: all 0.35s ease;
    margin-bottom: 30px;
}

/* Premium hover effect */
.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* Headings */
.custom-card h3 {
    color: #2b82c9;
    font-size: 1.8rem;
    margin-top: 0;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

/* Services */
.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.services-list li::before {
    content: "✓";
    color: #2b82c9;
    position: absolute;
    right: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.connect,
.contact {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) ;
    transition: none; 
    border: none !important;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* move up 20px */
    }
    100% {
        transform: translateY(0);
    }
}


.contact-card {
    overflow: hidden; 
    background-color: #ffffff;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0; /* Starts from the right. Change to left: 0 if your layout is Left-to-Right */
    width: 0;
    height: 4px; 
    background-color: #0d6efd; 
    transition: width 0.4s ease-out;
    z-index: 10;
}

/* Expands the blue line to 100% on hover */
.contact-card:hover::before {
    width: 100%;
}

.pagination .page-item.active .page-link {
    background-color: #1699d6 !important;
    border-color: #1699d6 !important;
}

.pagination .page-item .page-link {
    color: #212529 !important;
}

.pagination .page-item .page-link:focus {
    box-shadow: none !important;
}

.content-box .nav-content {
    color: #fff;
}

.about-company .custom-banner>:first-child {

    position: absolute;
}

.about-company .custom-banner h2 {
    font-size: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}



.product-card {
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 4px; /* Thickness of the blue line */
    background-color: #0d6efd; 
    transition: width 0.4s ease-out;
    z-index: 10;
}


.product-card:hover::before {
    width: 100%;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

    #factory-header {
    background-color: #0a0a0a; 
    position: relative;
    overflow: hidden;
}

/* 1. The Brushed Steel "Conveyor" Pattern */
#factory-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 2px,
        transparent 2px,
        transparent 40px
    );
    background-size: 200% 200%;
    animation: productionFlow 25s linear infinite;
}

/* 2. The Navy Glow - Increased to 0.60 Opacity */
#factory-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    
    /* 0.60 Opacity: Stronger presence during the walk */
    background: linear-gradient(
        135deg,
        transparent 15%,
        rgba(22, 153, 214, 0.7) 50%,
        transparent 85%
    );
    
    background-size: 250% 250%;
    animation: navyWalkAndPause 12s ease-in-out infinite;
    pointer-events: none;
    /* Screen mode allows the 0.60 navy to really shine on the steel lines */
    mix-blend-mode: screen; 
}

@keyframes productionFlow {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

/* Professional "Walk & Wait" Animation */
@keyframes navyWalkAndPause {
    /* Wait at start */
    0%, 20% { 
        background-position: 0% 50%; 
        opacity: 0.6; /* Slight dim during the pause */
    } 
    
    /* Sweep to the other side (The Walk) */
    50% { 
        background-position: 100% 50%; 
        opacity: 1; /* Full 0.60 visibility during the walk */
    } 
    
    /* Wait at the end and return */
    75%, 100% { 
        background-position: 0% 50%; 
        opacity: 0.6;
    } 
}

#factory-header .intro {
    position: relative;
    z-index: 5;
}

.tracking-tight { letter-spacing: -0.02em; }

/* Subtle hover for sub-images */
.hover-effect {
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.hover-effect:hover {
    transform: translateY(-2px);
    border-color: #000 !important;
}

/* Better Image Box Shape */
#main-img {
    border-radius: 4px;
}
    /* Small divider for the title */
.heading-divider {
    width: 60px;
    height: 4px;
    background-color: #0d6efd; /* Adjust to match your blue primary color */
    border-radius: 2px;
}

/* Flexbox layout ensures perfectly centered wrapping for ANY amount of cards */
.clients-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem; /* Space between cards */
    max-width: 1000px;
    margin: 0 auto;
}

/* The Square Card */
.client-card {
    width: 140px; /* Medium-Small width */
    height: 140px; /* Perfect square */
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 110, 253, 0.2); /* Subtle blue border hint */
}

/* The Logo Image */
.client-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    transition: transform 0.4s ease;
}


.client-card:hover .client-logo {
    transform: scale(1.1); 
}

/* Responsive adjustments for mobile screens */
@media (max-width: 576px) {
    .client-card {
        width: 120px; /* Slightly smaller on phones */
        height: 120px;
        padding: 0.5rem;
    }
    .clients-wrapper {
        gap: 1rem;
    }
}

.bg-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none; 
    background-image: radial-gradient(rgba(22, 153, 214, 1) 2px, transparent 2px);
    background-size: 20px 20px;
}

/* Top Left Dots */
.dots-1 {
    top: -5%;
    left: -2%;
    width: 180px;
    height: 180px;
    animation: floatVertical 7s ease-in-out infinite alternate;
}

/* Top Right Dots */
.dots-2 {
    top: 15%;
    right: -3%;
    width: 120px;
    height: 200px;
    animation: floatHorizontal 9s ease-in-out infinite alternate-reverse;
}

/* Bottom Left Dots */
.dots-3 {
    bottom: 10%;
    left: -4%;
    width: 200px;
    height: 120px;
    animation: floatHorizontal 8s ease-in-out infinite alternate;
}

/* Bottom Right Dots */
.dots-4 {
    bottom: -5%;
    right: -2%;
    width: 220px;
    height: 220px;
    animation: floatVertical 10s ease-in-out infinite alternate-reverse;
}

/* Floating Animations for the Dots */
@keyframes floatVertical {
    0% { transform: translateY(0px); }
    100% { transform: translateY(30px); }
}

@keyframes floatHorizontal {
    0% { transform: translateX(0px); }
    100% { transform: translateX(30px); }
}

.heading-divider {
    width: 60px;
    height: 4px;
    background-color: rgba(22, 153, 214, 1);
    border-radius: 2px;
}

.custom-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.text-justify-custom {
        text-align: justify;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Base Card Styling */
.custom-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    
    /* Smooth Bouncy Transition for Hover */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);

    /* Initial state for Entrance Animation */
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 0.8s ease forwards;
}

/* Hover State Animation */
.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(43, 130, 201, 0.3); /* Subtle border color change */
}

/* Animated Accent Top Border on Hover */
.custom-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0; /* Aligned right for RTL */
    width: 0;
    height: 5px;
    background: #2b82c9; /* Primary Blue Accent */
    transition: width 0.5s ease;
}

.custom-card:hover::before {
    width: 100%;
}

/* Staggered Entrance Animation Delays */
.card-1 { animation-delay: 0.1s; }
.card-2 { animation-delay: 0.3s; }
.card-3 { animation-delay: 0.5s; }
.card-4 { animation-delay: 0.7s; }

/* Keyframes for sliding up and fading in */
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography & List Styling */
.custom-card h3 {
    color: #1a4f7a;
    margin-bottom: 1rem;
    font-weight: bold;
}

.services-list {
    list-style: none;
    padding-right: 0;
    margin-bottom: 0;
}

.services-list li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
}

.services-list li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: #2b82c9;
    font-size: 1.1rem;
}

/*Light color*/
.blog-customized {
    color: #fff !important;
}

/*Light color*/
.author-profile {

    border-radius: 2px;
}

.author-profile>:first-of-type {
    box-shadow: 0px 4px 16px #0000001A;
}

.author-profile .text-muted {
    text-align: justify;
}

.bio {
    color: #212529BF;
    text-align: justify;
}

.bio-date {
    color: #212529BF;
    text-align: justify;
}

.publish-date {
    color: #212529BF;
}

#main-img {

    min-height: 200px;
    height: 70vh;
    overflow: hidden;
}

#main-img img:first-child {
    height: 100%;
    object-fit: cover;
}

/*Custom for another Pages*/

.line {
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.about-company .about-company p {
    font-size: 1rem;
    line-height: 1.7;
}

.about-company .container .text-muted {

    color: #847e7e !important;
    text-align: justify;
}

.about-company .container .text-muted-right {

    color: #847e7e !important;
}


.header-text {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
    padding: 0 1rem 0 1rem;
}

.header-text span {
    font-size: 0.9rem;
    color: #aaa;
}

.header-text h2 {
    margin: 0.2rem 0;
    font-size: 2rem;
}

.header-text p {
    font-size: 0.95rem;
    color: #ccc;
    margin: 0;
}


.box6-height {
    height: auto;
    min-height: 100%;
    background: linear-gradient(
  to bottom,
  #1699d6 0%,
  #1699d6 99%,
  #4fb8ea 100%
);
}

.main-container .card {
    background-color: #29313a;
    color: #fff;
}

.card .card-body .read-more {
    text-decoration: none;
    color: #1699d6;
    font-weight: bold;
    position: absolute;
    bottom: 1.5vh;
}

.main-container .img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.main-container .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box6-height .card-text {
    text-align: justify;
    color: #bbb;
}


.footer-color{
    background-color: #1699d6;
}

footer a:hover {
    color: #ffc107 !important;
    transition: all .2s ease-in-out;

}

footer .text-muted {

    color: #eeeeee9c !important;
    text-align: justify;
}

.footer-bg {
    background-color: #000;
}


.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s ease-in-out;
}

/* When in view: fully visible */
.scroll-fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #333;
}

::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 6px;
    border: 3px solid #333;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ffc107;
}


.main-container .product-row {
    margin-left: -24px;
    margin-right: -24px;
}

.main-container .product-col {
    padding-left: 24px;
    padding-right: 24px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    display: flex; /* important for equal height */
}


/* Prevent horizontal overflow */
.main-container {
    overflow-x: hidden;
}

/* ========================= */
/* Fade In Animation */
/* ========================= */

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}


.main-container .premium-card {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Lift on hover */
.main-container .premium-card:hover {
    transform: translateY(-15px);
}

.main-container .card-canvas {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 35vh;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transition: box-shadow 0.4s ease;
}

/* Stronger shadow on hover */
.main-container .premium-card:hover .card-canvas {
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.main-container .admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
.main-container .canvas-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Image zoom */
.main-container .premium-card:hover .canvas-img {
    transform: scale(1.08);
}

.main-container .spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255,255,255,0.3) 0%, transparent 60%);
    pointer-events: none;
    transition: background 0.4s ease;
}

.main-container .premium-card:hover .spotlight {
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 80%);
}

.main-container .card-info {
    margin: -50px 15px 0;
    padding: 70px 25px 30px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: justify;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* makes it fill height */
}

/* Title */
.main-container .info-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

/* Text */
.main-container .info-text {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Footer pinned to bottom */
.main-container .info-footer {
    margin-top: auto;          /* pushes to bottom */
    display: flex;
    justify-content: space-between;  /* admin left, button right */
    align-items: center;
}

/* Admin icons */
.main-container .admin-actions {
    display: flex;
    gap: 8px;
}

.main-container .luxury-btn {
    width: 45px;
    height: 45px;
    background: #f1f3f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1699d6;
    transition: all 0.3s ease;
}

.main-container .luxury-btn:hover {
    background: #1699d6;
    color: #fff;
    border-radius: 50%;
    transform: rotate(-45deg);
}

.main-container .load-more-pill {
    padding: 16px 45px;
    border-radius: 100px;
    background: #f1f3f5;
    color: #1699d6;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #1a1a1a;
    transition: 0.3s ease;
}

.main-container .load-more-pill:hover {
    background: #1699d6;
    color: #fff;
}

.product-page-header {
    position: relative;
    height: 35vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Bread background image */
.header-bg {
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/bread-bg.webp');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
}

/* Content */
.header-content {
    z-index: 2;
    color: white;
}

/* Title */
.product-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Breadcrumb */
.custom-breadcrumb {
    background: transparent;
    padding: 0;
}

.custom-breadcrumb a {
    color: #ffffffcc;
    text-decoration: none;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #fff;
}

/* Gradient overlay for premium look */
.product-page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.2)
    );
}

/* Mobile */
@media (max-width: 768px) {
    .product-page-header {
        height: 180px;
    }

    .product-title {
        font-size: 1.6rem;
    }
} 

/*Media Query*/
/* Desktop shows menu */
@media (min-width: 1200px) {
    .mobile-toggle {
        display: none;
    }

    .site-nav ul {
        display: flex;
        flex-direction: row;
        gap: 20px;
        position: static;
        height: auto;
        background: none;
    }

}

@media (max-width: 1199px) {

    .site-nav ul {
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        padding: 60px 20px;
        background: #222;
        transition: right 0.3s ease;
        z-index: 10000;
    }

    body.mobile-nav-active .site-nav ul {
        right: 0;
    }

    .site-nav ul li a {
        color: white;
        font-size: 1.2rem;
        padding: 15px 0;
    }

    .mobile-toggle {
        cursor: pointer;
        display: block;
        font-size: 2rem;
        position: fixed;
        top: 20px;
        right: 20px;
        transition: transform 0.3s ease;
        z-index: 11000;
    }

    body.mobile-nav-active .site-nav ul {
        right: 0;
    }

    .site-nav ul li a {
        color: white;
        font-size: 1.2rem;
        padding: 15px 0;
    }

    .nav-bar {
        justify-content: space-between;
    }
}

@media (min-width: 577px) and (max-width: 768px) {


    /* Stack Box 3 cards if screen is narrow */
    .box3-height>div {
        flex: 1 1 48%;
    }

    .author-profile {
        margin: 5px 0 0 0;
    }

}

@media (max-width: 768px) {
    .box2-full-height {
        min-height: 100vh;
    }
    .box2-full-height .fs-1 {
        font-size: 2.5rem !important;
    }
    .box6-height {
        padding: 3rem 0 3rem 0 !important;
    }
    .box2-full-height  img{
        margin: -10vh 0 0 0;
    }
}


/* Tablet */
@media (max-width: 992px) {
    .main-container .product-row {
        margin-left: -18px;
        margin-right: -18px;
    }

    .main-container .product-col {
        padding-left: 18px;
        padding-right: 18px;
        margin-bottom: 40px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .main-container .product-row {
        margin-left: -14px;
        margin-right: -14px;
    }

    .main-container .product-col {
        padding-left: 14px;
        padding-right: 14px;
        margin-bottom: 35px;
    }

    .main-container .card-info {
        margin: -40px 14px 0;
    }
}

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    padding: 12px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s, bottom 0.5s;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    bottom: 50px;
    pointer-events: auto;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

.toast.warning {
    background-color: #ffc107;
    color: black;
}

.toast.info {
    background-color: #17a2b8;
}