/* GLOBAL SETTINGS */
   #motionhero-main {
       font-family: 'Montserrat', sans-serif;
       color: #111;
       overflow-x: hidden;
       background-color: #8B4513;
   }

   #motionhero-main .mh-hero,
   #motionhero-main .mh-section-2 {
       margin: 0 !important;
       padding-top: 0 !important;
   }

   #motionhero-main .mh-hero + .mh-section-2 {
       margin-top: 0 !important;
   }

.mh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.mh-narrow {
    max-width: 800px;
}

/* SECTION 1: HERO */
.mh-hero {
    position: relative;
    height: var(--mh-hero-h-desk) !important;
    min-height: unset !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    margin: 0;
    padding: 0;
}

/* Desktop hero layout: headings at top, button at bottom */
@media (min-width: 769px) {
    .mh-hero {
        align-items: stretch;
        padding: 0;
        margin-bottom: 0;
    }

    .mh-hero-bg-container {
        margin-bottom: 0;
    }

    .mh-hero-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
        align-items: center;
    }

    .mh-subheading {
        margin-top: 40px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .mh-heading {
        margin-top: 10px;
        margin-bottom: auto;
        flex-shrink: 0;
    }

    .mh-btn {
        margin-top: auto;
        margin-bottom: 40px;
        align-self: center;
        flex-shrink: 0;
    }

    .mh-slide {
        background-position: top center;
    }

    .mh-hero-video {
        object-position: top center;
    }
}

.mh-hero-bg-container {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    z-index: 1;
}

.mh-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center var(--mh-hero-focus);
}

.mh-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-desk);
    background-size: cover;
    background-position: center var(--mh-hero-focus);
    opacity: 0;
    z-index: 1;
}

.mh-slide.active {
    opacity: 1;
    z-index: 2;
}

.mh-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-desk);
    background-size: cover;
    background-position: center var(--mh-hero-focus);
    opacity: 1;
    z-index: 1;
}

.mh-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.mh-hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.mh-subheading {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mh-heading {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.mh-btn {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mh-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.mh-btn:hover::before {
    transform: translateX(0);
}

.mh-btn:not(:hover)::before {
    transform: translateX(100%);
}

.mh-btn:hover {
    color: #000;
}

/* SECTION 2: SUBSCRIBE */
.mh-section-2 {
    padding: 0;
    background: #fff;
    margin-top: 0;
    height: 350px;
    display: flex;
    flex-direction: column;
}

.mh-section-2 .mh-marquee-banner {
    margin-top: 0;
    margin-bottom: 0;
}

.mh-section-2 .mh-container {
    margin-top: auto;
    margin-bottom: auto;
}

.mh-s2-heading {
    font-size: 44px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    color: #000;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

.mh-s2-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

/* Marquee Banner for Section 2 */
.mh-marquee-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    padding: 14px 0;
    margin-bottom: 20px;
    z-index: 10;
}

    .mh-marquee-track {
        display: flex;
        white-space: nowrap;
        will-change: transform;
        animation: mh-marquee-scroll 16.67s linear infinite;
    }

.mh-marquee-banner:hover .mh-marquee-track {
    animation-play-state: paused;
}

.mh-marquee-text {
    display: inline-block;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
    padding-right: 2px;
}

.mh-marquee-banner:hover .mh-marquee-text {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

@keyframes mh-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer Marquee */
.mh-footer-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    padding: 14px 0;
    margin: 0;
    z-index: 10;
}

.mh-footer-marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: mh-footer-marquee-scroll 20s linear infinite;
}

.mh-footer-marquee:hover .mh-footer-marquee-track {
    animation-play-state: paused;
}

.mh-footer-marquee-text {
    display: inline-block;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
    padding-right: 2px;
}

    .mh-footer-marquee:hover .mh-footer-marquee-text {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
    }

    @keyframes mh-footer-marquee-scroll {
        0% {
            transform: translateX(-50%);
        }
        100% {
            transform: translateX(0);
        }
    }

    /* Mobile Responsive for Footer Marquee */
@media (max-width: 768px) {
    .mh-footer-marquee-track {
        animation-duration: 10s;
    }
    .mh-footer-marquee-text {
        font-size: 10px;
        letter-spacing: 2px;
    }
}

/* Black button variant for Section 2 */
.mh-btn-black {
    background: transparent;
    color: #000;
    border: 2px solid #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    line-height: 1;
    min-height: 45px;
}

.mh-btn-black::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.mh-btn-black:hover::before {
    transform: translateX(0);
}

.mh-btn-black:not(:hover)::before {
    transform: translateX(100%);
}

.mh-btn-black:hover {
    color: #fff;
}

/* SECTION 3: SOCIALS */
.mh-section-3 {
    position: relative;
    height: 550px;
    color: #fff;
    overflow: hidden;
    background: #fff;
}

/* Rotating Circle Text - Desktop Only */
.mh-rotating-circle-text {
    position: absolute;
    top: 60px;
    right: 40px;
    z-index: 5;
}

.mh-rotating-text {
    animation: mh-circle-rotate 12s linear infinite;
    transform-origin: 100px 100px;
    transition: animation-duration 0.3s ease;
}

.mh-rotating-circle-text:hover .mh-rotating-text {
    animation-duration: 20s;
}

@keyframes mh-circle-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.mh-s3-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    background-image: var(--bg-desk);
    background-size: cover;
    background-position: center var(--mh-sec3-focus);
    z-index: 1;
}

.mh-s3-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.mh-section-3 .mh-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 20px;
    box-sizing: border-box;
}

