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

body {
  overflow-x: hidden;
  background-color: #1d1d1d;
  font-family: Arial, Helvetica, sans-serif;
}

.header {
  background: #252526;
  padding-top: 56px;
}

.navbar {
  padding-top: 10px !important;
}

.navbar.fixed-top {
  background: #1a1a1a;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-item {
  margin-right: 40px;
}

.navbar-brand {
  color: #fff !important;
  font-size: 14px !important;
  padding-left: 70px;
}

.nav-link {
  color: #fff !important;
  font-size: 14px !important;
  padding: 0 20px !important;
  display: inline-block;
  line-height: 40px;
  position: relative;
}

.fa-bars {
  color: #fff;
  margin-right: 15px;
  font-size: 40px !important;
}

.navbar-toggler {
  border: 0 !important;
  outline: none !important;
  padding: initial !important;
}

.nav-link.active,
.nav-link:hover {
  font-weight: bold;
  background-color: #50C878;
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
}

.navbar-nav {
  align-items: center;
}

/* Responsive adjustments for mobile view */
@media (max-width: 767.98px) {
  .about-text {
    font-size: 18px !important;
    /* Further reduce the font size for smaller screens */
    margin-left: 20px !important;
    margin-right: 20px !important;
    word-wrap: break-word !important;
    /* Ensure text wraps correctly */
  }

  h2 {
    font-size: 1.5em;
    margin-left: 10px;
  }

  .separator {
    margin-left: 10px;
    margin-right: 10px;
  }
}

/* Custom styles for mobile view */
@media (max-width: 991.98px) {
  .navbar-nav {
    width: 100%;
    text-align: center;
  }

  .navbar-collapse {
    justify-content: center;
  }

  .navbar-nav .nav-item {
    margin-right: 0;
    margin-left: 0;
  }

  .navbar-nav .nav-link {
    padding: 10px;
  }
}

/* Custom styles for headings */
h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 2.0em;
  color: #FCFBF4;
  text-align: left;
  margin-bottom: 20px;
}

/* Style for .organization class */
.organization-1 {
  font-size: 16px;               
  font-weight: bold;            
  color:#76B900;                
  text-transform: uppercase;    
  margin: 10px 0;               
  letter-spacing: 0.25px;           
  font-family: 'Arial', sans-serif;  
  padding-bottom: 5px;          
}


.organization-1:hover {
  color: #6565e6;              
  cursor: pointer;           
}

.organization-2 {
  font-size: 16px;               
  font-weight: bold;            
  color:#9b3178;                
  text-transform: uppercase;    
  margin: 10px 0;               
  letter-spacing: 0.25px;           
  font-family: 'Arial', sans-serif;  
  padding-bottom: 5px;          
}


.organization-2:hover {
  color: #6565e6;              
  cursor: pointer;           
}

.organization-3 {
  font-size: 16px;               
  font-weight: bold;            
  color:#e34949;                
  text-transform: uppercase;    
  margin: 10px 0;               
  letter-spacing: 0.25px;           
  font-family: 'Arial', sans-serif;  
  padding-bottom: 5px;          
}


.organization-3:hover {
  color: #6565e6;              
  cursor: pointer;           
}

.organization-4 {
  font-size: 16px;               
  font-weight: bold;            
  color:#50C878;                
  text-transform: uppercase;    
  margin: 10px 0;               
  letter-spacing: 0.25px;           
  font-family: 'Arial', sans-serif;  
  padding-bottom: 5px;          
}


.organization-4:hover {
  color: #6565e6;              
  cursor: pointer;           
}

p {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 20px;
  color: #FCFBF4;
  text-align: left;
  margin-bottom: 20px;
  margin-left: 40px;
}



.about-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 25px;
  color: #50C878;
  text-align: left;
  margin-bottom: 20px;
  margin-left: 40px;
  margin-right: 40px;
  word-wrap: break-word;
  /* Ensure text wraps correctly */
}
/* Additional styles for sections */
section#about {
  padding: 30px 20px;
  padding-bottom: 0px;
}

section#experience {
  padding: 10px 20px;
  padding-bottom: 5px;
}

section#projects {
  padding: 10px 20px;
  padding-top: 5px;
}

section#resume {
  padding: 10px 20px;
}

section#contact {
  padding: 20px 20px;
  text-align: center;
}

#about-heading,
#experience-heading,
#projects-heading,
#resume-heading,
#contact-heading {
  font-weight: bold;
  margin-left: 40px;
  position: relative;
  text-align: left;
}

.separator {
  height: 2px;
  background-color: #333;
  margin: 20px 0;
  margin-left: 35px;
  margin-right: 35px;
  border-radius: 1px;
}

.fa-linkedin {
  color: #fff;
  font-size: 30px !important;
}

.fa-github {
  color: #fff;
  font-size: 30px !important;
}

.fa-envelope {
  color: #fff;
  font-size: 30px !important;
}

.contact-icons {
  display: flex;
  justify-content: left;
  margin-left: 25px;
  margin-top: 20px;
}

.contact-icon {
  display: flex;
  align-items: center;
  margin: 0 15px;
  text-decoration: none;
  color: #fff;
  /* Ensure default color for the icons and text */
}

.contact-icon span {
  color: #fcfbf4d7;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin-left: 10px;
  font-size: 17px;
}

.contact-icon span:hover {
  color: #CAF;
  transition: 0.5s;
}

footer {
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
  padding: 20px 0;
  background: #1a1a1a;
}

footer p {
  padding-left: 20px;
}

.resume-button-container {
  display: flex;
  justify-content: left;
  margin-left: 35px;
  margin-top: 20px;
}

.resume-button {
  background-color: #f8f5ec;
  color: #333;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.resume-button i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.resume-button:hover {
  background-color: #dda0dd;
}

.resume-button:hover i {
  transform: translateX(5px);
}

/* Styles for project cards */
.card {
  background-color: #2c2c2c;
  color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 10px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  background-color: #1a1a1a;
}

.card-img-top {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 250px;
  object-fit: cover;
}

.card-title {
  font-size: 1.5rem;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  margin-bottom: 10px;
}

.card-text {
  font-size: 1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #ccc;
  margin-left: 10px;
}

.card-link {
  text-decoration: none;
}


/* Custom styles for different project cards */
.card-custom-1 .card-img-top {
  height: 200px;
}

.card-custom-2 .card-img-top {
  height: 260px;
}

.card-custom-3 .card-img-top {
  height: 250px;
}

.card-custom-4 .card-img-top {
  height: 310px;
}

.card-custom-5 .card-img-top {
  height: 250px;
}

.card-custom-6 .card-img-top {
  height: 270px;
}

.card-custom-7 {
  height: 150px;
}


.card-custom-7 p {
  font-size: 20px;
}


#typing1 {
  white-space: normal;
  /* Change to normal for word wrapping */
  overflow: hidden;
  display: inline-block;
  width: 100%;
  /* Ensure it takes up the full width of its container */
  word-break: break-word;
  /* Break words if needed to prevent overflow */
  border-right: none;
}

@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}


@keyframes blink-caret {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: #FCFBF4;
  }
}

.mist-duration-container {
  display: flex;
  justify-content: left;
  margin-left: 0px;
  margin-top: 0px;
  background-color: #f8f5ec;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.external-link-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.2em; /* Adjust size as needed */
}
.card-custom-1 {
    position: relative; /* Ensure the card is a relative container for absolute positioning */
}


