:root {
  --primary-color: #000;
  --secundary-color: #4b4a4a;
  --barlow: 'Barlow Condensed', sans-serif;
  --lato: 'Lato', sans-serif;
}


body {
    padding: 0;
    margin: 0;
}

h1{
    font-size: 60px;
    font-family: var(--barlow);
    font-weight: 500;
}

h2{
    font-size: 45px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--barlow);
}

h3{
    font-size: 30px;
    color: var(--primary-color);
}

h4{
    font-size: 24px;
}

h5{
    font-size: 21px;
}

h6{
    font-size: 18px;
}


p,a,li,ul,span,div{
    font-size: 16px;
    font-family: var(--lato);
    color: var(--secundary-color);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}


a.btn-get-started{
    display: inline-block;
    font-family: Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: var(--primary-color);
    padding: 14px 32px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 12px;
}


/* ========================================
   HEADER / NAVIGATION
======================================== */
.site-header {
    background: #ffffff;
    padding: 0;
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* Desktop Nav */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-family: var(--barlow);
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-menu > li > a:hover {
    color: #555555;
}

.chevron-down {
    margin-top: 1px;
}

/* Dropdown submenu */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    padding: 12px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-top: 2px solid #1a1a1a;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    font-family: var(--barlow);
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding: 8px 20px;
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu li a:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

/* CTA Button */
.header-cta {
    flex-shrink: 0;
    font-family: var(--barlow);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background: #1a1a1a;
    padding: 12px 26px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.header-cta:hover {
    background: #333333;
}

/* Mobile Toggle (hidden on desktop) */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu (hidden on desktop) */
.mobile-menu {
    display: none;
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 20px 0 30px;
}

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

.mobile-nav-menu {
    list-style: none;
    padding: 0 15px;
    margin: 0;
    max-width: 1250px;
    margin: 0 auto;
}

.mobile-nav-menu > li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu > li > a {
    font-family: var(--barlow);
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 0;
}

.chevron-down-mobile {
    transition: transform 0.3s ease;
}

.has-submenu-mobile.open .chevron-down-mobile {
    transform: rotate(180deg);
}

/* Mobile submenu */
.submenu-mobile {
    list-style: none;
    padding: 0 0 10px 20px;
    margin: 0;
    display: none;
}

.has-submenu-mobile.open .submenu-mobile {
    display: block;
}

.submenu-mobile li a {
    font-family: var(--barlow);
    font-size: 14px;
    font-weight: 400;
    color: #555555;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    padding: 10px 0;
}

.submenu-mobile li a:hover {
    color: #1a1a1a;
}

.hero-slider-section .swiper {
    height: 95vh;
}









/* ========================================
   HERO SLIDER SECTION
======================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider-section .swiper {
    width: 100%;
    height: 700px;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background image */
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Dark overlay gradient */
.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(30, 30, 30, 0.55) 0%,
        rgba(20, 20, 20, 0.40) 40%,
        rgba(20, 20, 20, 0.40) 60%,
        rgba(30, 30, 30, 0.55) 100%
    );
    z-index: 2;
}

/* Slide content */
.hero-slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 100%;
    padding: 0 60px;
}

.hero-slide-content h2 {
    font-family: 'Barlow Condensed', sans-serif;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0.5px;
}

.hero-slide-content p {
    color: rgba(255, 255, 255, 1);
    line-height: 1.5;
    max-width: 100%;
    margin: 0 auto;
    letter-spacing: 0.3px;
}

/* ========================================
   SWIPER NAVIGATION ARROWS
======================================== */
.hero-slider-section .swiper-button-prev,
.hero-slider-section .swiper-button-next {
    color: #ffffff;
    width: 44px;
    height: 44px;
    z-index: 10;
}

.hero-slider-section .swiper-button-prev::after,
.hero-slider-section .swiper-button-next::after {
    font-weight: 300;
}

.hero-slider-section .swiper-button-prev {
    left: 18px;
}

.hero-slider-section .swiper-button-next {
    right: 18px;
}

.hero-slider-section .swiper-button-prev:hover,
.hero-slider-section .swiper-button-next:hover {
    opacity: 0.7;
}

.hero-slider-section .swiper-pagination {
    display: none;
}

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

.hero-slide-bg::after {
    background: linear-gradient(
        180deg,
        rgba(30, 30, 30, 0.15) 0%,
        rgba(20, 20, 20, 0.15) 40%,
        rgba(20, 20, 20, 0.15) 60%,
        rgba(30, 30, 30, 0.15) 100%
    );
}


.hero-slide-1 .hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.55) 0%, rgba(20, 20, 20, 0.40) 40%, rgba(20, 20, 20, 0.40) 60%, rgba(30, 30, 30, 0.55) 100%);
    z-index: 2;
    background-image: linear-gradient(#000000c2, #000000c2), url(https://cdn.prod.website-files.com/68b8193…/690c419…_cubebox%20lineup.png);
    background-position: 0 0, 50%;
    background-size: auto, cover;
    width: 100%;
    max-width: 100%;
    height: 100%;
}


.hero-slider-section {
    height: 91vh;
    padding-top: 80px;
}

.hero-slider-section .swiper {
    height: 81vh;
}


/* ========================================
   SECTION: WHY CHOOSE CUBEBOX
======================================== */
.why-choose-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.why-choose-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image column */
.why-choose-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Content column */
.why-choose-content {
    flex: 1;
}

.why-choose-content h2 {
    line-height: 1.15;
    margin-bottom: 18px;
}

.why-choose-desc {
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 480px;
}

