/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,600&display=swap');
/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
p {
    line-height: 1.4;
}

body {
    font-family: 'Assistant', Arial, sans-serif;
    direction: rtl;
    background-color: #fff;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1231px;
    margin: 0 auto;
}

/* HEADER */
header {
    background-color: transparent;
    padding: 10px 0;
    min-height: 124px;
    display: flex;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    max-height: 60px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Logo on left, icons on right */
    /* Icons Wrapper */
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 0;

}

.icon-block:first-child {
    border-left: 2px solid #CEE599;
}

/* Each Icon + Text Pair */
.icon-block {
    display: flex;
    align-items: center;
    min-width: 265px;
    padding: 10px;
    min-height: 80px;
    justify-content: center;
    gap: 5px; /* Space between icon and text */
}

.icon-block img {
    height: 40px;
    width: auto;
}
.icon-block a{
    display: flex;
    align-items: center;
    gap:10px;
}

.icon-block span {
    font-size: 0.9rem; /* Adjust text size as desired */
    color: #333; /* Adjust text color */
}

/* HERO */
.hero {
    position: relative;
    background: url('assets/img/wave-hero-bg-with-shadow.svg') no-repeat center center;
    background-size: cover;
    padding: 40px 0;
    min-height: 550px;
}

.hero-inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: flex-start;
}

.hero-image {
    order: 1;
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    position: relative;
    flex-direction: column;
    max-width: 300px;
    }

.hero-image video {
    max-width: 300px;
    width: 100%;
    /* position: absolute;
    top: -65px; */
    margin-top: -65px;
    z-index: 5;
    border-radius: 10px;
    box-shadow: 0px 0px 40px 0px #000;
    /* border: 2px solid #000; */
}
button#playBtn {
    z-index: 5;
}
.overlay-play-btn {
    position: absolute;
    top: 230px;
    left: 50%;
    transform: translate(-50%, -50%);
    /* A semi-transparent white circle */
    background: rgba(255, 255, 255, 0);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-play-btn img {
    max-width: 100px;
}
.hero-text {
    flex: 1 1 300px;
    text-align: right;
    color: #000; /* black text */
    order: 2;
    margin-left: auto;
    margin-right: 0;
}

.hero-text h1 {
    padding-right: 75px;
    font-size: 57px;
    margin-bottom: 10px;
}

.hero-text .title-bigger {
    font-weight: 800;
    font-size: 80px;
    line-height: 57px;
    letter-spacing: 2%;
    text-align: right;
}

/* USAGE SECTION */
.usage {
    text-align: right;
    padding: 40px 0;
    letter-spacing: 0;
    line-height: 1.4;
}

.usage h2 {
    color: #CB333B;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 30px;
}

.usage p {
    font-weight: 600;
    font-size: 20px;
}

/* VIDEO SECTION */
.video-section {
    padding: 40px 0;
}

.tab-buttons {
    list-style: none;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.tab-buttons li {
    padding: 10px 20px;
    cursor: pointer;
    place-content: center;
    border: 1px solid transparent;
    width: 100%;
    text-align: center;
    background-color: #CEE599;
    height: 80px;
    font-weight: 700;
    font-size: 21px;
    line-height: 1.4;
    letter-spacing: 0;

}

.tab-buttons li:not(:first-child):not(:last-child) {
    border-left: 1.5px solid #84BD00;
    border-right: 1.5px solid #84BD00;
}

.tab-buttons li.active {

    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background-color: white;
    box-shadow: 0px 0px 6px 0px #00000040;
}

.video-wrapper {
    position: relative;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 6px 0 #00000040;
    padding: 21px;
}

.video-wrapper::before {
    position: absolute;
    content: "";
    width: 100%;
    left: 0;
    height: 20px;
    background: white;
    top: -10px;
    z-index: 10;
}

.video-wrapper h3 {
    margin-bottom: 20px;
    color: #fff; /* White text on green background */
    font-size: 1.2rem;
}

#videoPlayer {
    max-width: 1189px;
    width: 100%;
}
.video-disclaimer{
    padding: 20px 0;
    text-align: right;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #00000080;
}
/* patient-information SECTION */
.patient-information{
    display: flex;
    flex-direction: row;
}
.pen-wrapper {
    text-align: left;
    padding: 40px 0;
}

.pen-wrapper img {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.pen-wrapper p {
    line-height: 1.6;
}

/* DISCLAIMER & DOWNLOAD */
.disclaimer-wrapper {
    width: calc(100% - 300px);
    text-align: right;
    padding: 40px 0;
}

.disclaimer-wrapper h2 {
    margin-bottom: 20px;
    color: #CB333B;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: 0;

}

.disclaimer-wrapper p {
    margin-bottom: 15px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0%;
    text-align: right;

}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background: #84BD00;
    color: #fff;
    width:100%;
    max-width: 350px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 6px 0px #00000040;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Assistant', Arial, sans-serif;
    margin-bottom: 30px;

}

.small-links a {

    margin: 0 5px;
    font-size: 0.9rem;
}

/* FOOTER */
footer{
    background-color: #ECCB7499;

}
footer .footer-container{

    text-align: center;
    padding: 20px 0;
}
.footer-notes p{
    margin-bottom: 10px;
}
.footer-notes p a{
    text-decoration: underline;

}
footer .small-links{
    color: #000;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;

}
.footer-container img {
    max-height: 50px;
}
.footer-logo{
    width: 100%;
    height: 72px;
    place-content: center;
    text-align: center;
    background-color: #2B2D2A;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    header .header-content{
        flex-direction: column;
    }
    header .icon-block{
        min-width:45%;
    }
    .hero{
        background-size: 130%;
        background-position-y: 30%;
    }
    .hero-inner {
        flex-direction: column;
        justify-content: center;

    }
    .hero-inner .hero-text{
        text-align: center;
    }

    .hero-text {
        margin: 0;
        text-align: center;
        margin-bottom: 20px;
    }
    .hero-text h1{
        padding-right: unset;
    }
    .hero-image {
        margin-bottom: 20px;
        align-self: center;
    }
    .hero-image video{
        position: relative;
        top:unset;
        margin: 0 auto;

    }


    #videoPlayer {
        height: auto;
    }
    .disclaimer-wrapper{
        width: 100%;
    }
    .patient-information{
        flex-direction: column;
    }
}

