/* CSS Variables */
:root {
    --wec-blue: #25346b;
    --green-yellow: #c4d600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5),
                0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Orientation Indicator */
.orientation-indicator {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    z-index: 10000;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    display: none;
}

/* Remove touch highlight on all interactive elements */
a:active, a:focus {
    outline: 0;
    border: none;
  }

/* Link Styling */
a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)!important;
    -webkit-touch-callout: none!important;
    -webkit-user-select: none!important;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Specifically target buttons and interactive elements */
button,
.section-button,
.slide-nav-item,
.vs-tabs-tab-button,
.vs-bottom-tabs-button,
.menu-toggle,
[role="button"],
[tabindex] {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    outline: none;
}

/* Base Styles */
html {
    font-size: 1vw;
}

body {
    font-size: 1em;
    line-height: 1.5;
    font-family: "Gotham", "Gotham SSm A", "Gotham SSm B", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
    margin: 0;  
    background-color: var(--wec-blue);
    scrollbar-width: none;
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
     -ms-user-select: none;
         user-select: none;
         scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    overflow: hidden;
}

body::-webkit-scrollbar {
    display: none; /* WebKit (Chrome, Safari, newer versions of Edge) */
  }

h1, h2, h3, h4, h5, h6, p {
    margin: 0;  
    margin-block-start: 0em;
    margin-block-end: 0em;  
    line-height: 1.2;
}


/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in.animate {
    opacity: 1;
}

/* Fade In Up */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Delay Classes */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 1.0s; }
.delay-5 { transition-delay: 2.0s; }
.delay-6 { transition-delay: 3.0s; }
.delay-7 { transition-delay: 4.0s; }





/* Section Video Background */
.section-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.section-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(13, 17, 38, 0.8), 
        rgba(13, 17, 38, 0.2) 50%,
        rgba(13, 17, 38, 0.7)
    );
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.section-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgb(22, 47, 173), 
        rgba(13, 17, 38, 1) 50%,
        rgba(13, 17, 38, 1)
    );
}

/* LDES Sections */
.vs-section {
    height: 100svh;
    max-height: 100svh;
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
    /* padding: 2em 0; */
    color: white;
    overflow: hidden;
    transition: opacity 0.5s ease;
    align-items: center;
    justify-self: start;
}

.section-content {
    max-width: 92svw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    overflow-y: visible;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-top: 1em;
    box-sizing: border-box;
}

.target-landscape {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: block;
}

.target-landscape.fade-out {
    opacity: 0;
}

.target-portrait {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
    display: none;
}

.target-portrait.fade-out {
    opacity: 0;
}

.section-body-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.section-body-content.active {
    opacity: 1;
    visibility: visible;
}

.section-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.section-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-mid {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.section-mid-no-grow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 3em;
    /* flex: 1 1 auto; */
    min-height: 0;
    max-height: 100%;
    /* overflow-y: hidden; */
}

/* Hero Section */
.hero-section .section-content {
    justify-content: space-between;
    overflow: hidden;
}

.hero-text {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
}

.hero-text h1 {
    font-size: 7em;
    font-weight: 900;
}

.hero-text h2 {
    font-size: 2em;
    font-weight: 300;
}

.hero-text h2 span {
    font-weight: 600;
}

.scroll-indicator {
    margin-bottom: 0em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.scroll-indicator span {
    font-size: 1.2em;
    font-weight: 500;
    position: relative;
    top: 1em;
}

.scroll-indicator-animation {
    width: 4em;
}

/* Advantage Section */
.advantage-section .section-content {
    justify-content: flex-start;
}

.section-title {
    font-size: 5em;
    font-weight: 900;
    text-align: center;
    line-height: 1;
    margin-top: .3em;
}

.section-description {
    font-size: 1.5em;
    text-align: center;
    max-width: 50em;
    margin-top: .5em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    max-width: 94em;
    margin: 0 auto;
    /* overflow: clip; */
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    flex: 1;
    width: 100%;
}

.stat-number-container {
    text-align: center;
    padding-top: .7em;
    padding-bottom: .7em;
    background: rgba(0, 0, 0, 0.253);
    border-radius: .5em;
    border-color: #00000038;
    border-width: .2em;
    border-style: solid;
    backdrop-filter: blur(0.3em);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5em;
    flex: 1;
    width: 100%; 
    justify-content: center;
}

.stat-image {
    width: 100%;
    height: auto;
    max-height: 12.5em;
    object-fit: cover;
    border-radius: .5em;
    border-color: #ffffff38;
    border-width: .2em;
    border-style: solid;
}

.stat-number {
    font-size: 2em;
    font-weight: 900;
    line-height: 1;
    color: var(--vs-tabs-accent-color);
}

.stat-number-small {
    font-size: .7em;
}

.stat-text {
    font-size: .9em;
    text-align: left;
    line-height: 1.1;
    width: fit-content;
}

/* Today's Energy Landscape Section */
.technology-section .section-content {
    justify-content: flex-start;
}

.landscape-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10em;
    width: 100%;
    max-width: 90em;
    overflow: clip;
}


.landscape-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1em;
    padding: 1em;
    background: linear-gradient(to bottom, #00cf7c79 0%, #00000094 80%);
    border-radius: 0 0 0.5em 0.5em;
    border-top: 0.1em solid #25e100;
    /* backdrop-filter: blur(0.3em);  */
    margin-top: 1.5em;
}