/* List items */
.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.why-choose-list li {
    color: #333333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.why-choose-list li .list-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* CTA Button */
.btn-get-started {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #000;
    padding: 14px 32px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-get-started:hover {
    background-color: #333333;
}

.hero-slide-content h1 {
    margin-top: 0;
}


/* ========================================
   SECTION: CUBEBOX PRODUCT FAMILIES
======================================== */
.product-families-section {
    background-color: #ffffff;
    padding: 80px 0 100px;
}

.product-families-header {
    text-align: center;
    margin-bottom: 50px;
}

.product-families-header h2 {
    line-height: 1.15;
    margin-bottom: 12px;
}

.product-families-header p {
    line-height: 1.5;
}

/* Grid layout */
.product-families-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card */
.product-card {
    background-color: #ebebeb;
    padding: 40px 30px 40px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-card-image {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card h3 {
    font-family: var(--barlow);
    margin-bottom: 6px;
    line-height: 1.2;
}

.product-card p {
    line-height: 1.4;
    margin-bottom: 22px;
}

/* Row 2: make cards span 1.5 columns visually (center 2 cards) */
.product-card:nth-child(4),
.product-card:nth-child(5) {
    grid-column: span 1;
}

/* Center the last row with 2 items using a 6-col sub-grid trick */
.product-families-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.product-card:nth-child(1) { grid-column: 1 / 3; }
.product-card:nth-child(2) { grid-column: 3 / 5; }
.product-card:nth-child(3) { grid-column: 5 / 7; }
.product-card:nth-child(4) { grid-column: 1 / 4; }
.product-card:nth-child(5) { grid-column: 4 / 7; }

/* View Product button */
.btn-view-product {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #000;
    padding: 12px 28px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-view-product:hover {
    background-color: #333333;
}

/* ========================================
   SECTION: INTUITIVE ROBOT PROGRAMMING SOFTWARE
======================================== */
.robot-software-section {
    background-color: #ffffff;
    padding: 80px 0 100px;
}

.robot-software-header {
    text-align: center;
    margin-bottom: 50px;
}

.robot-software-header h2 {
    line-height: 1.15;
}

/* Grid: 2 columns */
.robot-software-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Card */
.software-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Card image */
.software-card-image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.software-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Card content */
.software-card-content {
    padding: 30px 30px 36px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.software-card-content h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.2;
}

.software-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
}

.software-card-content ul li {
    color: #444444;
    line-height: 1.5;
    margin-bottom: 4px;
}

.software-card-content ul li::before {
    content: '• ';
    color: #444444;
}

/* Explore Product button */
.btn-explore-product {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-top: auto;
    font-family: Arial, sans-serif;
    font-weight: 400;
    background-color: var(--primary-color);
    padding: 14px 32px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 12px;
}

.btn-explore-product:hover {
    background-color: #333333;
}



/* ========================================
   SECTION: TESTIMONIALS
======================================== */
.testimonials-section {
    background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
    padding: 80px 0 100px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 45px;
}

.testimonials-header h2 {
    line-height: 1.15;
    margin-bottom: 12px;
}

.testimonials-header p {
    line-height: 1.5;
}

/* Slider wrapper with nav */
.testimonials-slider-wrap {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Card */
.testimonial-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 32px 36px 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.testimonial-card h4 {
    margin-bottom: 16px;
    line-height: 1.3;
}

.testimonial-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 300;
    color: #444444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.testimonial-author {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    line-height: 1;
}

.testimonial-quote {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    color: #d5d5d5;
    line-height: 0.5;
}

/* Navigation arrows */
.testimonials-nav-prev,
.testimonials-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    user-select: none;
}

.testimonials-nav-prev:hover,
.testimonials-nav-next:hover {
    border-color: #999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonials-nav-prev {
    left: 0;
}

.testimonials-nav-next {
    right: 0;
}

.testimonials-nav-prev span,
.testimonials-nav-next span {
    color: #888888;
    line-height: 1;
    margin-top: -2px;
}

.testimonial-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--lato);
}

p.testimonial-text {
    color: var(--primary-color);
    font-family: var(--lato);
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
}

.testimonial-author {
    color: var(--primary-color);
    margin-bottom: 2px;
    font-family: var(--barlow);
    font-size: 21px;
    font-weight: 500;
}


.swiper-slide.hero-slide {
    align-items: center;
    justify-content: center;
    display: flex;
}

.hero-slide-content h2 {
    margin-top: 0;
}



/* ========================================
   FOOTER
======================================== */
.site-footer {
    background-color: #d9d9d9;
    padding: 60px 0;
}

.footer-wrap {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Logo column */
.footer-logo-col {
    flex: 0 0 140px;
}

.footer-logo {
    max-width: 110px;
    height: auto;
    display: block;
}

/* Generic column */
.footer-col {
    flex: 1;
}

.footer-col h4 {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #000000;
}

/* Subscribe column */
.footer-subscribe-col {
    flex: 0 0 220px;
}

.footer-subscribe-form {
    display: flex;
    border: 1px solid #999999;
    overflow: hidden;
}

.footer-subscribe-form input {
    flex: 1;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #333;
    padding: 10px 14px;
    border: none;
    background: transparent;
    outline: none;
    letter-spacing: 0.3px;
}

.footer-subscribe-form input::placeholder {
    color: #777777;
}

.footer-subscribe-form button {
    flex-shrink: 0;
    width: 42px;
    background: #1a1a1a;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-subscribe-form button:hover {
    background: #333333;
}

/* ========================================
   COPYRIGHT BAR
======================================== */
.copyright-bar {
    background-color: #1a1a1a;
    padding: 16px 0;
}

.copyright-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright-wrap p {
    font-size: 13px;
    color: #ffffff;
    letter-spacing: 0.3px;
    margin: 0;
}

.copyright-socials {
    display: flex;
    align-items: center;
    gap: 0px;
}

.copyright-socials a {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.copyright-socials a:hover {
    opacity: 0.7;
}



/* ========================================
   SECTION: VIDEO HERO - ABOUT PAGE
======================================== */
.video-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0a0a0a;
}

.video-hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.10);
    z-index: 2;
}

.video-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 0 0 80px;
}

.video-hero-content .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.video-hero-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 700px;
}

.video-hero-content p {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 19px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 550px;
}

/* Play/Pause button */
.video-control {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 4;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.video-control:hover {
    border-color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
}

.video-control svg {
    width: 18px;
    height: 18px;
}

.video-control .icon-pause { display: block; }
.video-control .icon-play { display: none; }
.video-control.paused .icon-pause { display: none; }
.video-control.paused .icon-play { display: block; }

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    animation: scrollBounce 2s ease infinite;
}

