@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");

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

:root {
  /*background Color */
  --primary-color: #4458dc;
  --secondary-color: #854fee;
  --bg-white: #fff;
  --bg-light: #faf8ff;
  --bg-black: #000;
  --bg-gray: #eee;
  --gradient: linear-gradient(to right, #4458dc 0%, #854fee 100%),
    radial-gradient(circle at top left, #4458dc, #854fee);

  /*Text Color */
  --primary-text: #4458dc;
  --secondary-text: #854fee;
  --text-white: #fff;
  --text-black: #000;
  --text-gray: #777;

  /*font family */
  --primary-font: "Rubik", sans-serif;
  --secondary-font: "Robot", sans-serif;
}

body {
  font-family: var(--secondary-font);
  width: 100%;
  background-color: url("images/diepshImg.jpg");
  background-repeat: no-repeat;
}

a {
  text-decoration: none;
}

/* 1 Custom Css */

::-webkit-scrollbar {
  width: 0.25rem;
}
::-webkit-scrollbar-track {
  background-color: var(--bg-gray);
}
::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
}

section {
  padding: 5rem 0;
}

.main-btn {
  display: inline-block;
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 2.875;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0.3125rem;
  box-shadow: 0.625 1.875rem rgb(118 85 255/30%);
  border: double 0.125rem transparent;
  padding: 0.265rem;
  transition: all 0.3s ease-in-out;
  --webkit-transition: all 0.3s ease-in-out;
}

.primary-btn {
  background-image: var(--gradient);
  color: var(--text-white);
}
.primary-btn:hover {
  border-color: var(--secondary-color);
  background: var(--bg-white);
  color: var(--secondary-text);
  box-shadow: none;
}

.secondary-btn {
  background-image: var(--bg-white);
  color: var(--secondary-text);
  border-color: var(--secondary-color);
}

.secondary-btn:hover {
  background: var(--gradient);
  color: var(--text-white);
  box-shadow: none;
}

h1 {
  font-size: 4.375rem;
  line-height: 3.75rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 1.25rem;
  font-family: var(--primary-font);
}

h2 {
  font-size: 2.5rem;
  line-height: 3.4375rem;
  font-weight: 500;
  color: var(--text-black);
  margin-bottom: 1.5625rem;
  font-family: var(--primary-font);
}

h3 {
  font-size: 2.25rem;
  line-height: 3.125rem;
  font-weight: 700;
  color: var(--text-black);
  margin-bottom: 0.9375rem;
  font-family: var(--primary-font);
  text-transform: uppercase;
}

h5 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-black);
  margin-bottom: 2.1875rem;
}
p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.625rem;
  font-weight: 400;
}

/* navbar */
.header_wrapper .navbar {
  padding: 0.9375rem 0;
  -o-transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

/* .header_wrapper .navbar-brand span{
    color:var(--primary-color);
    font-family: var(--primary-font);
    font-size: 2.25rem;
    font-weight: 600;
} */

.navbar-brand img {
  height: 5rem; /* Adjust the height as needed */
  width: auto; /* Maintain aspect ratio */
}

.header_wrapper .navbar-toggler:focus {
  box-shadow: none;
}

.header_wrapper .nav-item {
  margin: 0 0.625rem;
}

.header_wrapper .nav-item .nav-link {
  font-family: var(--primary-font);
  font-size: 0.9375rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--bg-light);
  display: inline-block;
}

.header_wrapper .nav-item .nav-link.active,
.header_wrapper .nav-item .nav-link:hover {
  color: var(--primary-text);
}

.header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-light);
  -webkit-box-shadow: 0 0.25rem 0.375rem rgba(12, 0, 46, 0.05);
  box-shadow: 0 0.25rem 0.375rem rgba(12, 0, 46, 0.05);
}

/* Banner */

/* .banner_wrapper{
    padding-top:6.875rem;
    z-index: 1;
    background-image: url('images/depesh-hero.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
} */

.banner_wrapper .banner-content {
  vertical-align: middle;
  align-self: center;
}
/* 
.banner_wrapper .banner-content h2::after{
    content:'';
    width:60%;
    height: 0.125rem;
    position:absolute;
    top:50%;
    left:25%;
    background: var(--bg-black);
    overflow-x:hidden;

} */

/* css text typing animation */

/* css end of text typing animation */

.animate-text{
  font-size: 1.275rem;
}

