/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Red+Hat+Display:wght@400;700;900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
--first-color: hsl(0, 72%, 55%);
--first-color-light: hsl(0, 97%, 77%);
--first-color-alt: hsl(0, 67%, 52%);
--first-color-dark: hsl(0, 63%, 50%);

  --title-color: hsl(180, 4%, 98%);
  --title-color-black: hsl(180, 4%, 12%);
  --text-color: hsl(180, 4%, 72%);
  --text-color-light: hsl(180, 4%, 65%);
  --body-color: hsl(180, 12%, 8%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Red Hat Display', sans-serif;
  --second-font: 'Kaushan Script', cursive;
  --biggest-font-size: 2rem;
  --bigger-font-size: 1.5rem;
  --big-font-size: 1.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-bold: 700;
  --font-black: 900;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 6rem;
    --bigger-font-size: 3.5rem;
    --big-font-size: 2.75rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1124px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.section {
  padding: 4.5rem 0 2rem;
}

.section__data {
  display: flex;
  flex-direction: column;
  row-gap: .75rem;
  text-align: center;
  margin-bottom: 3rem;
}

.section__title, 
.section__title-border {
  font-size: var(--big-font-size);
  letter-spacing: 1.5px;
}

.section__subtitle {
  font-size: var(--h2-font-size);
  font-family: var(--second-font);
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--first-color);
  transform: rotate(-2deg);
}

.section__titles {
  display: flex;
  column-gap: .75rem;
  justify-content: center;
}

.section__title-border {
  -webkit-text-stroke: 1px var(--text-color);
  color: transparent;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.main {
  overflow: hidden; /* For animation ScrollReveal */
}

.color-red {
  color: hsl(0, 80%, 64%);
}

.color-green {
  color: var(--first-color);
}

/*=============== HEADER & NAV ===============*/
.header{
width: 100%;
background-color: transparent;
position: fixed;
top: 0;
left: 0;
z-index: var(--z-fixed);
transition: background .3s;
}

.nav{
height: var(--header-height);
display: flex;
justify-content: space-between;
align-items: center;
}

.nav__logo,
.nav__toggle{
color: var(--title-color);
display: flex;
}

.nav__logo{
align-items: center;
column-gap: .5rem;
font-weight: var(--font-bold);
}

.nav__logo img{
width: 5rem;
}

.nav__toggle{
font-size: 1.25rem;
cursor: pointer;
}

@media screen and (max-width: 1023px){
.nav__menu{
position: fixed;
background-color: hsla(180, 12%, 8%,.8);
backdrop-filter: blur(32px);
-webkit-backdrop-filter: blur(32px);
top: 0;
right: -100%;
width: 80%;
height: 100%;
border-left: 2px solid var(--first-color-gray,#ccc);
transition: right .3s;
}
}

.nav__list{
padding: 5rem 0 0 3rem;
display: flex;
flex-direction: column;
row-gap: 2.5rem;
}

.nav__link{
color: var(--title-color);
transition: color .3s;
}

.nav__link:hover{
color: var(--first-color);
}

.nav__close{
position: absolute;
top: 1rem;
right: 1.5rem;
font-size: 1.5rem;
color: var(--title-color);
cursor: pointer;
}

.nav .nav__button{
background-color: var(--title-color);
border: none;
}

/* Show menu */
.show-menu{
right: 0;
}

/* Change background header */
.bg-header{
background-color: var(--body-color);
box-shadow: 0 4px 8px hsla(180, 12%, 4%,.3);
}

/* Active link */
.active-link {
  color: var(--first-color); /* Change color when active */
  font-weight: bold;
}

/*=============== HOME ===============*/
.home{
position: relative;
padding-bottom: 0;
}

.home__container{
padding-top: 4rem;
row-gap: 3rem;
}

.home__data{
text-align: center;
}

.home__subtitle{
font-size: var(--bigger-font-size);
-webkit-text-stroke: 1px var(--title-color);
color: transparent;
}

.home__title{
font-size: var(--biggest-font-size);
font-weight: var(--font-black);
margin: .5rem 0;
}

.home__subtitle,
.home__title{
letter-spacing: 1.5px;
}

.home__description{
margin-bottom: 2.5rem;
}

.home__triangle{
height: 225px;
position: absolute;
right: 0;
bottom: 0;
clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.home__triangle-1{
width: 205px;
background-color: var(--first-color);
}

.home__triangle-2{
width: 305px;
background-color: var(--first-color-alt);
}

.home__triangle-3{
width: 405px;
background-color: var(--first-color-dark);
}

.cover__img{
position: relative;
display: block;
z-index: 1;
width: 625px;
margin: 0 auto;
}

.cover__images {
    display: flex;
    align-items: flex-end; /* Align items to the bottom */
    position: relative;
}

.cover__img {
    flex-shrink: 0; /* Prevent the image from shrinking */
}

.home__triangle {
    flex-shrink: 0; /* Prevent the triangles from shrinking */
}


/*=============== BUTTON ===============*/
#toast-container > .toast-error {
  background-color: red !important;
  color: white !important;
  width: 50% !important;
}

#toast-container > .toast-success {
  background-color: green !important;
  color: white !important;
  width: 50% !important;
}

#toast-container > .toast-warning {
  background-color: orange !important;
  color: white !important;
  width: 50% !important;
}

