@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #003366;

    /* Deep Blue 
Version: 1.0.137

Theme Name: MGM Holdings */
    --secondary: #E63946;

    /* Vibrant Red */
    --accent: #457B9D;

    /* Soft Blue */
    --light: #F8F9FA;
    --dark: #1D3557;
    --text-main: #2B2D42;
    --text-muted: #6C757D;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
    font-size: var(--text-xl);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    font-size: var(--text-4xl);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: var(--text-xl);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding-bottom: 5px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    text-transform: uppercase;
    line-height: 1;
    font-family: 'Nunito Sans', sans-serif;
}

.company-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: sticky;
}

.nav-links a {
    font-weight: 600;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--primary);
}

.nav-links a.active {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 24px;
}

@media (max-width: 992px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
        text-align: center;
        border-top: 1px solid #eee;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .header-actions .btn-primary {
        display: none;

        /* Hide Quote button on small mobile header, show in menu if needed */
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    background: #fdfdfd;
    color: var(--text-main);
    overflow: hidden;
    padding-top: 2em;
    padding-bottom: 2em;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    color: var(--primary);
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    font-weight: bold;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0;
    color: var(--text-muted);
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-btns {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s 0.4s forwards;
}

/* Scanning Visual */
.scanning-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    z-index: 2;
}

.scanning-img {
    width: 100%;
    display: block;
    height: 100%;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    box-shadow: 0 0 15px var(--secondary);
    z-index: 3;
    animation: scanAnimation 3s linear infinite;
}

.scan-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 45%, rgba(230, 57, 70, 0.1) 50%, transparent 55%);
    z-index: 3;
    animation: scanAnimation 3s linear infinite;
}

@keyframes scanAnimation {
    0% {
        top: 0;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 0;
    }
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.solution-icon,
.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary);
}

/* Solution detail page styles */
.solution-detail-header {
    background: var(--primary);
    padding: 50px 0;
    color: var(--white);
    text-align: center;
}

.solution-bundle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.bundle-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.bundle-content .tag {
    background: var(--secondary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.items-pair {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .solution-bundle {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .items-pair {
        grid-template-columns: 1fr;
    }
}

.item-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.item-card h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.item-card p {
    font-size: var(--text-lg);
    color: var(--text-muted);
}

/* Hero Visual & Shapes */
.hero-visual {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    z-index: 1;
    filter: blur(80px);
}

.shape-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(230, 57, 70, 0.10);
    border-radius: 50%;
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(0, 51, 102, 0.10);
    border-radius: 50%;
}

.hero-container {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column-reverse;

        /* Or column, depending on design preference. Usually text first on mobile? Or visual first? */
        gap: 40px;
        text-align: center;
        padding-top: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
#solutions.section .solution-card h3 {
    font-size: var(--text-xl);
}

#solutions .solution-card>p {
    font-size: var(--text-lg);
}

footer li a {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    font-variant: small-caps;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-lg);
}

#wms.solution-bundle h4 {
    font-size: var(--text-xl);
}

.cta-blue-immersive {
    position: relative;
    padding: 50px 0;
    background: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-blue-immersive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(69, 123, 157, 0.8) 100%);
    z-index: 1;
}

.cta-glass-card {
    position: relative;
    z-index: 2;
    background: var(--primary);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 80px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-glass-card .accent-line {
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.cta-glass-card h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1;
}

.cta-glass-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    margin-bottom: 45px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-white:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.4);
}

.cta-blue-immersive .btn-primary {
    display: flex;
    align-items: center;
}

.foot-div {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
    grid-template-areas: "a b c d";
    display: grid;
}

@media (max-width: 768px) {
    .foot-div {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    nav .header-actions {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    header a.logo-wrapper {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 12px;
    }

    header span.company-name {
        font-size: 16px;
    }
}

#blog {
    background: var(--light);
    padding: 80px 0;
}

#blog .blog-div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

#blog article {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

@media (max-width: 768px) {
    #blog article {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

#blog article img {
    width: 100%;
    object-fit: cover;
    height: 250px;
}

@media (max-width: 768px) {
    #blog article img {
        width: 100%;
        max-width: none;
    }
}

footer {
    background: var(--dark);
    color: white;
    padding: 40px 0;
}

@media (max-width: 768px) {
    footer .foot-div {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

.blog-banner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.blog-banner h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .blog-banner h1 {
        font-size: 24px;
    }

    .blog-banner {
        max-width: 100%;
        margin: 0 auto;
        opacity: 0.9;
        font-size: 14px;
        padding: 0 20px;
    }

    section#blog {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.copywrite {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (max-width: 768px) {
    .copywrite {
        padding-top: 0px;
    }

    .copywrite p {
        font-size: 12px;
    }

    .hero-container h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-btns .btn-primary {
        margin-bottom: 10px;
    }
}

.hero-content .btn-primary {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .section {
        padding: 20px 0;
    }
}

#solution .container div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    align-items: center;
}

@media (max-width: 768px) {
    #solution .container div {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #solution :left h2 {
        font-size: 2rem;
        color: var(--secondary);
    }
}

#solutions h2.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

#solution h2 {
    font-size: 3rem;
    color: var(--secondary);
    font-weight: bold;
}

@media (max-width: 768px) {
    #solution h2 {
        font-size: 28px;
        font-weight: bold;
    }

    #solutions h2.title {
        font-size: 24px;
        font-weight: bold;
    }

    .solution-card {
        display: flex;
        flex-direction: column;
        padding: 20px;
        width: 100%;
    }

    .cta-blue-immersive {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .cta-glass-card {
        padding: 20px;
        margin: 0 15px;
    }

    .cta-glass-card h2 {
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 1px;
    }

    .cta-glass-card p {
        font-size: 16px;
    }

    .cta-btn-group {
        display: flex;
        flex-direction: column;
    }

    .cta-glass-card .btn-white.cta-btn-group {
        font-size: 1rem;
        padding-left: 25px;
        padding-right: 25px;
    }
}