.animate-full-text {
  font-size: 1.275rem;
  letter-spacing: 0.15rem;
  font-family: var(--primary-font);
  border-right: 5px solid var(--text-gray);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  animation: typing 5s steps(27) 1s infinite alternate, cursor-blink 0.75s step-end infinite;
}

/* cursor blinkgin */
@keyframes cursor {
  50% {
    border-color: transparent;
    
  }
}
/*typing effect */
@keyframes typing {
  from {
    width: 0ch;
  
  }
  to{
    width: 27ch;
  }
}
.nav-link i {
  color: var(--bg-black);
  margin-right: 5px;
  margin-left: -20px;
  transition: color 0.3s;
}

.nav-link i:hover {
  color: var(
    --bs-primary
  ); /* Use your primary color variable or replace with the desired color code */
}

/* about section */

.about_wrapper h3 {
  color: var(--bg-white);
  font-size: 2rem;
}

.about_wrapper .nav-tabs .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

.about_wrapper .nav-tabs .nav-link:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.about_wrapper .tab-content p {
  font-family: var(--primary-font);
  padding-top: 20px;
  color: var(--bg-white);
}
.about_wrapper .main-btn.primary-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}
.about_wrapper .main-btn.primary-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.progress-wrapper {
  margin-top: 20px;
}
.skill {
  margin-bottom: 20px;
}

.skill span {
  color: var(--bg-light);
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
.progress {
  height: 20px;
  background-color: #e9ecef;
}

.progress-bar {
  background-color: var(--primary-color);
  line-height: 20px;
  text-align: center;
}

.experience-item {
  padding: 15px;
  border-bottom: 1px solid var(--bg-light);
}

.date {
  font-weight: bold;
  color: var(--primary-color);
}
.position {
  font-style: italic;
  color: var(--secondary-text);
}

.company {
  font-weight: bold;
  color: var(--bg-light);
}
.address {
  color: var(--bg-light);
}

.custom-line {
  width: 100%;
  border-width: 10px;
}

/* gallery section */

.gallery_wrapper {
  background-color: var(--bg-white);
  font-family: var(--primary-text);
  padding: 40px;
  text-align: center;
}

.gallery_wrapper h1 {
  color: var(--bg-black);
  margin-bottom: 20px;
  font-size: 3rem;
}

.gallery_wrapper .card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin: 20px;
  display: inline-block;
  width: 250px;
  vertical-align: top;
  overflow: hidden;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery_wrapper .card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact .card-group {

  justify-content: center;
  align-items: center;
  margin-right: 2rem;
  height: 10rem;
  width: 80%;
}

.card img {
  display: inline-block;
  width: 100%;
  height: 100%;
  border-radius: 8px 8px 0 0;
  transition: transform 0.5s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card img:hover {
  transform: scale(1.1);
}

.card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Ensure the carousel and videos are responsive */
#video-carousel .carousel-item {
  height: 400px; /* Adjust the height as needed */
}

.embed-responsive-16by9 {
  width: 100%;
  height: 100%;
}


/* Contact form styles */

.contact h3 {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.contact form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
}

form:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.form-floating {
  margin-bottom: 15px;
}

.form-floating input,
.form-floating textarea {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.form-floating input:focus,
.form-floating textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.form-floating label {
  font-weight: bold;
  color: #333;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--secondary-color);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.invalid-feedback,
.valid-feedback {
  display: none;
}

.is-invalid ~ .invalid-feedback {
  display: block;
  color: #dc3545;
}

.is-valid ~ .valid-feedback {
  display: block;
  color: #28a745;
}

/* Footer section */

footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
}

footer h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

footer p {
  color: #ccc;
  font-size: 0.9rem;
}

footer .nav-link {
  color: #fff;
  transition: color 0.3s;
}

footer .nav-link:hover {
  color: var(--primary-color);
}

footer .hstack {
  align-items: center;
}

footer .hstack h3 {
  margin-right: 10px;
}

footer .hstack .nav-link i {
  color: var(--bg-light);
  margin-right: 10px;
}

footer .footer-links ul {
  list-style: none;
  padding: 0;
}

footer .footer-links ul li {
  margin-bottom: 10px;
}

footer .footer-about {
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  border-top: 1px solid #444;
  padding-top: 10px;
  margin-top: 20px;
}

.footer-bottom span img {
  width: 5rem;
  height: auto;
  margin-right: 10px;
}
.footer-bottom span p {
  font-family: var(--secondary-font);
  font-size: medium;
}