*{
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow: hidden; /* Hide the scrollbar */
  scroll-behavior: smooth;
}

/* Allow scrolling, but hide the scrollbar */
body {
  overflow: scroll;  /* Allow scrolling */
}

/* Hide the scrollbar in Webkit browsers (Chrome, Safari) */
html::-webkit-scrollbar {
  display: none;
}

/* Hide the scrollbar in Firefox */
body {
  scrollbar-width: none;
}

/* Hide the scrollbar in Internet Explorer and Edge */
body {
  -ms-overflow-style: none;
}

body{
  background: #080808;
  color: white;
}

#header{
  width: 100%;
  height: 100vh;
  background-image: url("/Images/Profile/Swastik_Profile.png");
  background-size: cover;
  background-position: center;
}

.navbar-brand {
  font-family: "Ubuntu";
  font-size: 2.2rem;
  font-weight: 1000;
  text-decoration: none;
  color: white;
  transition: .5s;
}

.navbar-brand:hover{
  color: #4549c4;
  transition: .5s;
}

.navbar-brand:hover > .initials{
  color: white;
  transition: .5s;
}

.initials {
  color: #4549c4;
}

.container{
  padding: 20px 5%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: fixed; /* Fix the navbar at the top */
  top: 0;
  left: 0;
  width: 100%; /* Ensure the navbar takes the full width */
  backdrop-filter: blur(20px); /* Optional, keeps the blur effect */
  padding: 10px 5%;
  z-index: 99999;
}

nav ul li{
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a{
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  position: relative;
}

nav ul li a::after{
  content: '';
  width: 0;
  height: 3px;
  background: #4549c4;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: .5s;
}

nav ul li a:hover::after{
  width: 100%;
}

.header-text{
  margin-top: 17%;
  font-size: 40px;
}

.header-text h3{
  margin-top: 20px;
}

.header-text h6{
  margin-top: 30px;
  color: #8f8f8f;
  font-size: 20px;
}

#academics{
  padding: 20px 0;
  padding-top: 50px;
  color: white;
}

.sub-title{
  font-size: 40px;
  font-weight: 600;
}

.tab-titles, .experties-tab-titles{
  display: flex;
  margin: 20px 0 40px;
}

.tab-links, .experties-tab-links{
  margin-right: 50px;
  cursor: pointer;
  position: relative;
}

.tab-links::after, .experties-tab-links::after{
  content: "";
  width: 0;
  height: 3px;
  background:#4549c4;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: .5s;
}

.tab-links.active-link::after, .experties-tab-links.experties-active-link::after{
  width: 50%;
}

.academics-row-1{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 10px 0;
  background: #262626;
  padding: 30px;
  border-radius: 10px;
}

.academics-col-1{
  flex-basis: 8.5%;
}

.academics-col-1 img{
  width: 100%;
}

.academics-col-2{
  color: white;
  flex-basis: 90%;
}

.academics-col-2 p{
  padding-top: 20px;
  text-align: justify;
}

.tab-contents.active-tab, .experties-tab-contents.experties-active-tab{
  display: block;
}

.tab-contents, .experties-tab-contents{
  display: none;
}

#experties{
  padding: 20px 0;
  padding-top: 50px;
}

#certificates{
  padding: 20px 0;
  padding-top: 50px;
}

.technical-experties-list, .soft-experties-list, .certificates-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 40px;
  margin-top: 30px;
}

.certificates-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 40px;
  margin-top: 30px;
}

.card{
  background: #262626;
  padding: 30px;
  border-radius: 10px;
  position: relative;
}