#toast-container > .toast-info {
  background-color: blue !important;
  color: white !important;
  width: 50% !important;
}


.button{
display: inline-block;
background-color: hsl(0, 67%, 52%);
padding: 20px 32px;
border: 2px solid var(--first-color-light);
border-radius: 6px;
color: var(--title-color-black);
font-weight: var(--font-bold);
cursor: pointer;
}

.button:hover{
background-color: #a81f1f;
transform: scale(0.98);
color: #131111;
}

.button i{
font-size: 1.25rem;
transition: transform .3s;
}

.button__flex{
display: inline-flex;
align-items: center;
justify-content: center;
column-gap: .5rem;
}

.button__flex:hover i{
transform: translateX(.25rem);
}

@keyframes glow {
  0% { text-shadow: 0 0 5px rgba(255, 67, 54, 0.6); }
  50% { text-shadow: 0 0 15px rgba(255, 67, 54, 1); }
  100% { text-shadow: 0 0 5px rgba(255, 67, 54, 0.6); }
}

.welcome-message {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-color-light);
  margin-bottom: 10px;
}

.username-highlight {
  color: var(--text-color-light); /* Adjust to match your theme */
  font-size: 1.2rem;
  animation: glow 2s infinite alternate;
}

.subtext {
  display: block;
  font-size: 1.1rem;
  color: var(--first-color);
  margin-top: 5px;
  opacity: 0.9;
  padding-bottom: 3px;
  animation: glow 2s infinite alternate;
}

.voucherredemption{
  color: #53A318;
  text-decoration: underline;
  font-size: 0.8rem;
}

.voucherredemption:hover{
  color: #3D7F12;
}

/* Modal for Password Reset */
.reset-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 1000; /* Ensures modal is on top */
  }
  
  .reset-modal .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 300px;
    text-align: center;
    border-radius: 10px;
  }
  
  .reset-modal input {
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #817f7f;
  }
  
 
  
  .reset-modal .close-button,
.registration-close-btn{
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #333;
}

/*=============== LogTab ===============*/

.auth-overlay,
.voucher_overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 7, 7, 0.6); /* Dim effect */
    z-index: 999; 
}
/* Modal Container */
.auth-modal,
.voucher_container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 300px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    z-index: 2000; /* Ensure it's above overlay */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Modal Content */
.auth-modal-content,
.voucher_content {
    display: flex;
    flex-direction: column;
}

/* Close Button */
.auth-close-btn,
.voucher-close-btn{
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: #0b0217;
    opacity: 0.7;
}

.auth-modal h2,
.voucher_container h2{
font-size: 23px;
color: #0b0217;
text-align: center;
}

.voucher_container h2{
  margin-top: 30px;
}

/* Input Box */
.input_box,
.voucher_box {
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: 40px;
}

.input_box input,
.voucher_box input {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 30px;
    color: #333;
    transition: all 0.2s ease;
    border-bottom: 1.5px solid #aaaaaa;
    border-radius: 8px;
}

.input_box input:focus{
border-color: #8B0000;
}

.voucher_box input:focus{
  border-color: #53A318;
  }

.input_box i,
.voucher_box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}

.input_box i.email,
.input_box i.user,
.input_box i.password{
left: 0;
color: #707070;
} 

.input_box input:focus ~ i.email,
.input_box input:focus ~ i.user,
.input_box input:focus ~ i.password{
color: #8B0000;
}

.voucher_box input:focus ~ i{
  color: #53A318;
}

.input_box i.pw_hide{
right: 0;
font-size: 18px;
cursor: pointer;
pointer-events: auto;
}

