/* ===========================
   EXAMS HERO
=========================== */

.exam-hero{

    min-height:55vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:140px 8% 80px;

   background:
radial-gradient(
circle at center,
rgba(212,175,55,.12),
transparent 60%
),

linear-gradient(
180deg,
#050505,
#0B0B0B,
#050505
);
}

.exam-hero h1{

    font-size:72px;

    font-weight:800;

    margin-bottom:20px;

  background:
linear-gradient(
135deg,
#FFFFFF,
#F8E7A1,
#D4AF37,
#B8860B
);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;
}

.exam-hero p{

    color:#D6D6D6;

    max-width:800px;

    font-size:18px;

    line-height:1.8;
}

/* ===========================
   SEARCH
=========================== */

.exam-search{

    padding:40px 8%;

    display:flex;

    justify-content:center;
}

#examSearch{

    width:100%;

    max-width:750px;

    padding:18px 25px;

    border:none;

    outline:none;

    border-radius:60px;

    background:#111111;

    border:1px solid rgba(212,175,55,.18);

    color:white;

    font-size:16px;

    backdrop-filter:
    blur(20px);
}

#examSearch::placeholder{

    color:#BEBEBE;
}
#examSearch:focus{

border-color:#D4AF37;

box-shadow:

0 0 20px rgba(212,175,55,.25);

}
/* ===========================
   EXAM GRID
=========================== */

.exam-grid{

    padding:80px 8%;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(330px,1fr));

    gap:35px;
}

/* ===========================
   EXAM CARD
=========================== */

.exam-card{

    overflow:hidden;

    border-radius:25px;

   background:#111111;

    border:1px solid rgba(212,175,55,.18);

    backdrop-filter:
    blur(20px);

    transition:0.5s;
}

.exam-card:hover{

    transform:
    translateY(-12px);

   box-shadow:

0 20px 50px rgba(212,175,55,.25),

0 0 30px rgba(212,175,55,.15);
}

.exam-card img{

    width:100%;

    height:240px;

    object-fit:cover;
}

.exam-info{

    padding:25px;
}

.exam-info h2{

    font-size:28px;

    margin-bottom:15px;
    color:#F7D774;
}

.exam-info p{

    color:#D5D5D5;

    line-height:1.8;

    margin-bottom:20px;
}
.exam-card img{

transition:.7s;

}

.exam-card:hover img{

transform:

scale(1.08)

rotate(.4deg);

filter:

brightness(1.08)

contrast(1.08);

}
/* ===========================
   BUTTON
=========================== */

.view-exam{

    border:none;

    cursor:pointer;

    padding:14px 28px;

    border-radius:50px;

    font-weight:600;

    color:white;

   background:
linear-gradient(
135deg,
#B8860B,
#D4AF37,
#F7D774
);

color:#111111;

    transition:0.4s;
}

.view-exam:hover{

transform:

translateY(-4px)

scale(1.05);

box-shadow:

0 12px 35px rgba(212,175,55,.35);

}

/* ===========================
   DETAILS SECTION
=========================== */

.exam-details{

    padding:120px 8%;
}

.exam-container{

    background:#111111;

    border:1px solid rgba(212,175,55,.18);

    border-radius:30px;

    padding:50px;

    backdrop-filter:
    blur(25px);

    box-shadow:
    0 20px 50px rgba(0,0,0,0.35);
}

.exam-container h2{

    font-size:42px;

    margin-bottom:35px;
    color:#F7D774;
}

/* ===========================
   EXAM CONTENT
=========================== */

#examContent{

    display:flex;

    flex-direction:column;

    gap:25px;
}

.exam-card-info{

    padding:25px;

    border-radius:20px;

    background:#171717;

    border:1px solid rgba(212,175,55,.18);

    transition:0.4s;
}

.exam-card-info:hover{

    transform:
    translateX(10px);

   border-color:#D4AF37;

box-shadow:

0 0 20px rgba(212,175,55,.20);
}

.exam-card-info h3{

    color:#F7D774;

    margin-bottom:12px;
}

.exam-card-info p{

    color:#D5D5D5;

    line-height:1.8;
}

/* ===========================
   STATS
=========================== */

.exam-stats{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:20px;

    margin-top:20px;
}

.exam-stat{

    padding:25px;

    text-align:center;

    border-radius:20px;

    background:#171717;

    border:1px solid rgba(212,175,55,.18);
}

.exam-stat h4{

    color:#F7D774;

    margin-bottom:10px;
}

.exam-stat span{

    font-size:22px;

    font-weight:700;
}
.exam-stat:hover{

transform:translateY(-8px);

border-color:#D4AF37;

box-shadow:

0 12px 30px rgba(212,175,55,.25);

transition:.35s;

}
/* ===========================
   TAGS
=========================== */

.exam-tags{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:15px;
}

.exam-tag{

    padding:10px 18px;

    border-radius:50px;

    background:rgba(212,175,55,.12);

    border:1px solid rgba(212,175,55,.25);

    color:#F7D774;
}
.exam-card,
.exam-container,
.exam-card-info,
.exam-stat{

backdrop-filter:blur(20px);

-webkit-backdrop-filter:blur(20px);

}
.exam-card{

position:relative;

overflow:hidden;

}

.exam-card::before{

content:"";

position:absolute;

top:0;

left:-100%;

width:100%;

height:2px;

background:linear-gradient(

90deg,

transparent,

#F7D774,

transparent

);

transition:.8s;

}

.exam-card:hover::before{

left:100%;

}
/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:992px){

    .exam-stats{

        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .exam-hero h1{

        font-size:48px;
    }

    .exam-container{

        padding:30px;
    }

    .exam-container h2{

        font-size:30px;
    }

}