.mh-s3-text {
    position: relative;
    z-index: 3;
    font-size: 18px;
    margin-bottom: 20px;
}

.mh-s3-trusted {
    position: relative;
    z-index: 3;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 15px;
}

/* Social Media Icons */
.mh-social-icons {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.mh-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.mh-social-icon:hover {
    transform: scale(1.15);
    opacity: 1;
}

.mh-social-icon svg path {
    transition: fill 0.3s ease;
}

.mh-social-icon:hover svg path {
    fill: #fff;
}

/* Section 4 - Black Social Media Icons */
.mh-social-icons.s4 {
    margin-top: 10px;
    margin-bottom: 20px;
}

.mh-social-icon--black {
    opacity: 0.7;
}

.mh-social-icon--black:hover {
    opacity: 1;
}

.mh-social-icon--black svg rect,
.mh-social-icon--black svg circle {
    stroke: #111;
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.mh-social-icon--black svg path,
.mh-social-icon--black svg circle[fill] {
    fill: #111;
    transition: fill 0.3s ease;
}

.mh-social-icon--black:hover svg rect,
.mh-social-icon--black:hover svg circle {
    stroke: #111;
}

.mh-social-icon--black:hover svg path,
.mh-social-icon--black:hover svg circle[fill] {
    fill: #111;
}

/* SECTION 4: FOOTER TEXT */
.mh-section-4 {
    padding: 80px 0;
    background: #fff;
}

.mh-s4-logo {
    max-width: 100px;
    margin-bottom: 30px;
    border-radius: 50%;
}

.mh-s4-text {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 40px;
}

.mh-s4-sig {
    max-width: 200px;
    margin-bottom: 10px;
}

.mh-s4-brand {
    font-size: 12px;
    letter-spacing: 3px;
    color: #888;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .mh-hero {
        height: var(--mh-hero-h-mob) !important;
        min-height: unset !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        margin-bottom: 0;
    }

    .mh-hero-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .mh-subheading {
        margin-top: 16px;
        text-align: center;
    }

    .mh-heading {
        font-size: 36px;
        margin-top: 8px;
        margin-bottom: 0;
        text-align: center;
    }

    .mh-s2-heading {
        font-size: 30px;
    }

    .mh-btn {
        margin-top: auto;
        margin-bottom: 40px;
        align-self: center;
        width: auto;
        padding: 12px 10px;
        border-radius: 0;
        font-size: 10px;
    }

    .mh-slide {
        background-image: var(--bg-mob);
    }

    .mh-hero-image {
        background-image: var(--bg-mob);
    }

    .mh-s3-bg {
        background-image: var(--bg-mob);
    }

    .mh-s3-heading {
        font-size: 42px;
    }

    .mh-s3-box {
        padding: 40px 15px;
        border: 2px solid #fff;
    }

    .mh-section-3 {
        height: 500px;
    }

    .mh-section-3 .mh-container {
        justify-content: flex-end;
        padding-bottom: 25px;
    }

    .mh-marquee-track {
        animation-duration: 10s;
    }

    .mh-marquee-text {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .mh-marquee-banner {
        padding: 10px 0;
    }
    
    /* Hide rotating circle text on mobile */
    .mh-rotating-circle-text {
        display: none;
    }
}

/* --- START: Login Section Styling (Purple/Pink Gradient Design) --- */

/* 1. Main Container */
#slab-login-container {
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative shapes on left side */
#slab-login-container::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 60%;
    height: 300px;
    background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=800&q=80') center/cover no-repeat;
    opacity: 0.3;
    transform: rotate(-15deg);
    border-radius: 40px;
}

/* 2. Login Card - Two Column Layout */
.slab-login-card {
    display: flex;
    width: 100%;
    max-width: 1100px;
    min-height: 500px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Left side - Welcome content with gradient overlay */
.slab-login-welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 40%, #ec4899 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}

/* Decorative orange/pink accents */
.slab-login-welcome::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: url('https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=600&q=80') center bottom/cover no-repeat;
    opacity: 0.6;
    mix-blend-mode: overlay;
}

.slab-login-welcome::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    border-radius: 50px;
    transform: rotate(-30deg);
    opacity: 0.7;
}

