
/* Enable native smooth scrolling for all anchor links on the page */
html {
    scroll-behavior: smooth;
}
.rare-hero {
    /* Apply the variable with the gradient overlay */
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), var(--hero-bg-mobile);
    background-size: cover;
    background-position: center;
      background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    min-height: 95vh;
}

/* Switch to desktop variable at the standard Bootstrap lg breakpoint */
@media (min-width: 992px) {
    .rare-hero {
      background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), var(--hero-bg-desktop);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
}
.hero-description {
    padding-bottom: 100px;
}
.rare-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 1px;
}
.hero-btns {
	gap: 15px;
	margin: 50px 0 -50px 0;
}
	

/* Typography & Utilities */
.subtitle-small {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.text-light-grey { color: #666; }
.border-top-custom { border-top: 1px solid #e0e0e0; }
.border-bottom-custom { border-bottom: 1px solid #e0e0e0; }

/* Buttons */
.btn-rare-white {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-rare-white:hover { background-color: transparent; color: #ffffff; }

.btn-rare-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.btn-rare-outline:hover { background-color: #ffffff; color: #000000; }

.btn-rare-black {
    background-color: #000000;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #000;
    transition: all 0.3s ease;
}
.btn-rare-black:hover { background-color: transparent; color: #000000; }

/* Play Button Overlay */
.video-container { position: relative; display: block; }
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.play-btn:hover { transform: translate(-50%, -50%) scale(1.05); }


/* Ticker Container */
.ticker-wrap { 
    display: flex; 
    align-items: center; 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    scrollbar-width: none; 
    gap: 2rem; 
    padding: 20px 0; /* Adds a nice margin off the edge of the screen */
    cursor: grab; /* Shows desktop users a hand icon to imply dragging */
}
    
  /* ==========================================================================
 Infinite Auto-Scrolling Ticker
 ========================================================================== */

/* Prevent page horizontal scrollbars */
.ticker-section {
    overflow: hidden;
    white-space: nowrap;
}

/* Ensure the wrapper calculates flex correctly */
.ticker-marquee {
    overflow: hidden;
}

/* * The track logic: 
 * min-width: 100% guarantees it's always as wide as the screen.
 * animation creates the continuous left-ward slide.
 */
.ticker-content {
    min-width: 100%;
    justify-content: space-around;
    animation: marqueeScroll 50s linear infinite;
}

/* Optional UX Enhancement: Pause the ticker if a user hovers over it to read */
.ticker-marquee:hover .ticker-content {
    animation-play-state: paused;
}

.ticker-item {
	font-size: 2.1em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hardware-Accelerated Keyframe Animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


.video-container {
    padding: 0 48px 0 0 !important;
}
.founder-quote {
	padding: 0 48px !important;
}

	/* List Lines */
    .line-item {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }
    .line-item:last-child { border-bottom: none; }

	.webinar-bar {
		padding-top: 40px;
		padding-bottom: 40px;
	}

    /* Custom Bootstrap 5 Carousel Indicators */
    #industry-leaders-carousel .carousel-indicators button {
        opacity: 0.3; /* Grayed out */
        transition: opacity 0.2s ease;
    }
    #industry-leaders-carousel .carousel-indicators button.active {
        opacity: 1; /* Solid Black */
    }

	/* Form */
	.row.py-5.align-center.justify-content-center {
    	max-width: 100%;
    }

	/* RESPONSIVE */

    /* Ticker Items - Desktop (Shows ~2.5 items) */
    @media (min-width: 992px) {
        .ticker-item {
            /* Using Viewport Width (vw) guarantees the ratio on any monitor size */
            flex: 0 0 36vw; 
            text-align: center;
        }
    }

	
	@media (max-width: 480px) {
		.rare-hero {
			margin-top: -2px;
		}
		.hero-description {
		padding-bottom: 20px;
		}
		.hero-btns {
			margin: 40px 0 -40px 0;
		}
		.ticker-item { 
        font-size: 1.5rem; 
		}
		.row.mb-5 {
            margin-bottom: 0 !important;
        }
		#rare-difference .mb-4 {
			margin-bottom: 0 !important;
		}
		section#founder-quote {
			margin-top: 0 !important;
            padding: 0 !important;
        }
		.video-container {
            padding: 0 !important;
        }
		.founder-quote {
			padding: 0 !important;
		}
		section#industry-leaders {
            padding-bottom: 0 !important;
        }
		#industry-leaders .video-container {
            padding: 0;
        }
		.webinar-btn-cta {
    		padding: 0 0 10px 20px !important;
		}
		.dark-mode {
            margin-right: -45px;
			padding: 0 !important;
        }
	}
	