@font-face {
    font-family: 'Altone Trial';
    src: url("/fonts/AltoneTrial-Regular.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 0.3vw;
}

::-webkit-scrollbar-track {
    background: transparent;
    /* Color of the scrollbar track */
    border-radius: 2px;
    /* Optional: round the corners */
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
    /* Optional: round the corners */
}

html {
    scroll-behavior: smooth;
    font-family: "Altone Trial", sans-serif;
    font-size: 1.2vw;
}

:root {
    --primary: #333333;
    --secondary: #f25100;
}

body {
    position: relative;
    margin: 0;
}

a {
    text-decoration: none;
    color: #000;
    font-size: 1.2vw;
    text-transform: capitalize;
}

/* GLOBAL STYLE */
.container-large {
    max-width: 80vw;
    width: 100vw;
    margin: auto;
}

.text-change {
    background: var(--primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary {
    border: 0.1vw solid #333333;
    border-radius: 50px;
    background-color: #333333;
    color: #fcf6f6;
    padding: 0.1vw;
    height: 3.5vw;
    width: max-content;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.h-btn-primary {
    border: 0.1vw solid #ffff;
    border-radius: 50px;
    background-color: #ffff;
    color: #333333;
    padding: 0.1vw;
    height: 3.5vw;
    width: max-content;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gradient-primary {
    z-index: 0;
    background-image: radial-gradient(circle closest-side at 50% 50%, #fcf6f6, rgba(37, 56, 119, 0));
    opacity: 0;
    border-radius: 50px;
    width: 7vw;
    height: 7vw;
    transition: transform 0.2s, opacity 0.2s;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    transform: translate(-50%, 50%);
}

.h-gradient-primary {
    z-index: 0;
    background-image: radial-gradient(circle closest-side at 50% 50%, rgba(37, 56, 119, 0)), #fcf6f6;
    opacity: 0;
    border-radius: 50px;
    width: 7vw;
    height: 7vw;
    transition: transform 0.2s, opacity 0.2s;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    transform: translate(-50%, 50%);
}

.reg {
    background: #333333;
    padding: 0.25vh 1.5vw;
    color: #fcf6f6;
    outline: none;
    font-family: "Altone Trial", sans-serif;
    font-size: 1.2vw;
    border: 0.1vw solid #333333;
    border-radius: 50px;
    z-index: 2;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.h-reg {
    background: #ffff;
    padding: 0.3vh 1.5vw;
    color: #333333;
    font-weight: bold;
    outline: none;
    font-family: "Altone Trial", sans-serif;
    font-size: 1.2vw;
    border: 0.1vw solid #fff;
    border-radius: 50px;
    z-index: 2;
    height: 100%;
    position: relative;
    cursor: pointer;
}


.btn-primary:hover .gradient-primary {
    opacity: 1;
    animation: go-around 5s linear infinite;
}

@keyframes go-around {

    0% {
        left: 0;
        bottom: 0;
    }
    25% {
        left: 0;
        bottom: 100%;
    }
    50% {
        left: 100%;
        bottom: 100%;
    }
    75% {
        left: 100%;
        bottom: 0;
    }
    100% {
        left: 0;
        bottom: 0;
    }

}

/* nav styles */

header {
    background-color: transparent; /* Ensures background is transparent */
    position: relative; /* Normal flow of the document */
    z-index: 100;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1vw 0;
    width: 90%;
    margin: auto;
}


.logo{
    width: 10vw; /* Adjust to your desired size */
    height: auto;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
  

.nav__link a {
    display: inline-block;
    padding: 0.15vw 2vw;
    font-size: 1.2vw;
    color: #ffff;
}

.nav__link a:hover {
    color: #b9b9b9;
}

.nav__link a:hover .d-toggle {
    fill: #b9b9b9;
}


.d-toggle {
    margin-left: 0.1vw;
    vertical-align: middle;
    width: 1.4vw;
    height: 1.4vw;
    fill: #ffff;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    flex-direction: column;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 20vw;
    box-shadow: 1vw 1vw 3vw rgba(73, 73, 73, 0.1);
    z-index: 1;
    border-radius: 0.5vw;
    margin-top: 0.5vw;
}

.dropdown-content a {
    color: black;
    padding: 0.8vw 1.6vw;
    text-decoration: none;
    display: block;
}


.dropdown-content a:hover{
    color: #3a3939;
}


/* HERO STYLES */

.hero-section {
    height: 50vw;
    background: url("/assets/img.jpg") no-repeat center center/cover;
    position: relative;
    
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    background-image: linear-gradient(to bottom,  rgb(35, 35, 35), #88888800);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1vw;
}

.hero-content {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 15vw auto;
}

.hero-mini-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
    z-index: 10;
}

.hero-content h1 {
    font-size: 4vw;
    width: 45vw;
    color: #fff;
}

.hero-paragraph {
    margin-top: 0.5vw;
    line-height: 1.5;
    width: 40vw;
    margin-bottom: 1vw;
    color: #fff;
}

/****** BRAND SECTION STYLES  *****/

.brand-section {
    background: transparent;
    padding: 2vw 5vw;
}

.brand-content h2 {
    text-transform: uppercase;
    padding: 1vw 0;
    font-size: 1.4vw;
    color: rgba(27, 38, 50, .6);
    width: fit-content;
    position: relative;
}

.brand-content h2::after {
    content: '';
    display: block;
    width: 70%;
    border-bottom: 0.25vw solid #daa520;
    position: absolute;
    left: 0;
    bottom: 0;

}

.brand-container {
    overflow: hidden;
    display: flex;
    justify-content: space-around;
}

.brand-flex {
    margin: 1.5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5vw;
}

.brand-logo {
    width: 10vw;
    height: 3vw;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 1.3vw;
    color: rgba(27, 38, 50, .6);
}

/* Seamless scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-103%);
    }
}

.animate-scroll {
    display: flex;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
}

/******* TAB SECTION *****/

.tab-section {
    background-color: #f3f5f8;
    padding: 7vw 8vw;
}

.tab-section h2 {
    font-size: 2.7vw;
    color: var(--primary);
}

.tab-hide {
    display: none;
}

.tab-show {
    display: flex;
    flex-direction: column;
}

.tab-content {
    display: flex;
    gap: 2vw;
    margin-top: 1.5vw;
}

.tab-video-content {
    width: 80vw;
    height: 35vw;
    position: relative;
    overflow: hidden;
    border-radius: 0.5vw;
}

.tab-video-content video {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.tab-trigger-container {
    height: 35vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1vw;
}

.tab-trigger {
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.05) 0 2px 5px;
    border-radius: 0.5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    height: 32.5vw;
    width: 100%;
}


.tab-trigger-text {
    font-size: 1.4vw;
    padding: 0 3vw;
}

.active {
    background-color:  #1a237e;
    color: #faf6f6;
}

/***** QUIZ *****/

.quiz-section{
    padding: 7vw 8vw;
}

.quiz-content-wrapper{
    padding: 7vw 0;
    min-height: 50vw;
    position: relative;
    margin-top: 3vw;
}

.quiz-img-background{
    width: 50%;
    height: 50vw;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(/assets/rrq-module-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.quiz-img-background::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    background-color: rgba(0, 0, 0, .6);
    z-index: -1;
}

.quiz-img-background h3{
    color: #fff;
    width: 20vw;
    margin: 12vw 0 0 5vw;
    font-size: 3vw;
    line-height: 1.5;
}

.quiz-img-background div {
    margin: 2vw 0 0 5vw;
    z-index: 1;
}

.quiz-container{
    width: 60%;
    height: 40vw;
    padding: 0;
    margin-left: auto;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .2);
    z-index: 1000;
}

.quiz-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-bar{
    display: block;
    position: absolute;
    top: 0;
    left: -2vw;
    width: 1vw;
    height: 40vw;
}

.status-bar ul{
    padding-left: 0;
}

.status-bar ul li{
    margin: 0 auto 1.8vw;
    list-style: none;
}

.status-bar .status-dot button:last-child{
    margin-bottom: 0;
}

.status-bar .status-dot button{
    width: 0.3vw;
    height: 5.15vw;
    padding: 0;
    background-color: #fff;
    border: none;
    overflow: hidden;
    text-indent: -9999px;
    cursor: default;
    outline: 0;
}

.status-bar .status-dot .q-active button{
    border-color: #daa520;
    background-color: #daa520;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    padding: 0.5vw 2vw; /* Scaled padding */
    border-bottom:0.1vw solid darkgrey;
    border-left: none;
    border-top: none;
    border-right: none;
    outline: none;
    text-align: center;
    margin-top: 2vw;
    font-size: 1.5vw; /* Scaled font size */
    font-family: "Altone Trial", sans-serif;
}

input[type="number"]:hover, input[type="number"]:focus{
    border-bottom:0.1vw solid var(--primary); /* Scaled border */
}



/******   WHO STYLES ********/

.who-section {
    background: transparent;
    padding: 3vw 8vw;
}

.who-content h2 {
    text-transform: capitalize;
    padding: 0.5vw 0;
    font-size: 3vw;
    color: var(--primary);
    width: fit-content;
    position: relative;
}

.who-content h2::after {
    content: '';
    display: block;
    width: 70%;
    border-bottom: 0.25vw solid #daa520;
    position: absolute;
    left: 0;
    bottom: 0;
}

.who-content p {
    margin-top: 1vw;
    width: 50vw;
}

.who-container {
    margin: 5vw auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15vw, 1fr));
    gap: 2vw;
}

.who-card {
    position: relative;
    height: 35vw;
    overflow: hidden;
    border-radius: 0.2vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.who-card:hover img {
    filter: blur(2px);
}

.who-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.75) 15%, rgba(0, 0, 0, 0.55) 25%, rgba(0, 0, 0, 0.44) 35%, rgba(0, 0, 0, 0.34) 45%, rgba(0, 0, 0, 0.24) 55%, transparent 60%);
    z-index: 2;
}

.who-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5vw;
}

.who-info {
    position: absolute;
    bottom: -12.2vw;
    left: 0;
    right: 0;
    padding: 2vw;
    transition: 0.5s bottom ease;
    z-index: 10;
}

.who-info h3 {
    text-transform: uppercase;
    color: #faf9f5;
    font-size: 1.7vw;
    margin-top: 1vw;
}

.who-card:hover .who-info {
    bottom: 2.5vw;
}

.who-info p {
    margin-top: 2.2vw;
    width: 12vw;
    color: #faf9f5;
}

/******* WHAT STYLES *****/

.what-section {
    background-color: rgba(27, 38, 50, 0.03);
    padding: 4vw 8vw;
}

.what-content {
    display: flex;
    justify-content: space-between;
    gap: 3vw;
}

.what-img-wrapper {
    width: 45vw;
    height: 45vw;
}

.what-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.what-details {
    width: 45vw;
}

.what-details h2 {
    text-transform: capitalize;
    padding: 0.5vw 0;
    color: var(--primary);
    font-size: 3vw;
    width: fit-content;
    position: relative;
}
.what-details h2::after {
    content: '';
    display: block;
    width: 70%;
    border-bottom: 0.25vw solid #daa520;
    position: absolute;
    left: 0;
    bottom: 0;
}

.what-details h3 {
    margin-top: 2vw;
    font-size: 2vw;
    color: var(--primary);
}

.what-details p {
    margin-top: 1.5vw;
    line-height: 1.5;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15vw, 1fr));
    gap: 1.5vw;
    margin-top: 2vw;
}

.grid1 {
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.05) 0 2px 5px;
    display: flex;
    align-items: center;
    gap: 0.5vw;
    padding: 1vw;
    border-radius: 1vw;
}