/* Button */
.auth-button,
.reset-modal button {
    width: 100%;
    padding: 10px 0;
    background: #8B0000;
    margin-top: 30px;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.voucherbutton{
  width: 100%;
  padding: 10px 0;
  background: #53A318;
  margin-top: 30px;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}


.auth-button:hover,
.reset-modal button:hover {
    background: #660000;
}

.voucherbutton:hover{
  background: #3D7F12;
}

/* Form Switch Links */
.login_signup {
    font-size: 13px;
    text-align: center;
    margin-top: 15px;
    color: #333;
}

.login_signup a {
    color: #660000;
    text-decoration: none;
    cursor: pointer;
}

.login_signup a:hover {
    text-decoration: underline;
}

/* Remember Me and Forgot Password */
.option_field {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-modal a{
color: #8B0000;
font-size: 12px;
}

.auth-modal a:hover{
text-decoration: underline;
}

.checkbox{
display: flex;
column-gap: 8px;
white-space: nowrap;
font-size: 12px;
}


.checkbox input {
    accent-color: #8B0000;
}

.checkbox label {
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    color: #0b0217;
}



/*=============== PROGRAM ===============*/
.program__container{
grid-template-columns: 225px;
justify-content: center;
row-gap: 2rem;
}

.program__card{
display: grid;
background-color: hsla(79, 6%, 64%, .07);
padding: 1.5rem 2rem;
border: 2px solid transparent;
transition: background .5s, border .4s;
}

.program__img{
width: 38px;
}



.program__shape{
width: 80px;
height: 60px;
background-color: var(--first-color-gray);
border-radius: 10%;
display: grid;
place-items: center;
margin-bottom: 1rem;
transition: background .3s;
}

.program__title{
font-size: var(--h3-font-size);
letter-spacing: .5px;
line-height: 150%;
}

.program__description{
font-size: var(--small-font-size);
letter-spacing: .5px;
line-height: 150%;
}

.program__title,
.program__description{
transition: color .5s;
}

.program__button{
justify-self: flex-end;
margin-top: 1.25rem;
font-size: 1.5rem;
color: var(--title-color);
opacity: 0;
transition: opacity .4s;
}

.program__button i{
display: block;
transition: transform .3s;
}

.program__button:hover i{
transform: translateX(.25rem);
}



.program__card:hover{
background-color: var(--first-color);
border: 2px solid var(--first-color-light);
}

.program__card:hover .program__shape{
background-color: var(--first-color-light);
}

.program__card:hover .program__title,
.program__card:hover .program__descriptiion{
color: var(--title-color-black);
}

.program__card:hover .program__button{
opacity: 1;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

.video-call {
    text-align: center;
    padding: 4.5rem 0 2rem;
}

.video-call .section__titles {
    display: flex;
    justify-content: center;
}

.videocallbutton {
    margin-top: 1rem;
    background-color: var(--first-color);
    color: var(--title-color-black);
    padding: 12px 24px;
    font-weight: var(--font-bold);
    cursor: pointer;
    border: none;
    border-radius: 10px;
    transition: background 0.3s;
    margin-top: 50px;
    margin-bottom: 30px;
    transition: background-color 0.3s, transform 0.2s;
  }


.videocallbutton:hover {
    background-color: var(--first-color-alt);
    transform: scale(1.05); 
}


.adminPanel,
.userPanel{
display: none;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  background: #2e2e2e;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.adminPanel h2{
margin-bottom: 50px;
}


.classTime, .setClassTime, #copyLinkBtn{
  padding: 10px 20px;
  border-radius: 30px; /* Rounded corners */
  margin-top: 10px; 
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
}

/* Styling for .classTime (Red theme) */
.classTime{
  background-color: var(--first-color);
  color: white;
  border: none;
}

.classTime:hover {
  background-color: #e04343; /* Slightly darker red */
  transform: scale(1.05); /* Slight scale-up effect */
}

/* Styling for .setClassTime (Black theme) */
.setClassTime,
#copyLinkBtn{
  background-color: #1c1c1c; /* Dark sleek black */
  color: white;
  border: none;
}

.setClassTime:hover,
#copyLinkBtn:hover{
  background-color: #333333; /* Slightly lighter black */
  transform: scale(1.05); /* Slight scale-up effect */
}

#callLinkInput{
  width: 70%;
}

#callLinkInput,
#callLinkDisplay{
  padding: 12px;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 16px;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
  background-color:  #111;
  color: white;
}

#callLinkDisplay{
  width: 90%;
}

#callLinkInput{
  border: 1px solid #fff;
}


