/* Global Styles 
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background-color: #fdfdfd; 
  background-image: 
    radial-gradient(circle, rgba(240,240,240,0.6) 1px, transparent 1px),
    radial-gradient(circle, rgba(230,230,230,0.5) 1px, transparent 1px),
    linear-gradient(45deg, rgba(200, 200, 200, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(220, 220, 220, 0.06) 25%, transparent 25%),
    linear-gradient(135deg, rgba(155, 100, 255, 0.2), rgba(0, 115, 255, 0.2)); 
  background-size: 
    3px 3px, 5px 5px, 200px 200px, 200px 200px, 100% 100%;
  background-repeat: repeat;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
  background-attachment: fixed;
  color: #222; 
  overflow-x: hidden;
  position: relative;
}
*/


/* Global Styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f4f7ff, #f0f2fc);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: #222;
  overflow-x: hidden;
  position: relative;
}





h1 {
    font-size: 20px;  /* Slightly larger for professional emphasis */
    margin: auto;
    text-align: center;
    font-family: 'Merriweather', serif; /* Fallback to a serif font */
    font-weight:bold;
}

/* Top-right triangle section */
.triangle-section {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: red;
    clip-path: polygon(0 0, 100% 0, 100% 100%); /* Reversed direction */
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}


        /* FontAwesome icon */
        .triangle-section i {
            font-size: 12px;
            color: white;
            margin-top:6px;
            margin-right:6px;
        }


.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: hidden;
  pointer-events: none; /* Prevent stars from blocking interactions */
}

.star {
  position: absolute;
  background: rgba(13, 40, 130, 0.8);
  border-radius: 50%;
  animation: fall 1s linear infinite; /* Star falling animation */
  width: 2px; /* Star size */
  height: 2px;
  animation-delay: calc(-1s * var(--i)); /* Delay each star's fall to create random timing */
}

/* Create random star falling animations */
@keyframes fall {
  0% {
    transform: translateY(-100%);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* Create random stars */
.star:nth-child(1)  { top: 10%; left: 10%; width: 2px; height: 2px; animation-duration: 2s; }
.star:nth-child(2)  { top: 20%; left: 30%; width: 1px; height: 1px; animation-duration: 3s; }
.star:nth-child(3)  { top: 30%; left: 50%; width: 3px; height: 3px; animation-duration: 4s; }
.star:nth-child(4)  { top: 40%; left: 70%; width: 2px; height: 2px; animation-duration: 2.5s; }
.star:nth-child(5)  { top: 60%; left: 80%; width: 1.5px; height: 1.5px; animation-duration: 3.5s; }
.star:nth-child(6)  { top: 15%; left: 25%; width: 2px; height: 2px; animation-duration: 2.2s; }
.star:nth-child(7)  { top: 35%; left: 60%; width: 1.5px; height: 1.5px; animation-duration: 2.8s; }
.star:nth-child(8)  { top: 45%; left: 85%; width: 3px; height: 3px; animation-duration: 3.1s; }
.star:nth-child(9)  { top: 25%; left: 15%; width: 2px; height: 2px; animation-duration: 2.6s; }
.star:nth-child(10) { top: 55%; left: 45%; width: 1px; height: 1px; animation-duration: 4s; }
.star:nth-child(11) { top: 70%; left: 10%; width: 2px; height: 2px; animation-duration: 3.3s; }
.star:nth-child(12) { top: 80%; left: 30%; width: 1.5px; height: 1.5px; animation-duration: 2.9s; }
.star:nth-child(13) { top: 90%; left: 50%; width: 3px; height: 3px; animation-duration: 4.2s; }
.star:nth-child(14) { top: 5%; left: 75%; width: 2px; height: 2px; animation-duration: 3.6s; }
.star:nth-child(15) { top: 50%; left: 90%; width: 1px; height: 1px; animation-duration: 2.7s; }







.clouds {
  position: absolute;
  top: 60%;
  left: 30%;
  width: 60%;
  height: 45%; /* Reduced height */
  background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 10%, transparent 30%);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
transform: translateX(-110%); /* Center horizontally */
}


.clouds::before,
.clouds::after {
  content: '';
  position: absolute;
  top: -15px;
  width: 80px; /* Adjusted size */
  height: 50px; /* Adjusted size */
  background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 30%, transparent 60%);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.clouds::before {
  left: 10%;
}

.clouds::after {
  right: 10%;
}


#createAccountBtn{
    color:white;
}






/* Form Container - Glassmorphism */
.templatemo-container {
    background: linear-gradient(135deg,  #673ab7, #1a237e);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Subtle shadow */
}

/* Input Styling */
.form-control {
    border: none;
    border-radius: 30px;
    padding: 15px 20px;
    transition: all 0.3s ease-in-out;
    font-size: 12px;
    font-weight:bold;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.3);
}


/* Username check Box Styling */
.input-group-addon{
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    background:white;
}

#sendOtpButton,
#verifyOtpButton{
    
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    width:50%;
    align-items:center;
    text-align:center;
    
}


/* Submit Button Styling */
.btn-info {
    display: inline-block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight:bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background:#4568dc;
}

.btn-info:hover {
    transform: scale(0.95);
    background:#4568dc;
}


        .home-logo {
            display: flex;
            justify-content: center; /* Horizontally center */
            margin-top:20px;
            height:30px;
        }
        
        .home-logo img{
                        border-radius:5px;
                        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6); /* Subtle shadow */
        }



    
    .gradient-icon {
    font-size: 20px; /* Adjust size as needed */
    background: linear-gradient(45deg, #0975e3, #4568dc, #007bff); /* Define gradient colors */
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
}


    .btn-info{
        font-weight:bold;
    }
    
    
    
    .templatemo-footer {
            margin-top:30px;
    }

    /* Push form down on smaller screens */
@media (max-width: 490px) {
    .templatemo-footer {
            margin-top:20px;
    }


    .margin-bottom-15{
        margin-top:10%;
    }
}


#forgotPasswordModal{
    align-items:center;
    text-align:center;
    justify-content:center;
}



#forgotPasswordModal .modal-content{
    align-items:center;
    text-align:center;
    justify-content:center;
    background: linear-gradient(135deg,  #673ab7, #1a237e);
}

#forgotPasswordModal button{
    padding:5px 15px;
    border-radius:30px;
    border:none;
    font-size:12px;
    font-weight:bold;
    background: white;
    color:#4568dc;
}

#forgotPasswordModal button:hover{
background:white;
color:#4568dc;
}

#forgotPasswordModal .close{
font-size:15px;
padding:5px;
}


/* The Modal (background) */
.modal {
    overflow: auto; /* Enable scroll if needed */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black background */
    backdrop-filter: blur(4px) grayscale(50%); /* Optional grayscale effect */
    justify-content: center;
    align-items: center;
}



        .close_create_account{
            position: absolute;
            top: 10px;
            right: 10px;
            cursor: pointer;
            color: #002244;
            font-size: 20px;
            font-weight:bold;
            background:white;
            border-radius:10px;
        }
        .close_create_account:hover
        {
            color: red;
            font-weight:bold;
        }
        
        
        