.scroll-indicator span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}


/* ========================================
   SECTION: OUR MISSION
======================================== */
.our-mission-section {
    padding: 90px 0 80px;
    text-align: center;
}

.our-mission-section p {
    max-width: 1000px;
    margin: 0 auto 20px;
}

.our-mission-section p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SECTION: WHY CHOOSE CUBEBOX (ABOUT)
======================================== */
.about-why-choose-section {
    padding: 60px 0 100px;
}

.about-why-choose-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.about-why-choose-wrap {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-why-choose-list {
    flex: 1;
}

.about-why-choose-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-why-choose-list ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-why-choose-list ul li span:first-child {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-why-choose-image {
    flex: 0 0 42%;
    max-width: 42%;
}

.about-why-choose-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ========================================
   SECTION: SOFTWARE + PRODUCTIVITY TOOLS
======================================== */
.software-tools-section {
    padding: 80px 0 100px;
}

.software-tools-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.software-tools-grid {
    display: flex;
    gap: 60px;
}

.software-tools-col {
    flex: 1;
    text-align: center;
}

.software-tools-col p {
    margin-bottom: 25px;
}

.software-tools-col p:last-child {
    margin-bottom: 0;
}

/* ========================================
   SECTION: CTA BANNER
======================================== */
.cta-banner-section {
    background-color: #000000;
    padding: 80px 0;
    text-align: center;
}

.cta-banner-section h2 {
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-banner-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-banner-section .btn-get-started {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.cta-banner-section .btn-get-started:hover {
    background-color: transparent;
    color: #ffffff;
}

/* ========================================
   SECTION: ROBOT QUESTION BANNER
======================================== */
.robot-question-section {
    padding: 60px 0;
}

.robot-question-wrap {
    display: flex;
    align-items: center;
    gap: 40px;
}

.robot-question-text {
    flex: 1;
    text-align: center;
}

.robot-question-image {
    flex: 0 0 42%;
    max-width: 42%;
}

.robot-question-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ========================================
   SECTION: POWER UP YOUR PERFORMANCE
======================================== */
.power-up-section {
    padding: 80px 0 100px;
    text-align: center;
}

.power-up-section > .container > p {
    max-width: 700px;
    margin: 0 auto 8px;
}

.power-up-section > .container > p:last-of-type {
    margin-bottom: 50px;
}

.power-up-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.power-up-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 24px 32px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.power-up-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.power-up-card-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.power-up-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



/* ========================================
   SECTION: AUTOMATION INTELLIGENCE BLOG
======================================== */
.blog-section {
    padding: 80px 0 100px;
    text-align: center;
}

.blog-section > .container > p {
    max-width: 600px;
    margin: 0 auto 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    display: block;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-card-image {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.blog-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.blog-card h4 {
    margin-bottom: 8px;
}

div#gform_fields_1 {
    display: flex;
    flex-wrap: wrap;
}

div#gform_fields_1>div {
    flex: 1 0 49%;
}

.wrapper__form__code {
    padding-top: 100px;
    padding-bottom: 100px;
}

div#gform_fields_1>div#field_1_8 {
    flex: 1 0 100%;
}

input#gform_submit_button_1 {
    background: #000;
    border-radius: 6px;
    padding: 10px 25px;
    font-family: Lato, sans-serif;
}

/* ========================================
   SECTION: GET IN TOUCH
======================================== */
.get-in-touch-section {
    padding: 80px 0 100px;
    text-align: center;
}

.get-in-touch-section h2 {
    margin-bottom: 40px;
}

.get-in-touch-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.get-in-touch-content img {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.get-in-touch-content h3 {
    margin-bottom: 10px;
}

.get-in-touch-content p {
    margin-bottom: 4px;
}

.get-in-touch-content a {
    text-decoration: underline;
}

.get-in-touch-content a:hover {
    color: #000;
}


/* ========================================
   SECTION: PRODUCT DETAIL HERO
======================================== */
.product-hero-section {
    padding: 40px 0 80px;
}

.product-hero-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Image column */
.product-hero-image {
    flex: 0 0 50%;
    max-width: 50%;
}

.product-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Content column */
.product-hero-content {
    flex: 1;
}

.product-hero-content h2 span {
    color: #2a7de1;
    margin-right: 6px;
    font-size: 18px;
}

.product-hero-content h2 {
    margin-bottom: 20px;
}

.product-hero-content > p {
    margin-bottom: 24px;
}

.product-hero-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.product-hero-content ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.product-hero-content ul li span:first-child {
    flex-shrink: 0;
    margin-top: 2px;
}


/* ========================================
   SECTION: PRODUCT VIDEO BANNER
======================================== */
.product-video-section {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background: #0a0a0a;
}

.product-video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.product-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.product-video-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-video-content .container {
    text-align: center;
}

.product-video-content h2 {
    color: #ffffff;
    font-style: italic;
    margin-bottom: 16px;
}

.product-video-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
}

/* Play/Pause button */
.product-video-control {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.product-video-control:hover {
    border-color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
}

.product-video-control svg {
    width: 16px;
    height: 16px;
}

.product-video-control .icon-pause { display: block; }
.product-video-control .icon-play { display: none; }
.product-video-control.paused .icon-pause { display: none; }
.product-video-control.paused .icon-play { display: block; }



/* ========================================
   SECTION: MODELS
======================================== */
.models-section {
    padding: 80px 0 100px;
    text-align: center;
}

.models-section > .container > p {
    max-width: 800px;
    margin: 0 auto 50px;
}

.models-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.model-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 36px;
    text-align: center;
}

.model-card-image {
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.model-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.model-card h3 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.model-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    text-align: left;
}

.model-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.model-card ul li span:first-child {
    flex-shrink: 0;
    margin-top: 2px;
}



/* ========================================
   SECTION: BLOG SINGLE POST
======================================== */
.blog-single-section {
    padding: 60px 0 100px;
}

.blog-single-wrap {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Sidebar */
.blog-sidebar {
    flex: 0 0 320px;
    position: sticky;
    top: 100px;
}

.blog-sidebar h3 {
    margin-bottom: 24px;
}

.blog-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-list li {
    margin-bottom: 16px;
}

.blog-sidebar-list li a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-sidebar-list li a:hover {
    opacity: 0.7;
}

.blog-sidebar-list li a img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Post Content */
.blog-single-content {
    flex: 1;
    min-width: 0;
}

.blog-single-featured {
    margin-bottom: 30px;
}

.blog-single-featured img {
    width: auto;
    height: auto;
    display: block;
}

.blog-single-content h2 {
    margin-bottom: 24px;
}

.blog-single-content h3 {
    margin-bottom: 16px;
}

.blog-single-content p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ========================================
   SECTION: RELATED BLOG
======================================== */
.related-blog-section {
    padding: 60px 0 80px;
}

.related-blog-section h2 {
    margin-bottom: 36px;
}

.related-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.related-blog-card {
    display: block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.related-blog-card:hover {
    opacity: 0.75;
}

.related-blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.related-blog-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


section.why-choose-section .container, section.product-families-section>.container, .copyright-bar .container {
    max-width: 1460px;
}

section.robot-software-section .container {
    max-width: 1350px;
}

.why-choose-content {
    padding-right: 80px;
}

.product-families-section {
    margin-top: -30px;
}


.product-card h3 {
    font-weight: 600;
}

.product-card p {
    margin-top: 0;
}

.product-card h3 {
    margin-bottom: 0;
}

.product-card p {
    margin-bottom: 35px;
}


a.btn-get-started:hover {
    background: white;
    color: #000;
}


h3 {
    font-weight: 600 !important;
}


div.software-card {
    padding-bottom: 50px;
}

.testimonial-card p {
    color: #000;
}

.testimonial-footer>span {
    font-size: 21px;
    color: #000;
    margin-bottom: 2px;
    font-family: Barlow Condensed, sans-serif;
    font-size: 21px;
    font-weight: 500;
}

.footer-col h4 {
    margin-bottom: 24px;
    color: #000;
    letter-spacing: .8px;
    text-transform: uppercase;
    font-family: Lato, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 32px;
}

.footer-col ul li a {
    color: #000;
    text-transform: uppercase;
    margin-top: 20px;
    font-family: Lato, sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0;
}

.footer-col h4 {
    margin-bottom: 15px;
}

input#input_2_3 {
    background-color: #e0e0e0;
    border: 1px solid #a6b1bf;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    height: 48px;
    margin-bottom: 0;
    padding: 12px 16px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    line-height: 22px;
    transition: all .2s;
    font-weight: 500 !important;
    color: #000 !important;
    opacity: 1 !important;
}

.footer-col.footer-logo-col {
    padding-right: 80px;
}

.nav-menu > li > a {
    color: #000;
    letter-spacing: .25px;
    text-transform: uppercase;
    margin-left: 5px;
    margin-right: 5px;
    padding: 5px 10px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
}

.submenu li a {
    text-transform: uppercase;
    padding-top: 5px;
    padding-bottom: 5px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    text-decoration: none;
    display: block;
}

.header-cta {
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.header-cta {
    padding: 16px 26px;
    border-radius: 5px;
}

.hero-slide-bg::after {
    background: linear-gradient(180deg, rgb(30 30 30) 0%, rgb(20 20 20 / 50%) 40%, rgb(20 20 20 / 50%) 60%, rgb(30 30 30 / 50%) 100%);
}


section.hero-slider-section.hero-slider-section-about .swiper {
    height: 652px;
}


.page-template-about .hero-slider-section {
    height: auto;
}

.software-tools-section {
    padding-top: 0;
}

.software-tools-col h3 {
    font-family: Barlow Condensed, sans-serif;
}


.cta-banner-section h2 {
    margin-top: 0;
}

.page-template-accessories .hero-slide-bg::after {
    background: linear-gradient(180deg, rgb(30 30 30) 0%, rgb(22 20 20 / 20%) 10%, rgb(20 20 20 / 10%) 20%, rgb(30 30 30 / 10%) 100%);
}


.power-up-grid {
    margin-top: 100px;
}


section.power-up-section .container {
    max-width: 1460px;
}


.power-up-card h4 {
    font-family: Barlow Condensed, sans-serif;
    font-size: 25px;
    font-weight: 600;
    line-height: 28px;
    color: #333;
}


.page-template-accessories-php section.hero-slider-section.slider_general .swiper {
    height: 56vh;
}


.page-template-blog .hero-slide-bg::after {
    background: linear-gradient(180deg, rgb(30 30 30) 0%, rgb(20 20 20 / 70%) 40%, rgb(20 20 20 / 70%) 60%, rgb(30 30 30 / 70%) 100%);
}

section.blog-section h2 {
    font-weight: 500;
}

.blog-card h4 {
    color: #000;
    font-family: Barlow Condensed, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    margin-bottom: 0;
}

section.blog-section>.container {
    max-width: 1100px;
}

.blog-grid {
    row-gap: 10px !important;
}

.page-template-contact .hero-slide-content {
    max-width: 1100px;
}

.page-template-contact .hero-slide-content p {
    font-size: 20px;
}

.wrapper__form__code>h2 {
    text-align: center;
}


form#gform_3 {
    width: 100% !important;
}

.get-in-touch-content h3 {
    font-family: Barlow Condensed, sans-serif;
}


.blog-single-content h3 {
    font-size: 24px;
}

.blog-single-content h3 strong {
    color: #000;
}


.blog-single-content p, .blog-single-content a, .blog-single-content li, .blog-single-content div {
    color: #000;
}


a.related-blog-card p {
    color: #000;
    font-family: Barlow Condensed, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    text-align: center;
}


.related-blog-section h2 {
    font-weight: 500;
}

.blog-sidebar h3 {
    color: #000;
    margin-top: 0;
    margin-bottom: 60px;
    font-family: Barlow Condensed, sans-serif;
    font-weight: 500;
}

.single-product_c main {
    padding-top: 127px;
}

.product-video-content h1 {
    color: #fff;
    margin-bottom: 0;
    margin-top: 0;
}

.product-video-content p {
    font-size: 20px;
    line-height: 30px;
}

.product-video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.product-hero-content p {
    color: #000;
    line-height: 24px;
}

.product-hero-content p strong {
    color: #000;
}

section.models-section * {
    color: #000;
}

.models-section > .container > p {
    max-width: 1000px;
}

section.models-section * {
    color: #000;
}

section.models-section a.btn-get-started {
    color: #fff;
    font-size: 17px;
}

section.models-section a.btn-get-started:hover {
    color: #000;
}

section.product-hero-section {
    padding-bottom: 80px;
}

.product-hero-content ul li {
    margin-bottom: 9px;
}

.single-product_c section.models-section .container {
    max-width: 1460px;
}

.model-card ul {
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 40px;
}


.model-card h3 {
    border: 0;
}

.model-card {
    padding: 20px 36px;
    padding-bottom: 40px;
}



/**
 * Request a Demo Modal
 * Version: 1.0
 */

/* Modal Overlay */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.demo-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 85%;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 0px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
}

.demo-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Close Button */
.demo-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #333;
    z-index: 10;
    transition: color 0.2s ease;
}

.demo-modal__close:hover {
    color: #000;
}

/* Modal Image Section */
.demo-modal__image {
    flex: 0 0 45%;
    max-width: 45%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-modal__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Content Section */
.demo-modal__content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.demo-modal__title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    text-align: center;
}

/* Gravity Forms Container */
.demo-modal__form {
    /* Styles for Gravity Forms will be applied here */
}

/* Gravity Forms Overrides within Modal */
.demo-modal__form .gform_wrapper {
    margin: 0;
}

.demo-modal__form .gform_wrapper input[type="text"],
.demo-modal__form .gform_wrapper input[type="email"],
.demo-modal__form .gform_wrapper input[type="tel"],
.demo-modal__form .gform_wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.demo-modal__form .gform_wrapper input[type="text"]:focus,
.demo-modal__form .gform_wrapper input[type="email"]:focus,
.demo-modal__form .gform_wrapper input[type="tel"]:focus,
.demo-modal__form .gform_wrapper textarea:focus {
    outline: none;
    border-color: #333;
}

.demo-modal__form .gform_wrapper .gfield_label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
}