#callLinkInput:hover{
transform: scale(1.025);
}


#saveLinkBtn {
  background-color: var(--first-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px; /* Rounded corners */
  margin-top: 10px; 
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
}



#saveLinkBtn:hover {
  background-color: #e04343; /* Slightly darker red */
  transform: scale(1.05); /* Slight scale-up effect */
}

#callLinkDisplay{
  border-radius: 5px;
  border: none;
}

.screenshot {
  max-width: 70%;
  border: 1px solid #ccc;
  margin-top: 10px;
  margin-bottom: 10px;
}

.warning-text {
  color:#be3030;
  font-weight: bold;
}

.userPanel h3{
margin-bottom: 30px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: #000;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
}

#root {
    flex: 1; /* Allow root to take all remaining space */
    width: 100%;
    height: 100%;
}


.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1001; /* Ensure close button stays on top */
}

#pendingVouchersTable {
  width: 100%;
  border-collapse: collapse;
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
}

#pendingVouchersTable thead {
  background-color: red;
}

#pendingVouchersTable th, #pendingVouchersTable td {
  padding: 10px;
  text-align: left;
  border: 1px solid red;
}

#pendingVouchersTable tbody tr:nth-child(even) {
  background-color: #222;
}

#pendingVouchersTable tbody tr:hover {
  background-color: #333;
}

#pendingVouchersTable button {
  background-color: red;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-weight: bold;
}

#pendingVouchersTable button:hover {
  background-color: darkred;
}

.map-container {
    margin: 3rem 0;
    width: 100%;
}

.map-iframe {
    width: 100%; /* Full width for all devices */
    height: 400px; /* Default height */
    border: 2px solid var(--first-color);
    border-radius: 10px;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .map-iframe {
        height: 480px; /* Increase height for larger screens */
    }
}

@media (min-width: 1024px) {
    .map-iframe {
        height: 600px; /* Further increase height for even larger screens */
    }
}





  .choose__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: center;
}

.choose__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  color: #fff; /* White text for contrast against black background */
}

.choose__icon {
  font-size: 2.5rem;
  color: #ff0000; /* Red color for icons */
  margin-bottom: 10px;
}

.choose__item h3 {
  font-size: 1.75rem;
  margin: 10px 0;
}

.choose__item p {
  margin: 0;
  font-size: 1.1rem;
  color: #ddd; /* Light grey text for better visibility */
  background-color: rgba(255, 255, 255, 0.1); /* Slightly translucent background for styling */
  padding: 10px;
  border-radius: 5px;
  max-width: 80%; /* Limit the width for better readability */
  text-align: center;
}




/*=============== PRICING ===============*/
.pricing__container {
  grid-template-columns: 285px;
  justify-content: center;
  row-gap: 2rem;
}

.pricing__card,
.princing__shape,
.pricing__list {
  display: grid;
}

.pricing__card {
  row-gap: 2rem;
  background-color: hsla(79, 6%, 64%, .07);
  padding: 2rem 2.5rem;
}

.pricing__shape {
  width: 60px;
  height: 60px;
  background-color: var(--first-color-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pricing__img {
  width: 35px;
}

.pricing__title {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: 1rem;
}

.pricing__number {
  font-size: var(--h1-font-size);
}

.pricing__list {
  row-gap: 1rem;
}

.pricing__item {
  display: flex;
  column-gap: .5rem;
  align-items: center;
  font-size: var(--small-font-size);
}

.pricing__item i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.pricing__item-opacity {
  opacity: .3;
}

.pricing__button,
.pricing__button2,
.form .button {
  display: inline-flex;
  padding: 10px 20px;
  background-color: white; /* White background */
  color: black; /* Black text */
  text-decoration: none;
  border: 2px solid var(--first-color-dark); /* Black border */
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.pricing__button:hover,
.pricing__button2:hover,
.form .button:hover {
  background-color: var(--first-color-dark); /* Red background on hover */
  color: white; /* White text on hover */
  border-color: var(--first-color-light); /* Red border on hover */
}

.pricing__card-active {
  background-color: var(--first-color-dark);
  border: 2px solid var(--first-color-light);
}

.pricing__card-active .pricing__shape {
  background-color: var(--first-color-light);
}

.pricing__card-active .pricing__item i {
  color: var(--title-color);
}

.pricing__card-active .pricing__number,
.pricing__card-active .pricing__title,
.pricing__card-active .pricing__item {
  color: var(--title-color-black);
}

.program__service {
  margin-top: 3rem;
  text-align: center;
  color: var(--first-color-dark);
}

.invalid {
  border: 2px solid red; /* Example red border for invalid fields */
}

.error-message {
  color: red;
  font-size: 12px;
  display: none;
}


/* Initially hidden */
.dynamicOverlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Pop-up container styling */
.container__registration {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 700px;
  width: 90%;
  height: 80%; /* Adjust height to allow scrolling */
  overflow-y: auto; /* Enable vertical scrolling */
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
}


.registration-close-btn:hover {
    color: #000;
}

/* Existing styles for form elements */
.container__registration .title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
  color: #423e3e;
}

.container__registration .title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
}

.content form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}