/* ======================================= */
/*          POPUP-RELATED STYLES          */
/*    Extracted from 2017-main.css         */
/* ======================================= */

/* --- Approach #1: .popup-container, .popup-mask, .popup-content --- */

.popup-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: none;
    transition: opacity 0.2s ease-out;
}

.popup-container.active {
    display: block;
    pointer-events: auto;
}

.popup-mask {
    background: rgba(0, 0, 0, 1);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.popup-content {
    background: #fff;
    position: absolute;
    top: 100px;
    right: 10px;
    bottom: -20px;
    left: 10px;
    width: 90%;
    margin: auto;
    padding: 10px;
    transition: all 0.2s ease-out;
    overflow-y: auto;
}


.popup-wide {
    width: 720px; /* Optional: a wider popup variant */
}
.disclaimer-image {
    width: 100%;
}
.general-content {
    padding: 15px;
}
.general-content .sub-title{
    font-size: 20px;
}
.general-content .general-text {
    font-size: 16px;
    color: #333333;
    line-height: 1.4;
}

.popup-form {
    margin:0 auto;
    padding:0;
    margin-top: 25px;
    width:98% !important;
    display: table;
}

.form_key {
    padding: 15px 10px 15px 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border: 1px solid #333333;
    border-left: 1px solid #F28702;
    margin-bottom: 15px;
    max-width:60%;
}

.form_key:target {
    outline: 1px solid #F28702 !important;
    border: inherit;
    border-left: 1px solid #F28702 !important;
}

.submit-btn {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    background: #F28702;
    border: 2px solid #F28702;
    padding: 15px;
    font-size: 14px;
    max-width: 40%;
}
.footer-disc-text a, .footer-disc-text {
    font-size: 12px;
    color: #242323;
    line-height: 1.4;
    text-align: center;
    padding-top: 5px;
    margin: 6px 0;
}

.footer-disc-text.last {
    font-size: 11px;
}
.footer-disc-text a{
    text-decoration: underline;
}

.space-text {
    margin-bottom: 40px;
}

.mobhide {
    display: none;
}
/* Popup box BEGIN */
.hover_bkgr_fricc {
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: none;
    height: 100%;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 10000;
}

.hover_bkgr_fricc .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.hover_bkgr_fricc .popup-wrapper {
    background-color: #f0efed;
    box-shadow: 10px 10px 60px #555;
    display: inline-block;
    height: auto;
    max-width: 551px;
    min-height: 100px;
    vertical-align: middle;
    width: 60%;
    position: relative;
    border-radius: 8px;
    padding: 15px 3%;
    text-align: left;
}

.popupCloseButton {
    border: 1px solid #15717d;
    border-radius: 50px;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    line-height: 1.4;
    width: 25px;
    height: 25px;
    text-align: center;
    color: #15717d;
}

.popupCloseButton:hover {
    background-color: #ccc;
}

.trigger_popup_fricc {
    cursor: pointer;
    font-size: 20px;
    margin: 20px;
    display: inline-block;
}

/* Popup box END */

/* --- Buttons inside the popup (optional) --- */
.continu_btn {
    display: block;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: #15717d;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    margin: 0 !important;
    width: 70px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.popup_goback {
    text-decoration: none;
    cursor: pointer;
    margin: 0 !important;
    right: 30px;
    bottom: 10px;
    position: absolute;
}
.gsk_logo_2021 {
    max-width: 70px;
    position: absolute;
    right: 30px;
    top: 30px;
}

/* --- Media Queries that affect the popup --- */
@media (max-width: 768px) {
    .hover_bkgr_fricc .popup-wrapper {
        width: 80%;
    }

    .popup-wrapper h2 {
        font-size: 20px;
    }
    .popup-container.active, .popup-content {
        padding: 0;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        overflow: hidden;
    }
}

@media (min-width: 1024px) {
    .popup-container.active .popup-content {
        top: 50px;
        bottom: 50px;
        overflow: hidden;
        padding: 0;
    }
    .popup-content {
        height: 630px;
        max-width: 1400px;
    }
    .popup-wrapper {
        display: flex;
        flex-direction: row-reverse;
    }

    .disclaimer-image {
        content: url('../assets/img/disc_desk.png');
    }



    #logo img {
        width: 100%;
        max-width: 105px;
    }



    .popup-container {
        text-align: center;
    }

    .popup-content {
        border: none;
    }

    .img-header {
        max-width: 42%;
    }

    .general-content {
        width: 58%;
    }

    .general-content .general-title {
        text-align: center;
        padding-top: 100px;
        line-height: 1.4;
        font-size: 35px;
    }

    .general-content .sub-title {
        font-size: 30px;
        text-align: center;
        color: #F28702;
        margin-bottom: 15px;
    }

    .footer-disc-text, .footer-disc-text.last {
        font-size: 13px;
    }

    .space-text {
        margin-bottom: 10px;
    }

    .popup-content {
        height: 630px;
        max-width: 1400px;
    }

    .popup-mask {
        background: rgba(0, 0, 0, 0.5);
    }
    .submit-btn {
        border: 1px solid #F28702;
    }
    .mobhide {
        display: block;
    }
}

.external-link-text {
	font-size:14px !important;
}

.video-transcript-dropdown {
    font-size: 16px;
    direction: rtl;
}

.video-transcript-dropdown summary {
    cursor: pointer;
    font-weight: bold;
    padding: 0.5em 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5em;
    user-select: none;
}

.video-transcript-dropdown[open] .toggle-icon {
    content: "-";
}

.toggle-icon {
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    width: 1em;
    text-align: center;
    transition: transform 0.2s ease;
}

.video-transcript-dropdown[open] .toggle-icon::before {
    content: "−";
}

.video-transcript-dropdown:not([open]) .toggle-icon::before {
    content: "+";
}

.transcript-content {
    padding: 0.5em 1em;
    background-color: #f9f9f9;
    border-right: 4px solid #ff6600;
    margin-top: 0.5em;
    position: absolute;
    z-index: 999;
    box-shadow: -4px 6px 12px rgba(0, 0, 0, 0.2);
}



@media (max-width: 768px) {
    .video-wrapper {
        padding: 0;
    }
    .tab-buttons li {
        height: 60px;
    }

    .hero {
        padding-bottom: 0;
    }
    .usage {
        padding-top: 10px;
    }

    .disclaimer-wrapper {
        padding: 20px 0;
    }

    .pen-wrapper img {
        margin: 0 auto;
    display: table;
    max-width: 200px;
    }

    .pen-wrapper {
        padding: 20px 0;
    }

    .hero-text h1 {
        font-size: 50px;
    }
    .hero-text .title-bigger {
        font-size: 60px;
    }

    .hero-text {
        flex: 1 1 230px;
    }
    footer .footer-container {
        padding: 5px 0;
    }
    footer .footer-container p {
        font-size: 12px;
    }

    .hero-image video {
        max-width: 260px;
    }

    .usage.container {
        padding-bottom: 0;
    }

    .video-section {
        padding-bottom: 0;
    }

}