.demo-modal__form .gform_wrapper textarea {
    min-height: 100px;
    resize: vertical;
}

.demo-modal__form .gform_wrapper .gform_button,
.demo-modal__form .gform_wrapper input[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.demo-modal__form .gform_wrapper .gform_button:hover,
.demo-modal__form .gform_wrapper input[type="submit"]:hover {
    background: #333;
}

/* Two Column Layout for Form Fields */
.demo-modal__form .gform_wrapper .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.demo-modal__form .gform_wrapper .gfield--width-full,
.demo-modal__form .gform_wrapper .gfield_html,
.demo-modal__form .gform_wrapper .gform_footer {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-modal {
        flex-direction: column;
        max-height: 95vh;
    }
    
    .demo-modal__image {
        flex: 0 0 200px;
        max-width: 100%;
        max-height: 200px;
    }
    
    .demo-modal__content {
        padding: 24px;
    }
    
    .demo-modal__title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    
    .demo-modal__form .gform_wrapper .gform_fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .demo-modal {
        width: 95%;
        border-radius: 4px;
    }
    
    .demo-modal__image {
        flex: 0 0 150px;
        max-height: 150px;
    }
    
    .demo-modal__content {
        padding: 20px 16px;
    }
    
    .demo-modal__close {
        top: 10px;
        right: 10px;
    }
}


.demo-modal__form .gform_wrapper .gform_fields {
    display: flex;
    flex-wrap: wrap;
}

.demo-modal__form .gform_wrapper .gform_fields>div {
    flex: 1 0 48%;
}

textarea#input_4_7 {
    min-block-size: 10rem;
}

