@font-face {
    font-family: DM Sans;
    src: url(DM_Sans/static/DMSans-Medium.ttf)
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: DM Sans;
}

h1 {
    font-size: 50px;
    line-height: 64px;
    color: #222;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    color: #222;
}

h4 {
    font-size: 20px;
    color: #222;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 16px;
    color: black;
    margin: 15px 0 20px 0;
}

.section-p1 {
    padding: 40px 80px;
}

.section-m1{
    margin: 40px 0;
}


body {
    width: 100%;
}
.logo{
    height: 96px;
    width: 96px;
}

/*Header Start*/
#header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background: beige;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
    max-height: 100px;
}

#navbar {
    display: flex;
    align-items: center;
    justify-content: center;
}

#navbar li{
    list-style: none;
    padding: 0 20px;
    position: relative;
}

#navbar li a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
}

#navbar li a:hover,
#navbar li a.active, .col a.active{
    color: gray;
}

#navbar li a.active::after,
#navbar li a:hover::after{
    content: "";
    width: 30%;
    height: 2px;
    background: gray;
    position: absolute;
    bottom: -4px;
    left: 20px;
}

#mobile {
    display: none;
    align-items: center;
}

#close{
    display: none;
}

/*Home Page*/
#hero {
    width: 100%;
    min-height: 90vh;
    height: auto;
    position: relative;
}

/* Slideshow container */
.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Each slide */
.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Images */
.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text + Button container */
.hero-content {
    position: absolute;
    top: 20%;
    left: 48px;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Hero text */
.hero-content h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 900px;
}

.slide-one-text {
    color: #000000;
}

.slide-two-text {
    color: #D1D5DB;
}

.slide-one-text,
.slide-two-text {
    min-width: auto;
    max-width: 100%;
}

/* General button style */
.hero-btn {
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    border-radius: 25px;
}

/* First button */
.btn-one {
    width: 268px;
    height: 59px;
    background-color: #00796B;
    color: #FFFFFF;
}

/* Second button */
.btn-two {
    width: 182px;
    height: 52px;
    background-color: #F9FAFB;
    color: #0A0E1A;
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}


footer {
    display: flex;
    flex-wrap: wrap;
    background-color: beige;
    justify-content: flex-start;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    z-index: 10;
}

.footer-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}

footer .col:first-child {
    margin-right: 250px;
}

footer .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    margin-right: 119px;
}

footer .col:last-child {
    margin-right: 0px;
}

footer .logo {
    margin-bottom: 30px;
    margin-right: 0;
}

footer h4{
    font-size: 14px;
    padding-bottom: 20px;
}

footer p{
    font-size: 13px;
    margin: 0 0 8px 0;
}

footer a {
    font-size: 13px;
    text-decoration: none;
    color: burlywood;
    margin-bottom: 10px;
}

footer .follow {
    margin-top: 20px;
}

footer .follow i{
    color: burlywood;
    padding-right: 4px;
    cursor: pointer;
}

footer .install .row img {
    border: none;
    border-radius: 6px;
}
footer .install img {
    margin: 10px 0 15px 0;
}

footer .follow i:hover,
footer a:hover {
    color: gray;
}

footer .copyright {
    width: 100%;
    text-align: center;
}

/*Our Policies Page, Terms & Conditions Page & Info Page*/
.policy-page {
    height: auto !important;
    min-height: 100vh;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 80px;
    gap: 40px;
    margin-right: 9px;
}

.policy-main-list {
    list-style-type: decimal-leading-zero;
    font-size: 20px;
}

.policy-page a{
text-decoration: none;
color: gray;
}
/* Policy image */
.policy-image img {
    width: 100%;
    max-width: 1440px;
    border-radius: 20px;
    object-fit: cover;
    align-content: center;
}

/* Policy content */
.policy-content {
    width: 100%;
}

/* Main ordered list */
.policy-main-list {
    font-size: 20px;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 30px;
}

/* Main headings */
.policy-main-list > li > strong {
    font-weight: 700;
}

