@import url('https://fonts.googleapis.com/css?family=Montserrat');
* {
  box-sizing: border-box;
}

/* PAGE LOADER */
.page-loader {
  width: 100%;
  height: 100vh;
  position: absolute;
  background: linear-gradient(135deg, #222831 0, #393E46 100%);
  z-index: 1000;
}
.page-loader .txt {
  color: #EEEEEE;
  text-align: center;
  top: 40%;
  position: relative;
  letter-spacing: 0.3rem;
  font-weight: bold;
  line-height: 1.5;
}
/* PAGE LOADER END */

/* SPINNER */
.spinner {
  width: 48px;
  height: 48px;
  margin: auto;
  position: relative;
  top: 35%;
}

.spinner:before {
content: '';
width: 48px;
height: 5px;
background: #000;
opacity: 0.25;
position: absolute;
top: 60px;
left: 0;
border-radius: 50%;
animation: shadow 0.5s linear infinite;
}

.spinner:after {
content: '';
width: 100%;
height: 100%;
background: #EEEEEE;
animation: bxSpin 0.5s linear infinite;
position: absolute;
top: 0;
left: 0;
border-radius: 4px;
}
  @keyframes bxSpin {
  17% {
  border-bottom-right-radius: 3px;}
  25% {
  transform: translateY(9px) rotate(22.5deg);}
  50% {
  transform: translateY(18px) scale(1, .9) rotate(45deg);
  border-bottom-right-radius: 40px;}
  75% {
  transform: translateY(9px) rotate(67.5deg);}
  100% {
  transform: translateY(0) rotate(90deg);}
  }
  @keyframes shadow {
  0%, 100% {
  transform: scale(1, 1);}
  50% {
  transform: scale(1.2, 1);}
  }
/* SPINNER END */

/* DOTS BG */
canvas{
    position:absolute;
    width:100%;
    height:100%;
}
/* DOTS BG END*/

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #222831, #393E46);
    transition: background 0.5s ease;
    padding: 20px;
    user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    -khtml-user-select:none;
    -webkit-user-select:none
}

body.light-mode {
    background: linear-gradient(45deg, #f5f7fa, #c3cfe2, #e2e8f0);
}

/* Animated Background */
.bg-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgb(238, 238, 238);
    bottom: -160px;
    animation: square 25s infinite;
    transition-timing-function: linear;
    border-radius: 2px;
}

@keyframes square {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        }
}

/* Generate bubbles at different positions */
.bg-bubbles li:nth-child(1) {
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
    animation-duration: 17s;
}

.bg-bubbles li:nth-child(2) {
    left: 20%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 22s;
}

.bg-bubbles li:nth-child(3) {
    left: 25%;
    animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.bg-bubbles li:nth-child(5) {
    left: 70%;
}

.bg-bubbles li:nth-child(6) {
    left: 80%;
    width: 120px;
    height: 120px;
    animation-delay: 3s;
}

.bg-bubbles li:nth-child(7) {
    left: 32%;
    width: 160px;
    height: 160px;
    animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
    left: 55%;
    width: 20px;
    height: 20px;
    animation-delay: 15s;
    animation-duration: 30s;
}

.bg-bubbles li:nth-child(9) {
    left: 25%;
    width: 10px;
    height: 10px;
    animation-delay: 2s;
    animation-duration: 25s;
}

.bg-bubbles li:nth-child(10) {
    left: 90%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

/* Profile Card */
.profile-card {
    width: 100%;
    max-width: 400px;
    background: rgba(30, 30, 40, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #fff;
}

body.light-mode .profile-card {
    background: rgba(255, 255, 255, 0.7);
    color: #333;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

button{
  margin: 0px 0 20px 0;
}

.first-btn, .other-btn{
  background: #00ADB5;
  border: 1px solid #EEEEEE;
  padding: 10px 25px;
  color: #EEEEEE;
  font-weight: bold;
  border-radius: 3px;
  font-family: Montserrat, sans-serif;
  cursor: pointer;
}
.other-btn{
  margin-left: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #EEEEEE;
}
.other-btn:hover{
  color: #EEEEEE;
  background: #00ADB5;
  transition: .75s;
}

/* Profile Image */
.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 5px solid rgb(238, 238, 238);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    border-color: rgb(0, 173, 181);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
        }

/* Profile Info */
.profile-info h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-info h2 {
    font-size: 18px;
    font-weight: 400;
    color: #aaa;
    margin-bottom: 10px;
}

body.light-mode .profile-info h2 {
    color: #393E46;
}

.profile-info p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #ddd;
}

body.light-mode .profile-info p {
    color: #393E46;
}

/* Social */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

body.light-mode .social-icons a {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:nth-child(1):hover {
    color: #00ADB5; /* LinkedIn */
}

.social-icons a:nth-child(2):hover {
    color: #333; /* GitHub */
}

.social-icons a:nth-child(3):hover {
    color: #1da1f2; /* Twitter */
}

.social-icons a:nth-child(4):hover {
    color: #e1306c; /* Instagram */
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 30, 40, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 100;
}

body.light-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.7);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
}

body.light-mode .theme-toggle i {
    color: #333;
}

/* Responsive */
@media (max-width: 480px) {
.profile-card {
    padding: 20px;
}
            
.profile-img {
    width: 120px;
    height: 120px;
}
            
.profile-info h1 {
    font-size: 24px;
}
            
.profile-info h2 {
    font-size: 16px;
}
            
.profile-info p {
    font-size: 14px;
}
            
.social-icons a {
    width: 40px;
    height: 40px;
    font-size: 18px;
}
}

/* Footer */
footer {
    color: #EEEEEE;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
    margin: 8px 0;
    font-size: 12px;
}

footer a {
  color: #EEEEEE;
  background-color: transparent;
  border-bottom: 1px dotted #000;
  text-decoration: none;
}
/* Footer End */