input#gform_submit_button_4 {
    background: #000;
    text-align: center;
    vertical-align: baseline;
    background-color: #000;
    border-radius: 10px;
    width: 100%;
    font-family: Barlow Condensed, sans-serif;
    font-size: 18px;
    font-weight: 400;
    display: block;
}

div#gform_fields_4 label {
    color: #000;
    text-align: left;
    font-family: Barlow Condensed, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.swiper-slide.hero-slide.hero-slide-2 .hero-slide-bg::after {
    background: transparent !important;
}

.swiper-slide.hero-slide.hero-slide-3 .hero-slide-bg::after {
    background: transparent !important;
}

.swiper-slide.hero-slide.hero-slide-4 .hero-slide-bg::after {
    background: transparent !important;
}
.swiper-slide.hero-slide.hero-slide-5 .hero-slide-bg::after {
    background: transparent !important;
}

/* Video Modal Overlay */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
 
.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
 
/* Video Modal Container */
.video-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1000px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
 
.video-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
 
/* Close Button */
.video-modal__close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    color: #ffffff;
    z-index: 10;
    transition: opacity 0.2s ease;
}
 
.video-modal__close:hover {
    opacity: 0.7;
}
 
/* Video Container - 16:9 Aspect Ratio */
.video-modal__container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
 
.video-modal__container video,
.video-modal__container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
 
/* Loading State */
.video-modal__container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: video-spin 1s linear infinite;
    z-index: 1;
}
 
.video-modal__container.loaded::before {
    display: none;
}

div#gform_fields_4 input, div#gform_fields_4 textarea{
    border: 1px solid #000;
    box-shadow: none !important;
    border: 1px solid #2b2929e8;
}

.demo-modal__form .gform_wrapper .gform_fields {
    gap: 9px;
}

textarea#input_4_7 {
    min-block-size: 6rem;
    height: 40px !important;
}
 
 
@keyframes video-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
 
/* Responsive */
@media (max-width: 768px) {
    .video-modal {
        width: 95%;
    }
    
    .video-modal__close {
        top: -45px;
        right: 0;
        font-size: 28px;
    }
}
 
@media (max-width: 480px) {
    .video-modal__close {
        top: -40px;
        font-size: 24px;
    }
}



.gform-theme--foundation .gfield textarea.large {
    min-block-size: 100px !important;
}

form#gform_3 label span.gfield_required {
    display: none;
}