/* Sub list */
.policy-sub-list {
    margin-top: 20px;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sub headings */
.policy-sub-list strong {
    font-weight: 700;
}

.policy-sub-list li{
    list-style-type: upper-alpha;
}

/*Contact Us Page*/
#form-details {
    display: flex;
    justify-content: space-between;
    margin: 30px;
    padding: 80px;
    border: 1px solid #e1e1e1;
}
#form-details span{
    font-size: 32px;
}
#form-details form {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#form-details form input,
#form-details form textarea {
    width: 100%;
    color: #000;
    padding: 12px 15px;
    outline: none;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
}
#form-details form .normal {
    border-radius: 25px;
    width: auto;
    white-space: nowrap;
    padding: 0 20px;
    height: 48px;
    background-color: #191919;
    color: #FFFFFF;
    font-size: 16px;
}

#form-details a{
    text-decoration: none;
    color: #808080;
}
#form-details .terms {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
}
#form-details .terms input[type="checkbox"] {
    width: auto;
    margin-bottom: 0;
}

/*Mock Test Page*/
#hero.mock-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}
.mock-page {
    display: block;
    height: auto !important;
    min-height: 100vh;

    overflow: visible !important;

    position: static;

    padding: 48px;
}

/* Grid */
.subject-grid {
    display: grid;

    grid-template-columns: repeat(2, 541px);

    gap: 48px 110px;

    justify-content: center;
}

/* Subject Cards */
.subject-card {
    width: 100%;
    max-width: 541px;
    min-height: 250px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0);
    text-decoration: none;
    padding: 8px;
    border: 2px solid #000000;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Hover effect */
.subject-card:hover {
    transform: translateY(-5px);
}

/* Images */
.subject-card img {
    width: 100%;
    height: 160px;
    border-radius: 20px;
    object-fit: cover;
    align-self: center;
    margin-bottom: 11px;
}

/* Text section */
.subject-info {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

/* Labels */
.subject-info p {
    font-size: 18px;
    font-weight: 700;

    margin: 0;

    color: #000000;
}

.subject-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Values */
.subject-info h3 {
    font-size: 18px;
    font-weight: 700;

    margin: 0;

    color: #000000;
}

/* Each row */
.info-row {
    display: flex;
    align-items: center;

    gap: 8px;
}

/* Labels */
.info-row p {
    font-size: 18px;
    font-weight: 700;

    margin: 0;

    color: #000000;
}

/* Values */
.info-row h3 {
    font-size: 18px;
    font-weight: 700;

    margin: 0;

    color: #000000;
}


/*Subject pages*/
#top-status {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

/* Progress bar row */
#progress-container {
    display: flex;
    gap: 8px;
}

/* Each step */
.progress-step {
    width: 113px;
    height: 7px;
    background: #D9D9D9;
    border-radius: 20px;
    transition: 0.3s ease;
}

#progress-container {
    margin-top: 5px;
}

/* Active steps */
.progress-step.active {
    background: #000000;
}

/* Tracker text */
#question-tracker {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-left: 20px;
}

#options-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.option-btn {
    width: 638px;
    height: 96px;
    border: 1px solid black;
    border-radius: 30px;
    background: white;
    cursor: pointer;
}

.option-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

.option-letter {
    width: 132px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border-right: 1px solid black;
}

.option-text {
    font-size: 20px;
    font-weight: 600;
    padding-left: 20px;
}

.option-btn.selected {
    border-color: #000;
    background: #f0f0f0;
}

.review-question {
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    border: 2px solid #ddd;
}

.review-question.correct {
    border-color: green;
    background: rgba(0, 255, 0, 0.08);
}

.review-question.wrong {
    border-color: red;
    background: rgba(255, 0, 0, 0.08);
}

.progress-step {
    width: 113px;
    height: 7px;
    border-radius: 20px;
    background: #ddd;
}

.progress-step.answered {
    background: black;
}

.progress-step.unanswered {
    background: #ddd;
}

.progress-step.current {
    outline: 2px solid black;
}

.review-question.correct {
    border-left: 6px solid green;
}

.review-question.wrong {
    border-left: 6px solid red;
}