@property --angle{
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.card::after, .card::before{
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background-image: conic-gradient(from var(--angle), transparent 50%, #4549c4);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -1;
  padding: 4px;
  border-radius: 10px;
  animation: 3s spin linear infinite;
}

.card::before{
  filter: blur(.5rem);
  opacity: .5;
}

@keyframes spin{
  from{
    --angle: 0deg;
  }
  to{
    --angle: 360deg;
  }
}

.technical-experties-logo, .certificates-logo, .soft-experties-logo{
  width: 50%;
  display: block;
  margin: auto;
  padding-bottom: 20px;
}

.certificates-list div a{
  text-decoration: none;
  display: inline-block;
  color: white;
  margin-top: 10px;
}

.certificates-list div a span{
  text-decoration: underline;
}

.certificates-list div{
  background: #262626;
  padding: 30px;
  border-radius: 10px;
  transition: background .5s, transform .5s;
}
.certificates-list div:hover{
  background: #4549c4;
  transform: translateY(-15px);
}

#experience{
  padding: 20px 0;
  padding-top: 50px;
}

.mpeb-training{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px 0;
  background: #262626;
  padding: 30px;
  border-radius: 10px;
}

.training-list{
  margin-top: 30px;
}

.mpeb-training-logo{
  flex-basis: 10.5%;
}

.mpeb-training-logo img{
  width: 100%;
}

.mpeb-training-content{
  color: white;
  flex-basis: 88%;
}

.mpeb-training-content p{
  padding-top: 20px;
  text-align: justify;
}

#projects{
  padding: 20px 0;
  padding-top: 50px;
}

.projects-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 40px;
  margin-top: 30px;
}

.project-logo{
  width: 50%;
  display: block;
  margin: auto;
  padding-bottom: 20px;
}

.projects-list div a{
  text-decoration: none;
  display: inline-block;
  color: white;
  margin-top: 10px;
}

.projects-list div a span{
  text-decoration: underline;
}

.projects-list div p{
  text-align: justify;
  margin-top: 10px;
}

.projects-list div{
  background: #262626;
  padding: 30px;
  border-radius: 10px;
  transition: background .5s, transform .5s;
}
.projects-list div:hover{
  background: #4549c4;
  transform: translateY(-15px);
}

#contact{
  padding: 20px 0;
  padding-top: 50px;
}

.custom-button {
  display: flex; /* Align items horizontally */
  align-items: center; /* Vertically center the image and text */
  padding: 10px 15px; /* Adjust padding */
  background: #262626; /* Set the background color of the button */
  border: none; /* Remove the border */
  color: white; /* Set the text color */
  cursor: pointer; /* Change cursor to pointer */
  border-radius: 5px; /* Rounded corners */
  transition: background .5s; /* Add a smooth transition */
  width: auto; /* Let buttons adjust to their content */
  margin-right: 0; /* Remove the right margin */
}

.custom-button:hover {
  background-color: #4549c4; /* Darken the background color on hover */
}

.button-logo {
  width: 20px; /* Set the width of the logo */
  height: auto; /* Keep the aspect ratio intact */
  margin-right: 10px; /* Add space between the image and the text */
}

.button-text {
  font-size: 16px; /* Set the font size of the text */
}

/* Optional: Remove default styling for anchor link */
.custom-link {
  text-decoration: none; /* Remove underline from link */
}

.contact-row {
  display: flex; /* Use flexbox to display buttons in the same line */
  justify-content: space-between; /* Distribute buttons with equal space between them */
  flex-wrap: wrap; /* Allow buttons to wrap if there’s not enough space */
  margin-top: 30px;
  width: 100%; /* Ensure the container takes up full width */
  box-sizing: border-box; /* Ensure padding and border are included in the width */
}


.copyright {
  width: 100%;
  background: #262626;
  text-align: center; /* Center-align the text */
  font-size: 14px; /* Adjust font size */
  color: white; /* Gray text color */
  padding: 30px; /* Space above */
}

.copyright p {
  margin: 0; /* Remove default margin from the paragraph */
  margin-top: 5px;
}

/* Media Query CSS */

@media only screen and (max-width: 600px){
  #header{
    background-image: url("/Images/Profile/Swastik_Profile_phone.png");
  }
}