/* Version 1.081025 */

* {
  font-family: "InstaSans", sans-serif !important;
}


@font-face {
  font-family: "TechFont";
  src: url("./fonts/Robot.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: "RoundedFont";
  src: url("./fonts/RoundedFont.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: "InstaSans";
  src: url("./fonts/InstaSans.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}




/* Hero CTA Btn */

.ctabtn {
  /* background-color: rgb(255, 255, 255) !important; */
  /* color: black; */
  background-color: rgba(22, 22, 22, 0.76) !important;
  color: rgb(255, 255, 255);
  border: none !important;
  border-radius: 0.375rem;
  /* like Bootstrap btn rounded */
  padding: 0.375rem 0.75rem;
  /* vertical and horizontal padding */
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  /* smooth hover */
  margin: 1px auto 0;
  text-decoration: none;
  /* removes underline */
}

/* Hover effect */
.ctabtn:hover {
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Dark mode override */
body.dark-mode .ctabtn {
  background-color: rgba(22, 22, 22, 0.76) !important;
  color: rgb(255, 255, 255)
}











/* Toggle Button Appearance (Optional) */
#darkModeToggle {

  position: fixed;
  /* fixes the button relative to the viewport */
  bottom: 40px;
  /* distance from the bottom */
  right: 10px;
  /* distance from the right */
  z-index: 1000;
  /* ensures it stays above other elements */





  width: 50px;
  /* fixed width */
  height: 50px;
  /* fixed height (must be same as width) */
  padding: 0 !important;
  /* override Bootstrap padding */
  border-radius: 50%;
  /* makes it a circle */
  display: flex;
  /* center content */
  align-items: center;
  justify-content: center;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;



}


#darkModeToggle svg {
  width: 25px;
  /* width of the circle */
  height: 25px;
  /* height of the circle */

}





/* White hamburger icon in dark mode */
body.dark-mode .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}







/* Loading Screen Styles */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  filter: grayscale();
  
  /* Change background if needed */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
 transition: opacity 0.8s ease; /* smooth fade */
}


#loading.fade-out {
  opacity: 0;
  pointer-events: none; /* prevent interaction after fade */
}


#loading img {
  width: 520px;
  /* Adjust size of GIF */
  height: auto;

}





/* === Light Mode (default) === */
body {
  background-color: #ffffff;
  /* Text Color */
  color: #000;
  /* filter: grayscale(); */
}









.navbar-brand {
  font-family: RoundedFont;
}


.navbar {


  /* NavBar Text Color */
  background-color: #ffffff !important;

  /* for rounded nav bar */
  /* margin-top: 25px;
  margin-left: 225px;
  margin-right: 225px;
  border-radius: 50px; */
}



/* @media (max-width: 900px) {
  .navbar {
    margin-left: 25px;
    margin-right: 25px;
  }

  .navbar-brand {
    margin-left: 25px;
    margin-right: 25px;
  }
} */









.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero .background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Prevent interaction */
}

.hero .background-container iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero .image-background {
  background-image: url('https://res.cloudinary.com/dpiew5eib/image/upload/v1756913450/Portfolio_8_vz2jdm.png');
  filter: grayscale();
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
}

@media (max-width: 1300px) {
  .hero .image-background {
    background-image: url('https://res.cloudinary.com/dpiew5eib/image/upload/v1756913442/Portfolio_1080_x_1080_px_8_ve7tvv.png');
  }


  /* .msbsize{
    font-size: 16px
  } */
}


.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /* background-color: rgba(0, 0, 0, 0.548); */
  z-index: 1;
}

.hero-content {
  position:sticky;
  z-index: 2;
  color: rgb(255, 255, 255);
  text-align: center;
  top: 50%;
  transform: translateY(-50%);

  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}


.hero-text{
font-size: 2.5rem;
font-family: "InstaSans", sans-serif;
font-weight: 350;

}

.hero-subtext{
font-size: 2rem;
font-family: "InstaSans", sans-serif;
font-weight: 350;
}


.hero .text-center {
  position: relative;
  z-index: 2;
}





/* background-color: #000000;  */

/* color: #000000bb;
  min-height: 100vh;
  padding: 90px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
} */



.logo-img {
  display: block;
  margin: 0 auto 20px;
  max-width: 85px;
}





.body btn-primary mt-3 {
  background-color: #ffffff;
  color: #fff;
  border-color: #555 #555 #000;
}









.about-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.699)),
    url('https://res.cloudinary.com/dpiew5eib/image/upload/v1754447952/461203257_2068137606936477_5389462845866621110_n_oddcbr.jpg') center/cover no-repeat;
  filter: grayscale(25%);
  color: #fff;
  min-height: 10vh;
  padding: 100px 20px;
  text-align: center;
}









@media (max-width: 700px) {
  .about-bg {
    height: 5px;

 
}
}






.portfolio-item img {
  max-height: 200px;
  object-fit: cover;
  width: 100%;
  border-radius: 8px;
}

footer {
  background-color: #0e0e0e;
  color: #fff;
}






.nav-link {
  color: #000;
}






/* === DARK MODE === */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