.landscape-sub-grid.challenge {
    background: linear-gradient(to bottom,  #bcac0063 0%, #00000083 80%);
    border-top: 0.1em solid #caaa0e; 
}

.landscape-sub-item {
    display: flex; 
    align-items: center;
    flex-direction: column;
    gap: .5em;
    background: rgb(255 239 0 / 13%);
    border-radius: .5em;
    padding: 1em; 
    backdrop-filter: blur(0.3em);
}

.landscape-sub-item.solution {
    background: rgb(29 255 0 / 13%)
}
 
.landscape-sub-item img {
    width: 6em;
    height: 4em;
    object-fit: contain;
    flex-shrink: 0;
}

.landscape-sub-item span {
    font-size: 1em;
}

.landscape-title {
    font-weight: 600;
    font-size: 1.5em;
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    position: relative;
    padding-bottom: .5em;
}

.landscape-title::after {
    content: '';
    position: absolute;
    bottom: -0.3em;
    left: 50%;
    transform: translateX(-50%);
    width: 3em;
    height: 0.2em;
    background: #24da00;
    border-radius: 1em;
}

.landscape-title.challenge::after {
    background: #caaa0e;
}

/* Scroll Navigation */
.scroll-nav-wrapper {
    position: fixed;
    right: .5em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.section-button {
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 3vw;
    height: 2.5vw;
    display: flex;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: none;
}

.section-button:hover .dot {
    opacity: 1;
    transform: scale(1.2);
}

.section-button::before {
    content: attr(data-section-name);
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 1em;
    background: var(--wec-blue);
    color: rgb(255, 255, 255);
    padding: 0.3em 0.7em;
    border-radius: .3em;
    font-size: 0.8em;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.section-button::after {
    content: '';
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%);
    border-left: 0.5em solid white;
    border-top: 0.5em solid transparent;
    border-bottom: 0.5em solid transparent;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.section-button:hover::before {
    right: 100%;
    opacity: 1;
}

.section-button:hover::after {
    right: calc(100% - 0.2em);
    opacity: 1;
}

.section-button:not(:hover)::before {
    right: 80%;
    opacity: 0;
}

.section-button:not(:hover)::after {
    right: 80%;
    opacity: 0;
}

/* Hide tooltips when touch input is being used */
.using-touch .section-button::before,
.using-touch .section-button::after {
    display: none;
}

.using-touch .section-button:hover::before,
.using-touch .section-button:hover::after {
    display: none;
}

.section-button.clicked::before,
.section-button.clicked::after {
    opacity: 0 !important;
    transition: none !important;
}

.section-button.disabled {
    cursor: default;
    pointer-events: none;
}

.dot {
    opacity: .6;
    background-color: #fff;
    border-radius: 10vw;
    width: .5vw;
    height: .5vw;
    transition: all .3s ease;
}

.dot.on {
    box-shadow: 0 0 0 1px var(--wec-blue), 0 0 0 4px var(--green-yellow);
    opacity: 1;
    background-color: #fff;
    transform: scale(1.2);
}

/* Section Transitions */
.vs-section.fade-out {
    opacity: 0;
}

/* Westinghouse Logo */
.westinghouse-logo {
    position: fixed;
    top: 1em;
    right: 2em;
    z-index: 1002;
    width: 8em;
    height: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.westinghouse-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vs-tabs-main {
    position: relative;
}

.how-it-works-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/How-It-Works-text-2.svg');
    background-size: contain;   
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
    opacity: 0.8;
}

.how-it-works-section {
    position: relative;
    background-image: url('../images/how-it-works-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.how-it-works-section .section-gradient-bg {
    display: none;
}

.stats-grid.mobile {
    display: none;
}

.target-landscape .landscape-desktop{
    display: block;
}

.target-landscape .landscape-mobile{
    display: none;
}

.siting-sustainability-section .vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.6) 100%);
}

.target-portrait .siting-sustainability-section .vignette-overlay {
    display: none;
}

.siting-sustainability-section {
    position: relative;
}


.lottie-container {
    max-width: 90vw;
    max-height: 100%;
}

.siting-sustainability-lottie {
    width: 85svw;
    object-fit: contain;
    max-width: 90vw;
    max-height: 70svh;
}

.cost-effective-lottie {
    width: 85svw;
    object-fit: contain;
}

.footer-content-wrapper {
    z-index: 2;
    width: 100%;
    height: 100%;
    grid-column-gap: 3vw;
    text-align: center;
    background-color: #25346a;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    display: flex;
  }
  
  .social-wrapper {
    grid-column-gap: 1.5em;
    align-items: center;
    display: flex;
  }
  
  
  .footer-text {
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0;
    font-family: Gotham Book, sans-serif;
    font-size: .9em;
    line-height: 1.2em;
  }
  
  .footer-text._2 {
    font-size: 1em;
    line-height: 1em;
  }
  
  .footer-text.small {
    font-size: .7em;
  }
  
  .footer-top {
    grid-row-gap: 2em;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 1em 3em 4em;
    display: flex;
  }
  
  .footer-bottom {
    max-width: 70vw;
    color: #7683af;
    border-top: 1px solid #7583b5;
    justify-content: center;
    padding-top: 1em;
    padding-bottom: 1em;
    display: flex;
  }
  
  .footer-icon {
    width: 2.3em;
  }

  .button.text-only {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: rgba(0, 0, 0, 0);
    border-style: none;
    text-decoration: none;
  }

  .button.text-only:hover{
    text-decoration: underline;
  }
  
  .button-text {
    margin-top: .8vw;
    margin-bottom: .7vw;
    font-family: Yantramanav, sans-serif;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    font-size: 1.2em;
  }

  .logo-wrapper {
    width: 20vw;
    min-width: 200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}