.title {
    font-size: 3rem;
    margin-top: 10px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .sevice-bigtitle {
        font-size: 1.5rem !important;
    }
}

.sevice-bigtitle {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.service {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

@media (max-width: 768px) {
    .service p {
        font-size: 1rem;
        opacity: 0.8;
        max-width: 100%;
        margin: 0 auto;
        font-weight: lighter;
        padding: 0 15px;
    }

    #choose h2.title {
        font-size: 24px;
    }
}

#choose {
    background: var(--white);
    padding: 80px 0;
}

@media (max-width: 768px) {
    #choose {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

#choose .chose {
    display: block;
    gap: 20px;
}

.chose div h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .chose {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

#choose .chose-sec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    #choose .chose-sec {
        gap: 10px;
        margin-top: 20px;
    }
}

.chose-first {
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .chose-first {
        margin-bottom: 0;
    }

    .chose div h3 {
        font-size: 18px;
        font-weight: bold;
    }

    .chose-sec p {
        color: var(--text-muted);
        font-size: 10px;
    }
}

.chose p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #choose .chose p {
        font-size: 14px;
    }
}

.need {
    background: var(--dark);
    padding: 100px 0;
    color: var(--white);
}

@media (max-width: 768px) {
    .need {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.need h2 {
    font-size: 3.5rem;
    margin: 20px 0;
    color: var(--white);
    line-height: 1.1;
}

@media (max-width: 768px) {
    .need h2 {
        font-size: 21px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .need div div p {
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 10px;
        font-size: 14px;
        max-width: 100%;
    }
}

.pack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .pack {
        display: flex;
        flex-direction: column;
    }

    .need-img {
        display: none;
    }

    .needleft {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .needleft .pack li {
        font-size: 14px;
    }
}

.cta {
    background: var(--white) !important;
    padding: 80px 0;
}

@media (max-width: 768px) {
    .cta {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .cta h2 {
        font-size: 1.5rem;
        font-weight: bold;
    }
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .cta p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .cta .btn-primary {
        font-size: 14px;
        padding-left: 15px;
        padding-right: 15px;
    }


}

footer a.logo {
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
    font-size: 24PX;
    font-weight: bold;
}

@media (max-width: 768px) {
    .foot-div a.logo {
        font-size: 18px;
    }
}

.copywrite p {
    color: rgba(245, 241, 241, 0.11);
    font-size: var(--light);
}

#blog .blog-posts {
    padding: 30px;
}

@media (max-width: 768px) {
    #blog .blog-posts {
        padding: 10px 10px 10px 20px;
        width: 100%;
    }
}

.foot-div .info {
    display: flex;
    flex-direction: row;
}

footer .info i {
    margin-right: 10px;
    color: var(--secondary);
    padding: 15px;
}

.section {
    padding: 50px 0;
    color: var(--white);
    position: relative;
    max-width: 100%;
    background: var(--primary);
}

#blog .blog-posts p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 18px !important;
}

#blog .blog-posts h2 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: var(--primary);
    font-weight: bold;
}

.left p,
.right p,
.middle p {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-muted);
}

p {
    font-size: var(--text-lg);
    color: var(--text-muted);
}

.front_section {
    background-color: var(--light);
}

.flagship {
    background-color: var(--white);
}

.retail {
    direction: rtl;
    text-align: left;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

/* Responsive Grid Utilities */
.responsive-grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.responsive-grid-1-5-1 {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.responsive-grid-1-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.responsive-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {

    .responsive-grid-2-1,
    .responsive-grid-1-5-1,
    .responsive-grid-1-1,
    .responsive-grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

.post {
    margin-top: 10px;
    font-size: 18px;
}

.cta_inner {
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Brand Slider */
.brand-slider-section {
    padding: 60px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.brand-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Gradients for fading edges */
.brand-slider::before,
.brand-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.brand-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.brand-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.brand-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    gap: 100px;
    align-items: center;
}

.brand-item {
    flex-shrink: 0;
}

.brand-item img {
    width: 200px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {

    .brand-slider::before,
    .brand-slider::after {
        width: 100px;
    }

    .brand-track {
        gap: 60px;
    }

    .brand-item img {
        width: 150px;
    }
}

/* Enhanced Recent Posts Grid */
.products.recent-posts {
    background: var(--white);
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 0;
}

.product-card {
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition);
    overflow: hidden;
}

.card-left {
    flex-direction: row;
    text-align: right;
    justify-content: flex-end;
}

.card-right {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
}

.card-content {
    padding: 20px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-left .card-content {
    align-items: flex-end;
}

.card-right .card-content {
    align-items: flex-start;
}

.card-content h3 {
    font-size: 1.75rem;
    color: #2D3154;
    /* Deep Slate Blue from image */
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    font-family: 'Outfit', sans-serif;
}

.card-content h3 a {
    color: inherit;
}

.card-content h3 a:hover {
    color: var(--secondary);
}

.arrow-circle {
    width: 36px;
    height: 36px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.product-card:hover .arrow-circle {
    background: var(--secondary);
    color: white;
}

.card-left:hover .arrow-circle {
    transform: translateX(-5px);
}

.card-right:hover .arrow-circle {
    transform: translateX(5px);
}

.card-img-wrapper {
    width: 320px;
    height: 320px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .card-img-wrapper {
        width: 250px;
        height: 250px;
    }

    .card-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-card {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        max-width: 500px;
        margin: 0 auto;
    }

    .card-content {
        order: 2;
        align-items: center !important;
        padding: 30px 20px;
    }

    .card-img-wrapper {
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
}