.grid1 img {
    width: 1.5vw;
    height: 1.5vw;
}

.grid1 span {
    font-weight: 600;
    font-size: 1.1vw;
}

/******* IMG STYLES ****/

.img-section {
    margin: 4vw 0;
}

.img-content {
    width: 100%;
    height: 30vw;
    position: relative;
}

.img-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/****** CTA STYLES ******/

.cta-section {
    padding: 0 8vw;
    background: transparent;
    margin-top: -14vw;
    position: relative;
    margin-bottom: 10vw;
}

.cta-content {
    padding: 3vw 3vw 6vw 3vw;
    background-color: #fff;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .2);
    text-align: center;
}

.cta-heading{
    font-size: 2.5vw;
    font-weight: 800;
    margin-bottom: 1vw;
}

.cta-text{
    width: 90%;
    margin: auto;
    font-size: 1.1vw;
    margin-bottom: 3vw;
}

.cta-button {
    background-color: #daa520;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1vw;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #dac020;
}

/****** FOOTER STYLES ******/

footer {
    padding: 3vw 0;
    background-color: #333333;
}

.footer-container {
    max-width: 80vw;
    width: 100%;
    margin: auto;
}

.footer-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15vw, 1fr));
    gap: 5vw;
}

.footer-btn {
    color: #333333;
    background-color: #fff;
    padding: 1vw 3vw;
    font-size: 1.2vw;
    height: 3.5vw;
}