.slab-welcome-title {
    position: relative;
    z-index: 2;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #ffffff;
}

.slab-welcome-text {
    position: relative;
    z-index: 2;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
    max-width: 400px;
}

/* 3. Right side - Login Form */
.slab-login-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 50px;
    max-width: 480px;
}

.slab-login-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. Input Groups with rounded inputs */
.slab-input-group {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.slab-input-group input[type="text"],
.slab-input-group input[type="password"],
.slab-input-group input[type="email"] {
    width: 100%;
    padding: 14px 20px 14px 50px;
    background: rgba(124, 58, 237, 0.08);
    border: none;
    border-radius: 30px;
    color: #7c3aed;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.slab-input-group input::placeholder { 
    color: rgba(124, 58, 237, 0.4);
    font-weight: 400;
}

.slab-input-group input:focus {
    outline: none;
    background: rgba(124, 58, 237, 0.12);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.slab-input-icon {
    position: absolute;
    left: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slab-input-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #7c3aed;
    stroke-width: 2;
    opacity: 0.6;
}

/* 5. Remember Me & Forgot Password */
.slab-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin-bottom: 25px;
    font-size: 12px;
}

.slab-remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: rgba(124, 58, 237, 0.7);
}

.slab-remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #7c3aed;
    cursor: pointer;
}

.slab-forgot-password {
    color: rgba(124, 58, 237, 0.5);
    text-decoration: none;
    font-style: italic;
    transition: color 0.3s ease;
}

.slab-forgot-password:hover {
    color: #7c3aed;
}

/* 6. Login Button - Gradient pill */
.slab-submit-group {
    width: 100%;
    max-width: 280px;
}

.slab-login-btn {
    width: 100%;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.35);
}

.slab-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.45);
}

/* 7. Register link */
.slab-register-now {
    margin-top: 25px;
    font-size: 12px;
    color: rgba(124, 58, 237, 0.5);
}

.slab-register-now a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.slab-register-now a:hover {
    color: #ec4899;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #slab-login-container {
        padding: 40px 15px;
    }
    
    #slab-login-container::before {
        display: none;
    }
    
    .slab-login-card {
        flex-direction: column;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .slab-login-welcome {
        padding: 40px 30px;
        border-radius: 12px 12px 0 0;
        text-align: center;
        min-height: auto;
    }
    
    .slab-welcome-title {
        font-size: 28px;
    }
    
    .slab-welcome-text {
        font-size: 14px;
        text-align: center;
        max-width: 100%;
    }
    
    .slab-login-form-wrapper {
        padding: 40px 30px;
        max-width: 100%;
    }
    
    .slab-input-group,
    .slab-form-options,
    .slab-submit-group {
        max-width: 100%;
    }
    
    .slab-login-title {
        font-size: 16px;
    }
}

/* --- END: Login Section Styling (Purple/Pink Gradient Design) --- */
