@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

* {
    box-sizing: border-box;
}

body{
     background: linear-gradient(135deg,#e0f2fe,#ffffff);
     font-family: 'Poppins', sans-serif;
     margin:0;
}

nav {
    width: 100%;
    height: 80px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 20px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav .logo {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav ul li {
    padding: 8px 15px;
    border-radius: 10px;
    transition: 0.2s ease-in;
}

nav ul li a {
    color: #4b5563;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
}

nav .navLinks button {
    padding: 8px 18px;
    border-radius: 10px;
    color: blue;
    font-size: 16px;
    border-style: none;
    font-weight: 700;
    margin-left: 10px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    transition:0.3s;
}
nav ul li:hover {
    background-color: #f0f9ff;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.35);
    transform: translateY(-2px);
}


nav .menubtn {
    font-size: 30px;
    font-weight: bolder;
    cursor: pointer;
    display: none;
}
/* responsive navbar css */
@media screen and (max-width: 600px) {
    nav .menubtn {
        display: flex;
    }
    nav .navLinks {
        display: none;
    }
    .sideNav {
        display: block !important;
    }
}

.sideNav {
    height: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0%;
    background-color: rgb(44, 1, 197);
    overflow-x: hidden;
    transition: 0.3s ease-in;
    padding-top: 60px;
    display: none;
}

.sideNav a {
    padding: 8px 8px 8px 40px;
    display: block;
    font-size: 25px;
    font-weight: 500;
    color: #d1d1d1;
    transition: 0.3s;
    text-decoration: none;
}

.sideNav a button {
    padding: 10px 20px;
    border-radius: 10px;
    color: blue;
    font-size: 16px;
    border-style: none;
    cursor: pointer;
}

.sideNav a button:hover {
    background-color: #f8fafc;
}


.main {
  height: 100vh;
  width: 100%;
}

.wrapper,
.slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.slide .image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.slide .image-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  width: 100%;
  z-index: 100;
}






.quiz-container {
    background: linear-gradient(135deg,#f5f3ff,#ede9fe);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    width: 600px;
    max-width: 90%;
    overflow: hidden;
    margin-top: 40px;
    margin-bottom: 100px;   /* add this */
}

.quiz-wrapper{
    
    display:flex;
    justify-content:center;
    padding:80px 20px;
}

.quiz-header {
    padding: 2rem;
}

.quiz-header h1{
        text-align:center;
        color:#8b5cf6;
        margin-bottom:20px;
}

.result-card{
text-align:center;
padding:20px;
}

.result-card h1{
color:#8b5cf6;
margin:20px 0;
font-size:32px;
}

.result-card p{
margin-bottom:25px;
}

h2 {
    padding: 1rem;
    text-align: center;
    margin: 0;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    font-size: 1.2rem;
    margin: 1rem 0;
}

ul li label {
    cursor: pointer;
}

#submit{
    background: linear-gradient(90deg,#8b5cf6,#7c3aed);
    color:white;
    border:none;
    cursor:pointer;
    font-size:16px;
    padding:14px 30px;
    border-radius:8px;

    display:block;
    margin:20px auto;   /* this keeps it centered */
}

#submit:hover{
    background: #7c3aed;
}    

#submit:focus {
    outline: none;
    background-color: #5e3370;
}

.container {
            max-width: 1170px;
            margin: auto;
}

.footer-row {
      display: flex;
      flex-wrap: wrap;
}

ul {
    list-style: none;
}

.footer {
    background-color: #24262b;
    padding: 70px 0;
    margin-top:80px;
}


.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #e91e63;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-transform: capitalize;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    color: #bbbbbb;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}

/* Responsive */

@media (max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media (max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}