form .user-details .input-box {
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}

form .input-box span.details {
  display: block;
  font-weight: bold; /* Make span bolder */
  margin-bottom: 5px;
  color: #423e3e;
}

.user-details .input-box input {
  height: 45px;
  width: 100%;
  outline: none;
  font-size: 16px;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

/* Style the placeholder text */
.input-box input::placeholder {
  color: #8a7373; /* Set a dim color for the placeholder */
}

/* Style the input text */
.input-box input {
  color: #3d3131; 
  font-family: 'Roboto', sans-serif;
}

.user-details .input-box input:focus,
.user-details .input-box input:valid {
  border-color: #9b59b6;
}

form .gender-details .gender-title {
  font-size: 20px;
  font-weight: bold; /* Make gender-title bolder */
  color: #423e3e;
}

.gender{
color: #423e3e;
font-family: 'Roboto', sans-serif; 
}

form .category {
  display: flex;
  width: 80%;
  margin: 14px 0;
  justify-content: space-between;
}

form .category label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

form .category label .dot {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two,
#dot-3:checked ~ .category label .three {
  background: #9b59b6;
  border-color: #d9d9d9;
}

form input[type="radio"] {
  display: none;
}

form .registration__button {
  height: 45px;
  margin: 35px 0;
}

form .registration__button input {
  height: 100%;
  width: 100%;
  border-radius: 5px;
  border: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #71b7e6, #9b59b6);
}

form .registration__button input:hover {
  background: linear-gradient(-135deg, #71b7e6, #9b59b6);
}

/* Responsive media query code for mobile devices */
@media(max-width: 768px) {
  .container__registration {
    max-width: 95%;
    height: 85%;
  }

  form .user-details .input-box {
    width: 100%;
  }

  form .category {
    width: 100%;
  }

  .content form .user-details {
    max-height: 300px;
    overflow-y: scroll;
  }

  .user-details::-webkit-scrollbar {
    width: 5px;
  }
}

/* Success pop-up styles */
.success-popup {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 400px;
  width: 90%;
  padding: 20px;
  background-color: #f0f8ff; /* Light blue background color */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.success-popup .popup-content {
  position: relative;
}

.success-popup .close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333; /* Darker color for the close button */
}

.success-popup h2 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #4CAF50; /* Green color for success */
}

.success-popup p {
  margin-bottom: 20px;
  color: #333; /* Darker text color */
  font-size: 18px; /* Increase font size for better readability */
}



@media(max-width: 480px) {
  .container__registration {
    width: 100%;
    height: 90%;
  }

  .container .content .category{
    flex-direction: column;
  }

  form .input-box span.details{
  display: block;
  font-weight: bold; /* Make span bolder */
  margin-bottom: 5px; /* Change to black for higher contrast */
}




  .registration__button input {
    font-size: 16px; /* Adjust button font size for smaller screens */
  }
}




/*=============== FOOTER ===============*/
.footer__container {
    row-gap: 4rem;
    padding-top: 1rem;
}

.footer__logo,
.footer__description {
    color: var(--title-color);
}

.footer__logo,
.footer__form,
.footer__social{
display: flex;
}

.footer__logo{
column-gap: .5rem;
align-items: center;
font-weight: var(--font-bold);
margin-bottom: 1.5rem;
}

.footer__logo img{
width: 7rem;
}

.footer__description{
margin-bottom: 2rem;
}

.footer__form{
flex-direction: column;
gap: 1.25rem;
}

.footer__input{
padding: 25px 56px 20px 24px; 
border: 2px solid var(--first-color-light);
background: transparent;
color: var(--text-color);
outline: none;
}

.footer__links,
.footer__group,
.footer__content{
display: grid;
}

.footer__content{
grid-template-columns: repeat(2, max-content);
gap: 2.5rem 3.5rem;
}