.option-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.progress-step.locked {
    background: #000;
}
.correct {
    background: #2ecc71;
    color: #000000;
}

.wrong {
    background: #e74c3c;
    color: #000000;
}
#timer {
    width: 72px;
    height: 56px;
    background: #FFFFFF;
    stroke: #000000;
    border: #000000 solid 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 18px;
    font-weight: 300;
    margin-left: 10px;
    gap: 6px;
}
.timer-icon{
    font-size: 18px;
}

#after{
    margin-top: 20px;
}
.nav-buttons button {
    background: black;
    color: white;
    font-size: 16px;
    font-weight: 700;
    height: 48px;
    border-radius: 20px;
    cursor: pointer;
}

#nextBtn {
    width: 84px;
    text-align: center;
}

#prevBtn {
    width: 96px;
    text-align: center;
    margin-left: 15px;
}

#submitBtn {
    width: 96px;
    text-align: center;
}

#question-box p {
    font-size: 24px;
    line-height: 1.4;
    margin-left: 15px;
}


/*Info Page*/

.info-container{
    display:flex;
    gap:10px;
    width: 100%;
    max-width: 1232px;
    overflow-x: hidden;
    height:630px;
}

.info-card{
    width:64px;
    height:630px;
    border-radius:30px;
    overflow:hidden;
    cursor:pointer;
    transition:all .5s ease;
    position:relative;
}

.info-card.active{
    width:640px;
}

.card-content{
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
    padding:40px;
}

.info-card.active .card-content{
    opacity:1;
    visibility:visible;
}

/* Colors */

[data-card="1"]{
    background:#E4C79C;
}

[data-card="2"],
[data-card="3"]{
    background:#F7E5DA;
}

[data-card="4"],
[data-card="5"],
[data-card="6"]{
    background:#C0DFE7;
}

[data-card="7"],
[data-card="8"]{
    background:#FBEAEB;
}

[data-card="9"]{
    background:#191919;
}

/* Typography */

.brown-heading,
.green-heading,
.blue-heading,
.gold-heading{
    margin-top:10px;
}

.card1-heading{
    font-size:36px;
    font-weight:700;
    color:#F5F5DC;
    margin-top: 60px;
}

.card1-body{
    font-size:32px;
    font-weight:400;
    color:#FFFFFF;
}

.brown-heading{
    font-size:36px;
    font-weight:700;
    color:#832B00;
    margin-bottom:20px;
}

.brown-body{
    font-size:32px;
    color:#964B00;
}

.green-heading{
    font-size:36px;
    font-weight:700;
    color:#014122;
    margin-bottom:20px;
}

.green-body{
    font-size:32px;
    color:#014122;
}

.blue-heading{
    font-size:36px;
    font-weight:700;
    color:#2F3C7E;
    margin-bottom:20px;
}

.blue-body{
    font-size:32px;
    color:#2F3C7E;
}

.gold-heading{
    font-size:36px;
    font-weight:700;
    background:linear-gradient(90deg,#C29653,#F2E497);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    margin-bottom:20px;
}

.gold-body{
    font-size:32px;
    background:linear-gradient(90deg,#C29653,#F2E497);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* Button */
.card-content{
    position: relative;
    height: 100%;
}

.card-btn{
    position: absolute;

    bottom: 128px;

    width: 272px;
    height: 72px;

    border: none;
    border-radius: 25px;
    cursor: pointer;

    background: linear-gradient(
        90deg,
        #B88746,
        #FDF5A6
    );

    color: #191919;
    font-size: 20px;
    font-weight: 700;
}

/* Scrollbar width */
/* Entire scrollbar */
::-webkit-scrollbar {
    width: 18px;
}

/* Scrollbar track (static background) */
::-webkit-scrollbar-track {
    background: rgba(217, 217, 217, 0.4);
}

/* Draggable scrollbar thumb */
::-webkit-scrollbar-thumb {
    background: rgba(217, 217, 217, 1);
    border-radius: 20px;
}

/* Optional hover effect */
::-webkit-scrollbar-thumb:hover {
    background: rgba(217, 217, 217, 1);
}

html, body {
    overflow-x: hidden;
}