a.header-cta {
    border: 1px solid #000;
}

a.header-cta:hover {
    color: #000;
    background-color: #e0e0e0;
}



.demo-modal__content .demo-modal__form label span.gfield_required {
    display: none;
}

.postid-408 .product-video-overlay {
    background-image: linear-gradient(#00000080, #00000080), url(https://cubebox.mshstudios.com/wp-content/uploads/2026/03/68b9374c3aa21f8a58d289d3_63fe0b57627d0ef0f3a77abb_fanuc-cnc-controls-p-500-1.jpg);
    background-position: 0 0, 0 0;
    background-repeat: repeat, repeat;
    background-size: auto, cover;
}

.postid-410 .product-video-overlay {
    background-image: linear-gradient(#0000, #0000), url(https://cubebox.mshstudios.com/wp-content/uploads/2026/03/68b82d603d46d44c8a384b11_6418b594ea121a571df61dce_Showroom-Hero.png);
    background-position: 0 0, 0 0;
    background-repeat: repeat, repeat;
    background-size: auto, cover;
}


.postid-410  button#productVideoControl, .postid-408 button#productVideoControl{
    display: none;
}


div#field_3_7 label.gfield_label.gform-field-label {
    display: none;
}

.submenu li.currentactive a, ul.submenu-mobile li.currentactive a {
    color: #0082f3 !important;
}


/* ========================================
   SERVODOOR PAGE
======================================== */

/* Hero */
.servodoor-hero {
    position: relative;
    overflow: hidden;
    min-height: 580px;
}

.servodoor-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.servodoor-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servodoor-hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: flex-start;
    padding-top: 60px;
}

.servodoor-hero-content h1 {
    color: #fff;
    font-style: italic;
    line-height: 1.1;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4);
}

/* Product Sections */
.servodoor-product-section {
    padding: 60px 0;
}

.servodoor-product-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/*.servodoor-row-reverse {*/
/*    flex-direction: row-reverse;*/
/*}*/

.servodoor-product-left,
.servodoor-product-right {
    flex: 1;
}

.servodoor-product-section h2 {
    margin-bottom: 24px;
}

.servodoor-product-section h2 sup {
    font-size: 14px;
    vertical-align: super;
}

/* Diagram */
.servodoor-diagram {
    margin-bottom: 20px;
}

.servodoor-diagram img {
    width: 100%;
    height: auto;
    display: block;
}

/* Specs Table */
.servodoor-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.servodoor-specs-table thead {
    background: #2a6e8a;
}

.servodoor-specs-table th {
    font-family: var(--barlow);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    padding: 8px 16px;
    text-align: center;
}

.servodoor-specs-table td {
    font-family: var(--lato);
    font-size: 14px;
    color: var(--secundary-color);
    padding: 6px 16px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.servodoor-specs-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

/* Feature Card */
.servodoor-feature-card {
    background: #d4eaf1;
    border-radius: 10px;
    padding: 28px 24px;
    margin-bottom: 20px;
}

.servodoor-feature-card p {
    line-height: 1.6;
}

/* Logos */
.servodoor-logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 20px;
}

.servodoor-logos img {
    height: 95px;
    width: auto;
}

.servodoor-hero-bg img {
    object-fit: contain;
    object-position: right;
}


.servodoor-hero {
    position: relative;
    overflow: hidden;
    min-height: 580px;
}

/* Forma curva azul oscuro */
.servodoor-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /*background: #1a6b8a;*/
    clip-path: path('M1400,500 L1400,200 C1100,350 700,450 400,500 L1400,500 Z');
    z-index: 1;
}

/* Barra oscura superior */
.servodoor-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    /*background: #2a2a2a;*/
    z-index: 3;
}

.servodoor-hero .container {
    position: relative;
    z-index: 2;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.servodoor-hero-content {
    flex: 1;
}

.servodoor-hero-content h1 {
    color: #fff;
    font-style: italic;
    line-height: 1.05;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.35);
}

.servodoor-hero-image {
    flex: 0 0 55%;
    max-width: 55%;
    position: relative;
    z-index: 2;
}

.servodoor-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}