.footer-btn:hover {
    background-color: #f4f4f4;
    color: #1d1c1c;
}

.link-header {
    color: #fcf6f6;
    font-size: 1.3vw;
    font-weight: 800;
}

.footer-links ul {
    margin-top: 0.3vw;
    list-style-type: none;
}

.footer-links ul li {
    padding-top: 1vw;
}

.footer-links ul li a {
    color: #aaa6a6;
    font-size: 1.2vw;
}

.footer-links ul li a:hover {
    color: #fcf6f6;
}

.social-icon {
    padding: 0.5vw;
    border-radius: 100%;
    background-color: #ffff;
    font-size: 1.7vw;
    color: #333333;
}

.footer-bottom {
    margin-top: 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa6a6;
}

.b-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2vw;
}

.b-links a {
    color: #aaa6a6;
    font-size: 1.2vw;
}

.b-links a:hover {
    color: #fcf6f6;
}

/*******MEDIA QUERIES ****/

@media screen and (max-width:600px) {
    .reg {
        padding: 0.5vw 1.5vw;
    }

    .d-toggle {
        margin-left: 0.1vw;
        vertical-align: middle;
        width: 1.4vw;
        height: 1.4vw;
    }

    .dropdown-content a {
        padding: 0.5vh 1.6vw;
    }

    .cta-btn {
        padding: 0.8vw 3vw;
    }

}