.footer__title{
font-size: var(--h3-font-size);
margin-bottom: 1.5rem;
}

.footer__links{
row-gap: .75rem;
}

.footer__link{
color: var(--text-color);
transition: color .3s;
}

.footer__link:hover{
color: var(--first-color);
}

.footer__group{
margin-top: 5rem;
justify-items: center;
row-gap: 2rem;
}




.active-link{
color: var(--first-color);
}

/*================= BAR ===============*/


/*=============== SCROLL UP ===============*/
::-webkit-scrollbar{
width: .5rem;
border-radius: .5rem;
background-color: hsl(79, 4%, 15%);
}

::-webkit-scrollbar-thumb{
background-color: hsl(79, 4%, 29%);
border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover{
background-color: hsl(79, 4%, 35%);
border-radius: .5rem;
}

/* Show Scroll Up*/
.scrollup{
position: fixed;
right: 1rem;
bottom: -30%;
background-color: var(--first-color);
display: inline-flex;
padding: .35rem;
color: var(--title-color-black);
font-size: 1.25rem;
z-index: var(--z-tooltip);
transition: .3s;
}

.scrollup:hover{
transform: translateY(-.25rem);
}

.show-scroll{
bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 400px) {
    .container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

  
    .section__titles {
        flex-direction: column;
        row-gap: .25rem;
    }

    .home__description {
        font-size: var(--smaller-font-size);
    }

    .home__triangle{
        height: 230px;
    }

    .home__triangle-3 {
        width: 270px;
    }

  

    .pricing__container {
        grid-template-columns: 250px;
    }

    .pricing__card {
        padding: 1.5rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
    }


    .choose__item {
        margin-bottom: 15px; /* Reduced margin */
    }

    .choose__icon {
        font-size: 1.25rem; /* Smaller icon size */
        margin-bottom: 5px; /* Reduced margin */
    }

    .choose__item h3 {
        font-size: 1.2rem; /* Smaller font size for h3 */
        margin: 5px 0; /* Reduced margin */
    }

    .choose__item p {
        font-size: 0.9rem; /* Smaller font size for p */
        padding: 5px; /* Reduced padding */
        max-width: 280px; /* Increased width for better readability */
        text-align: center; /* Ensure centered text */
        white-space: normal; /* Allow line breaks */
        overflow: visible; /* Show overflow text */
    }
}


/* For medium devices */



@media screen and (min-width: 768px) {
    .nav__menu {
        width: 50%;
    }

    .section{
    padding: 5rem 0 0;
    }

    .home{
    height: 100vh;
    display: flex;
    }

    .home__subtitle{
    font-size: 1.5rem;
    }
    

    .home__container{
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .home__data,
    .choose__content{
        text-align: initial;
    }

    .program__container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Create two equal columns */
        gap: 2.5rem; /* Define the gap between grid items */
    }

    .pricing__container{
    grid-template-columns: repeat(2, 285px);
    gap: 2.5rem;
    }

    .footer__container{
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
    }

    .footer__subscribe{
  position: relative;
  bottom: 30px; /* Adjust the value as needed */
}

}





/* For large devices */
@media screen and (min-width: 1023px){
.nav{
height: calc(var(--header-height)+ 2rem);
}

.nav__menu{
width: initial;
}

.nav__toggle,
.nav__close{
display: none;
}

.nav__list{
flex-direction: row;
padding: 0;
align-items: center;
column-gap: 4rem;
}

.section{
padding: 7rem 0 0 0;
}
.home__container{
grid-template-columns: repeat(2, max-content);
align-items: initial;
}

.home__title{
margin: .75rem 0 1.25rem;
}

.home__description{
width: 450px;
margin-bottom: 3rem;
}

.cover__img{
width:500px;
}

.home__triangle{
height: 600px;
}

.home__triangle-1{
width: 445px;
}

.home__triangle-2{
width: 545px;
}
.choose__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
}

.home__triangle-3{
width: 645px;
}


}


@media screen and (min-width:1150px){
.container{
margin-left: auto;
margin-right: auto;
}
.home__data{
padding-top: 3rem;
}
 .cover__images{
transform: translateX(-9rem);
 }

 .cover__img{
width: 700px;
transform: translateX(2rem);
 }

 .home__triangle{
 height: 995px;
 }

 .home__triangle-1{
 width: 205px;
 }

 .home__triangle-2{
 width: 505px;
 }

 .home__triangle-3{
 width: 705px;
 }

 .scrollup{
right: 3rem;
 }
}