.shape {
    width: 100%;
    height: 446px;
    background: #c8dfe8;
    clip-path: polygon(0% 5%, 100% 0%, 100% 55%, 55% 100%, 0% 82%);
    border: none;
    filter: drop-shadow(0 0 0.5px #000);
    z-index: 10000000;
    position: absolute;
}

.servodoor-hero .container .servodoor-hero-content {
    z-index: 10000000;
    position: relative;
}

.servodoor-hero-image {
    z-index: 1000000000;
}



.servodoor-hero .container .servodoor-hero-content {
    padding-left: 35px;
}

.servodoor-hero-content h1 {
    font-style: normal;
    font-size: 80px;
    color: white;
    -webkit-text-stroke: 6px #0c406b;
    paint-order: stroke fill;
}

.servodoor-hero-image img {
    margin-top: 70px;
}

.triangle {
      z-index: 1000000000;
    width: 300px;
    height: 490px;
    clip-path: polygon(100% 35%, 1% 57%, 108% 100%);
    background: #0c406b;
    filter: drop-shadow(0 0 0.5px #000);
    position: absolute;
    right: -14px;
    top: 104px;
}

.servodoor-specs-table tr {
    background: #2a6e8a;
    color: white !important;
}

.servodoor-specs-table tbody tr:nth-child(even) {
    background: #2a6e8a;
}

.servodoor-specs-table td {
    color: white;
}

.servodoor-specs-table th {
    font-size: 20px;
}

.servodoor-specs-table td {
    font-size: 16px;
}

section.servodoor-product-section.servodoor-alt.door2 .servodoor-product-right {
    top: -146px;
    position: relative;
}

section.servodoor-product-section.door3 {
    margin-top: -300px;
}


.servodoor-product-section h2 sup {
    font-size: 33px;
    color: #ef1213;
}

/* ========================================
   AUTO DOORS PRICING TABLES
======================================== */
.auto-doors-section {
    padding: 60px 0 80px;
}

.auto-doors-section h2 {
    margin-bottom: 30px;
}

.auto-doors-table-wrap {
    overflow-x: auto;
    margin-bottom: 40px;
}

.auto-doors-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.auto-doors-table thead tr {
    background: #2a2a2a;
}

.auto-doors-table th {
    font-family: var(--barlow);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    white-space: nowrap;
    border: 1px solid #444;
}

.auto-doors-table td {
    font-family: var(--lato);
    font-size: 13px;
    color: var(--secundary-color);
    padding: 7px 14px;
    border: 1px solid #ccc;
    white-space: nowrap;
}

.auto-doors-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.auto-doors-table tbody tr:hover {
    background: #eef5f8;
}

/* Net/List Price columns - right align */
.auto-doors-table td:nth-last-child(1),
.auto-doors-table td:nth-last-child(2) {
    text-align: right;
    font-weight: 500;
}

.auto-doors-table th:nth-last-child(1),
.auto-doors-table th:nth-last-child(2) {
    text-align: right;
}

/* Parts table - smaller */
.auto-doors-parts {
    max-width: 900px;
}



.servodoor-feature-card p {
    font-size: 24px;
    color: #000;
}


.servodoor-product-right .servodoor-feature-card {
    top: 200px;
    position: relative;
}

.servodoor-feature-card p strong {
    color: #000;
}

.servodoor-feature-card {
    border-radius: 0;
    border-top-left-radius: 60px;
    border-bottom-left-radius: 60px;
}

.servodoor-feature-card {
    background: #a8c3d6;
}

.shape  {
    background: #a8c3d6;
}

section.servodoor-product-section {
    padding-top: 0;
}


table.auto-doors-table {
    border: 2px solid #000;
}


.auto-doors-table th {
    font-size: 18px;
}

.auto-doors-table td {
    font-weight: 500;
    font-size: 15px;
}

.auto-doors-parts {
    max-width: 100%;
}

.auto-doors-section {
    padding-top: 0;
}

.auto-doors-table td {
    background: white;
}

.auto-doors-table td {
    border: 2px solid #000;
}

.section__logs {
    display: flex;
    align-items: center;
    max-width: 250px;
    margin-right: 0;
    margin-left: auto;
}

.section__logs img {
    width: 100%;
}

section.servodoor-product-section:nth-child(4) {
    margin-top: -170px;
}




/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .auto-doors-section {
        padding: 40px 0 60px;
    }

    .auto-doors-table td,
    .auto-doors-table th {
        font-size: 12px;
        padding: 6px 10px;
    }
}



/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .servodoor-hero {
        min-height: 320px;
    }

    .servodoor-hero .container {
        min-height: 320px;
        padding-top: 40px;
    }

    .servodoor-product-section {
        padding: 40px 0;
    }

    .servodoor-product-row,
    .servodoor-row-reverse {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .servodoor-hero {
        min-height: 260px;
    }

    .servodoor-hero .container {
        min-height: 260px;
    }

    .servodoor-product-section {
        padding: 30px 0;
    }

    .servodoor-logos {
        justify-content: center;
    }
}

section.servodoor-product-section:nth-child(4) {
    margin-top: 0;
}





/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-slider-section .swiper {
        height: 550px;
    }
    
    .why-choose-section {
        padding: 70px 0;
    }

    .why-choose-wrap {
        gap: 40px;
    }
    
    .product-families-section {
        padding: 60px 0 80px;
    }
    
    .product-card-image {
        height: 220px;
    }
    
    .robot-software-section {
        padding: 60px 0 80px;
    }
    
    .software-card-content {
        padding: 24px 24px 32px;
    }
    
    .testimonials-section {
        padding: 60px 0 80px;
    }
    
    .footer-wrap {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-logo-col {
        flex: 0 0 100%;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .footer-col {
        flex: 0 0 calc(25% - 23px);
    }

    .footer-subscribe-col {
        flex: 0 0 calc(25% - 23px);
    }
    
    .product-hero-wrap {
        gap: 40px;
    }
    
    .blog-sidebar {
        flex: 0 0 260px;
    }

    .blog-single-wrap {
        gap: 36px;
    }
    
    .related-blog-image {
        height: 170px;
    }
    
    .hero-slider-section {
        height: 750px;
    }
    .testimonials-slider-wrap {
        width: 100% !important;
    }
    .footer-col.footer-subscribe-col {
        width: 100% !important;
        flex: 1;
    }
    
    .servodoor-hero .container {
        padding-top: 108px;
    }
    
    .servodoor-product-row {
        flex-direction: column;
    }
    
    .servodoor-product-right .servodoor-feature-card {
        top: 0;
    }
    
    .servodoor-product-row>div {
        flex: 1 0 100%;
        width: 100%;
    }
    
    .servodoor-feature-card p {
        font-size: 22px;
    }
    section.servodoor-product-section.servodoor-alt.door2 .servodoor-product-right {
        top: 0;
    }
    section.servodoor-product-section.door3 {
        margin-top: 0;
    }


}


@media (max-width: 960px) {
    .header-nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .blog-single-wrap {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .blog-single-wrap aside.blog-sidebar {
        order: 2;
    }
    section.blog-single-section {
        padding-top: 0;
    }
    aside.blog-sidebar {
        margin-top: 50px;
        margin-bottom: 50px;
    }

}







@media (max-width: 768px) {
    .hero-slider-section .swiper {
        height: 450px;
    }

    .hero-slide-content {
        padding: 0 50px;
    }


    .hero-slide-content p {
        max-width: 90%;
    }

    .hero-slider-section .swiper-button-prev,
    .hero-slider-section .swiper-button-next {
        display: none;
    }
    
    .why-choose-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .why-choose-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .why-choose-content {
        text-align: left;
    }
    .product-families-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-card:nth-child(1) { grid-column: 1 / 2; }
    .product-card:nth-child(2) { grid-column: 2 / 3; }
    .product-card:nth-child(3) { grid-column: 1 / 3; }
    .product-card:nth-child(4) { grid-column: 1 / 2; }
    .product-card:nth-child(5) { grid-column: 2 / 3; }
    
    .product-card-image {
        height: 200px;
    }
    
    .robot-software-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .testimonials-slider-wrap {
        max-width: 100%;
        padding: 0 50px;
    }
    .site-footer {
        padding: 40px 0;
    }

    .footer-wrap {
        gap: 28px;
    }

    .footer-col {
        flex: 0 0 calc(50% - 14px);
    }

    .footer-subscribe-col {
        flex: 0 0 calc(50% - 14px);
    }
    .video-hero-section { height: 70vh; }
    .video-hero-content { padding: 0 0 60px; }
    .scroll-indicator { display: none; }
    
    .our-mission-section {
        padding: 60px 0 50px;
    }

    .about-why-choose-section {
        padding: 40px 0 70px;
    }

    .about-why-choose-section h2 {
        margin-bottom: 36px;
    }

    .about-why-choose-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .about-why-choose-image {
        flex: 0 0 100%;
        max-width: 80%;
        margin: 0 auto;
    }
    
    .software-tools-section {
        padding: 60px 0 70px;
    }

    .software-tools-grid {
        flex-direction: column;
        gap: 50px;
    }
    
    .cta-banner-section {
        padding: 60px 0;
    }
    
    .robot-question-wrap {
        flex-direction: column;
        gap: 30px;
    }

    .robot-question-image {
        flex: 0 0 100%;
        max-width: 70%;
        margin: 0 auto;
    }
    
    .power-up-section {
        padding: 60px 0 70px;
    }

    .power-up-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .power-up-card-image {
        height: 180px;
    }
    
    .blog-section {
        padding: 60px 0 70px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .blog-card-image {
        height: 200px;
    }
    
    .product-hero-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .product-hero-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-video-section {
        height: 380px;
    }
    
    .models-section {
        padding: 60px 0 70px;
    }

    .models-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 550px;
        margin: 0 auto;
    }

    .model-card-image {
        height: 280px;
    }
    
    .blog-single-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .blog-sidebar {
        flex: 0 0 100%;
        position: static;
        order: 2;
    }

    .blog-single-content {
        order: 1;
    }
    
    .related-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .hero-slider-section .swiper {
        height: 80vh;
    }
    .hero-slider-section {
        height: 80vh;
    }
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .product-families-section {
        margin-top: 0;
    }
    
    .footer-col.footer-logo-col {
        padding-right: 0;
    }
    .footer-subscribe-col form {
        width: 294px !important;
    }
    
    .software-tools-col {
        margin-top: 80px;
    }
    .blog-single-section {
        padding: 60px 15px 0px !important;
    }
    section.blog-single-section {
        padding-top: 0 !important;
    }
    
    .product-video-section {
        height: 50vh !important;
    }
    
    article.blog-single-content h1 {
        font-size: 44px;
    }
    
    article.blog-single-content li {
        margin-bottom: 20px;
    }
    
    .postid-410 .product-video-overlay {
        background-position: top right;
    }
    .servodoor-hero-content h1 {
        font-size: 60px;
    }
    .servodoor-hero .container {
        padding-top: 140px;
    }

}

@media (max-width: 540px) {
    .servodoor-hero-content h1 {
        font-size: 42px;
    }
    .servodoor-hero .container .servodoor-hero-content {
        margin-bottom: 30px;
    }
    h2 {
        font-size: 34px;
    }
    .section__logs {
        margin: 0 auto;
    }
}


@media (max-width: 480px) {
    .hero-slider-section .swiper {
        height: 380px;
    }
    .why-choose-section {
        padding: 50px 0;
    }
    .product-families-grid {
        grid-template-columns: 1fr;
    }

    .product-card:nth-child(1),
    .product-card:nth-child(2),
    .product-card:nth-child(3),
    .product-card:nth-child(4),
    .product-card:nth-child(5) {
        grid-column: 1 / -1;
    }
    .product-card {
        padding: 30px 20px;
    }
    .software-card-content {
        padding: 20px 16px 28px;
    }
    .testimonials-slider-wrap {
        padding: 0 44px;
    }
    .testimonial-card {
        padding: 24px 22px 22px;
    }
    .footer-col {
        flex: 0 0 100%;
    }

    .footer-subscribe-col {
        flex: 0 0 100%;
    }

    .footer-subscribe-form {
        max-width: 280px;
    }
    .copyright-wrap {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
     .video-hero-section { height: 60vh; }
    .video-hero-content { padding: 0 0 50px; }
    .video-control { width: 40px; height: 40px; bottom: 20px; right: 20px; }
    .our-mission-section {
        padding: 50px 0 40px;
    }

    .about-why-choose-image {
        max-width: 100%;
    }
    
    .software-tools-section {
        padding: 50px 0 60px;
    }

    .software-tools-grid {
        gap: 40px;
    }
    
    .cta-banner-section {
        padding: 50px 0;
    }
    
    .robot-question-section {
        padding: 40px 0;
    }

    .robot-question-image {
        max-width: 90%;
    }
    
    .power-up-section {
        padding: 50px 0 60px;
    }

    .power-up-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-section {
        padding: 50px 0 60px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .get-in-touch-section {
        padding: 60px 0 70px;
    }

    .get-in-touch-content img {
        width: 160px;
    }
    
    .product-hero-section {
        padding: 20px 0 60px;
    }
    .product-video-section {
        height: 300px;
    }

    .product-video-control {
        width: 38px;
        height: 38px;
        bottom: 16px;
        right: 16px;
    }
    
    .models-section {
        padding: 50px 0 60px;
    }

    .model-card {
        padding: 28px 20px;
    }

    .model-card-image {
        height: 220px;
    }
    .related-blog-section {
        padding: 50px 0 60px;
    }

    .related-blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-slider-section .swiper {
        height: 70vh !important;
    }
    .hero-slider-section {
        height: 90vh !important;
    }
    .why-choose-content {
        padding-right: 0;
    }
    .robot-question-section {
        padding-top: 0 !important;
    }
    h2 {
        font-size: 35px;
        line-height: 40px;
    }
    .page-template-blog .hero-slider-section {
        height: 80vh !important;
    }
    .blog-grid {
        row-gap: 40px !important;
    }
    .related-blog-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

}