/* Navbar Color DarkMode*/
body.dark-mode .navbar {
  background-color: #040404ab !important;
}

body.dark-mode .navbar .nav-link,
body.dark-mode .navbar-brand {
  color: #ffffff !important;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
  color: #ffffff !important;
}

/* Hero Text */
body.dark-mode .hero {
  color: #ffffff;
}

/* About section */
body.dark-mode #about {
  background-color: #1e1e1e00 !important;
  color: #ffffff;

  /*Text Color*/
}

body.dark-mode #about h2,
body.dark-mode #about p,
body.dark-mode #about li {
  color: rgb(255, 255, 255);
}











/* Portfolio section */


.vidcard-rcorner {
  border-radius: 15px
}














body.dark-mode #portfolio {
  background-color: #1e1e1e00 !important;
  color: #ffffff;
}

body.dark-mode #portfolio h2,
body.dark-mode .tab-content p {
  color: #ffffff;
  /* Tab Select Color */
}

/* Tabs */
body.dark-mode .nav-tabs .nav-link {
  color: #bbb;
  background-color: transparent;
  border-color: #444 #444 #000;
}

body.dark-mode .nav-tabs .nav-link.active {
  background-color: #303030;
  /* Tab Color */
  color: #fff;
  border-color: #555 #555 #000;
}

/* Contact form */
body.dark-mode #contact {

  color: #e0e0e0;
}

body.dark-mode #contact .form-control {
  background-color: #222;
  border-color: #cacaca;
  color: #fff;
}

body.dark-mode #contact .form-control::placeholder {
  color: #aaa;
}

/* Footer */
body.dark-mode footer {
  background-color: #000;
  color: #ccc;
}





/* Container for marquee */
.logo-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  filter: grayscale(100%);
  margin-bottom: -3%;

}

/* The moving track */
.logo-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;

}

.logo-track img {
  height: 80px;
  margin: 0 2rem;
  object-fit: contain;
  border-radius: 50%
  
}

/* Keyframes for continuous scroll */
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-33.33%);
  }
}

/* Optional: Adjust speed or spacing for desktop vs mobile */
@media (max-width: 700px) 
{
  .logo-track img {
  margin-bottom: -345px;
  height: 55px;
  margin: 0 2rem;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
  border-radius: 50%
  }


}
  .logo-track {
    animation-duration: 20s;
  
}


.logo-track img:hover {
  transform: scale(1.1);
  z-index: 1;
}












/* Responsive fix for profile image centering */
@media (max-width: 991.98px) {
  #about .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
  }



  #about .col-md-4,
  





  #about .col-md-8 {
    width: 100%;
    max-width: 100%;
  }
}


.profile-img {
  display: block;
  margin: 0 auto 20px;
  border-radius: 50%;
  width: 100%;
  max-width: 200px;
  /* Controls desktop size */
  height: auto;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  filter: brightness(100%);
  transition: box-shadow 0.4s ease, filter 0.4s ease;
}

body {
  transition: background-color 0.4s ease, color 0.4s ease;
}


body.light-mode {
  background-color: white;
  color: black;
}

body.dark-mode {
  background-color: #121212;
  color: white;
}


/* body.dark-mode .profile-img {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  filter: brightness(90%);
} */







/* DARK MODE BUTTON COLOR - Light mode (default) */
.btn {
  background-color: rgb(61, 59, 59) !important;
  color: white !important;
  border: none !important;
  margin: 1px auto 0px;
  /*border-radius: 50%;*/
}

/* BUTTON Dark mode override */
body.dark-mode .btn {
  background-color: rgb(70, 68, 68) !important;
  color: rgb(255, 255, 255) !important;
}

.btn:hover {
  opacity: 0.9;
  transition: all 0.7s ease;
}

body.dark-mode .btn:hover {
  background-color: #444444 !important;
}


.card {
  border-radius: 1.0em;
  margin-bottom: 20px;
  padding: 15px;
  /* justify-content: center; */


}


.txt-margin {
  margin: 0 13%;
  margin-bottom: 2%;

}




.cardcontainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

}


@media (max-width: 1390px) {
  .cardcontainer {
    grid-template-columns: repeat(2, 1fr);

  }
}



@media (max-width: 775px) {
  .cardcontainer {
    grid-template-columns: 1fr;

  }
}









.resume-page-top-spacing {
  margin-top: 50px;


}




.profile-spacing {
  /* display: flex;
align-items: center; */
  margin-bottom: -35px;
  margin-top: 30px;

}











































.image-card {
  text-align: center;
  margin-bottom: 25px;
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.image-title {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
}

.image-subtitle {

  font-size: 0.875rem;
}

.modal-content {
  background-color: #ffffffea;
}

/*FOR MODAL CONTACT*/
.dark-mode .modal-content {
  background-color: #0e0d0dc7;
  color: #dadada;
  /*Font color*/

  .dark-mode .modal-header,
  .dark-mode .modal-body {
    border: color 0;
  }

  .dark-mode .form-control {
    background-color: #343a40;
    color: #333333;
    border-color: 0;
  }


  .dark-mode .btn-close {
    filter: invert(1);
  }

}