/* ============== Variable Names  ============== */
:root {
  --theme-bg-color: #176baf;
}

/* ============== Baic Configurations ============== */
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border: 3px solid #F8F9FA;
  border-radius: 10px;
  background-color: var(--theme-bg-color);
}

::-webkit-scrollbar-track {
  background: transparent; 
}
::selection {
  color: #F8F9FA;
  background: var(--theme-bg-color);
}

body {
  background-color: #f3f3f3 !important;
  overflow-x: hidden;
}

/* ============== Sections Common CSS ============== */
.section {
  max-width: 1080px; 
  padding-top: 70px;
}

.section-title::before {
  content: '';
  position: absolute;
  height: 3px;
  background-color: var(--theme-bg-color);
  width: 100px;
  bottom: -7px;
}

.name-heading {
  font-size: 35px !important; 
}

.name-heading+h4 {
  font-size: 25px;
}

@media (min-width: 576px) { 
  .section {
    padding-top: 100px;
  }
  .name-heading {
    font-size: 70px !important; 
  }
  
  .name-heading+h4 {
    font-size: 40px;
  }
  .hero-section {
    width: fit-content !important;
  }
}

/* ============== Navbar CSS ============== */

.navbar {
  background-color: #010515;
}

.img-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d2d2d2;
}


.scrolled {
  background: var(--theme-bg-color);
  transition: background-color 0.3s ease-in-out;
}

.navbar-toggler {
  filter: invert(1);
}
  
/*  css for navbar */

.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white; /* You can change this to the color you want */
  transition: width 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: #ffcc00; /* Change this to the hover text color you prefer */
}





/* ============== Hero Section ============== */

.hero-section {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.mask {
  position: relative;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.4) 100%);
}

#particles-js {
  height: 100vh;
}

@supports (height: 100dvh) {
  #particles-js {
    height: 100dvh;
  }
}

#particles-js canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.cta-button {
  background-color: var(--theme-bg-color) !important;
  color: white !important;
  font-size: 16px !important;
}

/* ============== About Section ============== */
.progress {
  background-color: var(--theme-bg-color) !important;
  margin: 0.3rem auto 1.2rem;
  border-radius: 0;
  height: 0.3rem !important;
  opacity: 0.5;
  width: 95%;
}


/* ============== Reusable Card Customization ==============*/
.ui-card {
  height: 340px;
  max-width: 325px;
  width: 100%;
}

.ui-card a {
  transition: all 0.3s ease-in-out;
}
.ui-card a:hover{
  color: var(--theme-bg-color) !important;
  transform: translateX(8px);
}

.ui-card img {
  max-width: 60px;
}

.ui-card img.rounded-full {
  border-radius: 50%;
}



.card-ui .card {
  min-width: 300px !important;
  overflow: hidden;
}

.card-ui .card-body {
  border-top: 1px solid #b8b8b8;
  background-color: #0e0b621a;
  z-index: 1;
}
.card-ui .card img {
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.card-ui .card img.sa-img {
  object-fit: cover;
}

.certificate-card {
  max-width: 325px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.certificate-card img {
  width: 100%;
  transition: transform 0.3s ease-in-out;
}


.certificate-card .card-text-area {
  position: relative; 
  z-index: 1;
}

.certificate-card:hover img {
  transform: scale(1.2);
}

.card-ui .card img:hover {
  transform: scale(1.1);
}

@media (min-width: 576px) {
  .card-ui .card {
    min-width: 340px !important;
  }

  .cta-button {
    font-size: 18px !important;
  }
}






/* ============== Stats Section ============== */

#followers-text, #subscribers-text {
  font-family: monospace;
}


/* ---------------------contact--------------------- */
.contact-left{
  flex-basis: 35%;

}
.contact-right{
  flex-basis: 60%;
  
}
.contact-left p{
  margin-top: 30px;
}
.contact-left p i{
  color: #ff004f;
  margin-right: 15px;
  font-size: 25px;
}
.social-icons{
  margin-top: 30px;
}
.social-icons a{
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}
.social-icons a:hover{
  color: #ff004f;
  transform: translateY(-5px);
}
.btn.btn2{
  display: inline-block;
  background: #ff004f;
}
.contact-right form{
  width: 100%;
}
form input, form textarea{
  width: 100%;
  border: 0;
  outline: none;
  background: #f7f4f4;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}

form 
.btn2{
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}
.copyright{
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #262626;
  font-weight: 300;
  margin-top: 20px;
}
.copyright i{
  color: #ff004f;
}

#msg{
  color: #61b752;
  margin-top: -40px;
  display: block;
}


/* ============== Contact Section ============== */
.social-icon {
  border: 2px solid var(--theme-bg-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
 
.social-icon-type-2 {
  transition: all 0.3s ease-in-out;
}

.social-icon-type-2:hover {
  transform: translateY(-4px);
}

.social-icon-type-2 i {
  color: var(--theme-bg-color);
  font-size: 20px;
}

.social-icon-type-2 h6 {
  color: var(--theme-bg-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-type-2 h6 i {
  font-size: 14px;
}

.social-icon i {
  color: var(--theme-bg-color);
}

.social-icon:hover {
  background-color: var(--theme-bg-color);
  border-color: white;
}

.social-icon:hover i {
  color: white;
}

.kaggle-icon {
  color: var(--theme-bg-color);
  font-family: 'Trebuchet MS', sans-serif;
}

.kaggle-icon:hover {
  color: white;
}

#contact .light-mask {
  background-color: #176bafce;
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  opacity: .8;
}