
html {
  height: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  scroll-behavior: smooth;
 
}

html, body {
  overflow: auto; /* Ensure scrolling is enabled */
  height: 100%; /* Full height for both */
  overflow-y:scroll;

  
}
::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: #A95C68;;
  -webkit-box-shadow: 0 0 1px rgba(213, 10, 101, 0.5);
}



/* Message Button */
.cardContact {
  position: fixed;
  bottom: 16em;
  left: 0;
  text-decoration: none;
  color: black;
  border-radius: 0% 0% 20% 20%;
  font-weight: bold;
  background: #A95C68;
  padding: 0.5em;
  transform: rotate(-90deg);
  text-align: center;
  font-size: 18px;
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  z-index: 8;
}


/* Blue Title*/

:root {
  --blue: #A95C68;
  --light-shadow: #f8bac3;
  --dark-shadow: #383336;
}

.wrapper {
  background: radial-gradient(black, black);
  display: grid;
  grid-template-areas: 'overlap';
  place-content: center;
  text-transform: uppercase;
  height: auto;
  overflow: auto;
}

.wrapper > div {
  -webkit-background-clip: text;
  background-clip: text;  
  color: #333438;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp( 1rem, 3vw, 13rem);
  grid-area: overlap;
  letter-spacing: 2px;
  -webkit-text-stroke: 4px transparent;
}

.bg, .fg {
  z-index: 4; /* Ensure these elements are behind the content */
  padding: 20px; /* Adjust padding as needed */
  margin: 20px;
  position: relative; 
}

div.bg {
  background-image: repeating-linear-gradient( 105deg, 
    var(--blue) 0% , 
    var(--dark-shadow) 5%,
    var(--blue) 12%);
  color: transparent;
  filter: drop-shadow(5px 15px 15px black);
  transform: scaleY(1.05);
  transform-origin: top;
}
div.fg{
  background-image: repeating-linear-gradient( 5deg,  
    var(--blue) 0% , 
    var(--light-shadow) 23%, 
    var(--blue) 31%);
  color: #1e2127;
  transform: scale(1);
}

.page {
  background-color: black;
}

/* Home page */

body {
  margin-top: 0px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  color: white;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  background-color:#0e0d0d;
  
}


/* ---------- NAVIGATION MENU ------------*/


.mainMenu {
  
  margin-top: 0;
  padding-top: 0;
  background-color: #222222;
  position: sticky;
  top: 0px;
  z-index: 1000;

}


nav {
  position: sticky;
  top: 0px;
  height: 60px;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  margin: 0 auto 20px;
  border: 1 px solid rgba(255, 255, 255, 0.15);
  
}

nav .name {
  width: 20%;
  margin-top: 5px;
  margin: 15px 0;
  float: left;
  text-justify: center;
  text-align:center;
  color: white;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height:1.0;

}

nav .logo {
  margin-top: 5px;
  float: right;
  margin-right: 15px;
  
}


nav > ul {
  list-style-type: none;
  margin: 0;
  background-color: black;
}

nav > ul > li {
  display: inline-block;
  margin: 0 30px;
  padding: 20px;
  padding-left: 20px;
  text-transform: uppercase;

}

nav > ul > li a {
  display: black;
  color: white;
  text-align: center;
  padding: 16px;
  text-decoration: none;
}

nav > ul > li a:hover{
  border-bottom: 6px solid #A95C68;
  color: #A95C68;
  letter-spacing: 3px;
}

nav > ul > li a:focus{
  border-bottom: 6px solid #A95C68;
  color: #A95C68;
  letter-spacing: 3px;
}

.social-menu {

  writing-mode: vertical-rl;
  float: right;
  padding: 0px;
  position: sticky;
  height: 100%;
  
}

.social-menu > ul > li a:hover 
{
  
  border-left: 6px solid #A95C68;
  background-color: black;
  letter-spacing: 3px;
}

/* -----Left Side of Homepage ------*/

.outerContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  margin: 2px;
  
}


.parentContainer {
    flex-basis: 33%; 
    height: 75vmin;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    transform: skew(5deg);
    margin-inline-start: 10%; 
    padding: 10px;
}

.bgContainer {
  background-color: #111111;
  margin-top: 0;
}

.bxContainer {
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  

}

/*.borderContainer h1, p {*/
/*  text-align: center;*/
  
/*}*/

.borderContainer h1,
.borderContainer p {
    text-align: center;
}

h1{
  color: #484848;
  font-size: 50px;
  font-weight: bold;
  font-family: monospace;
  letter-spacing: 7px;
  cursor: pointer
}
h1 span{
  transition: .5s linear
}
h1:hover span:nth-child(1){
  margin-right: 5px
}
h1:hover span:nth-child(1):after{
  content: "'";
}
h1:hover span:nth-child(2){
  margin-left: 30px
}
h1:hover span{
  color: #fff;
  text-shadow: 0 0 10px #A95C68,
               0 0 20px #A95C68, 
               0 0 40px #A95C68;
}


/* -------Right Side of Homepage---------- */

.container {
  flex-basis: 45%; 
  height: 75vmin;
  max-width: 45%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 10vmin;
 overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  transform: skew(5deg);
}


.container .navPic {
  transition: all 0.5s ease-in-out;
  
  position: relative;
  height: 100%;
}

.container .navPic img {
  object-fit: cover;
  opacity: 0.2;
}

.container .navPic:hover img {
  filter: grayscale(0);
}


.container .navPic .navTitle {
  color: black;
  background: #A95C68;
  padding: 0.1em;
  transform: rotate(-90deg);
  transform-origin: 0% 0%;
  transition: all 0.5s ease-in-out;
  min-width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 2em;
  font-weight: bold;
  border-radius: 0% 0% 20% 20%;
  white-space: nowrap;
}

.container .navPic:hover {
  flex-grow: 10;
}
.container .navPic:hover img {
  filter: grayscale(0);
}

.container .navPic:hover .navTitle {
  text-align: center;
  top: calc(100% - 2em);
  color: white;
  background: rgba(0, 0, 0, 0.5);
  font-size: 2em;
  transform: rotate(0deg) skew(-5deg);
}

.container .navPic img {

  object-fit: fill;
  transition: all 0.1s ease-in-out;
  filter: grayscale(100%);
}
.container .navPic:not(:nth-child(5)) {
  margin-right: 1em;
}


/*  ---------ABOUT PAGE----------  */

section {
  background-color: rgba(0, 0, 0, 0.5);
  clear: both;
}

.visually-hidden {
  visibility: hidden;
}

.wrapper .bg:hover, .wrapper .fg:hover {
  letter-spacing: 3px;
  filter: drop-shadow(5px 5px 5px #A95C68);
}



#about, #my-about {
  clear: both;

  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;
  
}

#about p {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: x-large;
  color: white;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
}

#about ul {
  margin-top: 2rem;
  list-style-type: none;
  display:inline-flex;
  width: 100%;
  justify-content: space-around;
}

/* SKILLS SCROLL BAR */

.scrollContainer {
  background-color: rgba(0, 0, 0, 0.5);
  clear: both;
  height: 100%;
  width: 100%;
  overflow: hidden; 
  display: flex;
  justify-content: center;
  white-space: nowrap;
  margin-bottom: 10rem;
}

.list {
  align-items: top;
  -webkit-animation: loop 20s infinite linear;
  animation: loop 15s infinite linear;
}



.item-txt{
 
  font-family: Kumbh Sans;
  font-size: 30px;
  line-height: 30px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  display: inline-block;
}

.item-d{
  display: inline;
}

.item-dot{
  max-width: 10px;
  max-height: 30px;
  margin: 0 50px;
  padding: 10px;
  border-radius: 50%;
  display: inline-block;
  transform: translateY(30px);
}

.track:hover {
  animation-play-state: paused;
}

.dot-r{background-color: #F35C4A;}
.dot-b{background-color: #1188FF;}
.dot-g{background-color: #60F2D0;}
.dot-y{background-color: #FFDB6B;}
.dot-t{background-color: #BFE05E;}
.dot-s{background-color: #ff69b4;}


@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}




/* Portfolio Page */

#portfolio, #portfolio-page {
  clear: both;
  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 5em;
}


#portfolio .wrapper {
  clear: both;
  
}


/* Style tab links */

.tablink {
  background-color: #555;
  color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 25%;
}

.tablink:hover {
  background-color: #777;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: white;
  display: none;
  padding: 100px 20px;
  height: 100%;
}

#WebDevelopment {background-color: #A95C68;}
#SoftwareProjects {background-color: #A95C68;}
#Cloud {background-color: #A95C68;}
#ArtificialIntelligence {background-color: #A95C68;}

/* Content Section*/

 .project-section, .project-section2 {
  display: flex;
  align-items: flex-start;
  gap: 2em;
  margin-bottom: 3em;
  background: white;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  height: auto; /* let it grow naturally based on image height */
}

.project-section2 {
  flex-direction: row-reverse;
}


.project-image img {
  max-height: 350px;
  width: auto;
  height: auto;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}

.project-content,
.project-content h3,
.project-content p,
.project-content li {
    color: #000 !important;
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  color: black;
  flex: 1;
}

.project-content h3 {
  text-align: center;
}

.project-content p {
  margin-bottom: 1rem;
}

.link-button {
  margin-top: 5px;
} 

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.project-links .link-button {
    display: inline-block;
    margin: 0;
}

.link-button.demo a {
    background-color: #A95C68;
}


.link-button.demo a:hover {
    background-color: white;
    color: #A95C68;
    border-style: solid;
    border-color: #A95C68;
}





#gits {
  margin: 1rem;
  margin-bottom: 10rem;
}

#gits a {
  margin-left: 5%;
}

#gits a:hover {
  color:#A95C68;
}

/* Blog Page */


#blog, #from-my-blog {
  clear: both;

  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;
 
}

#blog p {
  padding: 50px;
}

 .blog-carousel {
      overflow-x: auto;
      display: flex;
      gap: 1.5em;
      padding: 1em;
      scroll-behavior: smooth;
    }
    .blog-card {
      min-width: 300px;
      flex: 0 0 auto;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      padding: 1em;
      max-width: 300px;
    }
    .blog-card h3 {
      font-size: 1.1em;
      margin-top: 0;
    }
    .blog-card p {
      font-size: 0.9em;
      color: #444;
    }
    .blog-card a {
      color: #A95C68;
      text-decoration: none;
      font-weight: bold;
    }



.link-button {
  margin-top: 10px;
  margin-bottom: 10rem;;
  z-index: 2;
}

.link-button a {
  background-color: black;
  padding: 15px;
  text-decoration: none;
  color: white;
  border: 1px solid white;
}

.link-button a:hover {
  margin-top: -10px;
  background-color: #A95C68;;
  border: 1px solid white;
  color:  white;
}

/* Contact Page */

#contact, #my-contact {
  clear: both;
  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  text-align: center;

  

}


form {
  z-index: 2;
  align-self: center;
  border: 3px solid  rgb(22, 25, 50);
  margin-top: 50px;
  margin-bottom: 250px;
  padding: 50px;
  box-shadow:
  inset #A95C68 0 0 0 2px, 
  inset #d42c83 0 0 0 2px, 
  inset #b06772 0 0 0 2px, 
  inset #bf7681 0 0 0 2px, 
  inset #cc8690 0 0 0 2px, 
  inset #ec9faa 0 0 0 3px, 
  inset #cfb6ba 0 0 0 3px, 
  inset #f4ebed 0 0 0 3px;
  
  
  
  
}


input {
  accent-color: #A95C68;
}


fieldset {
  padding: 20px;
  margin-bottom: 20px;
  border: 3px double #A95C68;

}

label, input {
  padding: 10px;
  margin: 10px;

}

.form-input:focus {
  background-color: rgb(226, 245, 255);
  color: black;
  margin-top: 20px;
  box-shadow: 2px 2px 2px 2px #A95C68;
}

.form-input:valid {
  background-color: rgb(226, 245, 255);
  color: black;
}

#message {
  justify-content: center;
  vertical-align: middle;
}

button {
  padding: 10px 20px;
  border: 2px solid #A95C68;
  color: black;
  font-size: 18px;
  font-weight: 600;

}

button:hover {
  background-color: #A95C68;
  color: white;
  border-color: white;
  box-shadow: 0px 0px 1px 1px white;
}

button:focus {
  box-shadow: 2px 2px 2px 2px #A95C68;

}

/* BASIC IMAGE RECOGNITION PROJECT PAGE */
#basicimageRecognition, #basicimgrecdoc {
  clear: both;
  width: 80%;
  margin-top: 0; 
  margin-left: 10%;
  min-height: 100vh;
  height: 100%;
  
}

#basicimgrech1 {
  font-size: xxx-large;
  text-align: center;
}

.centerp {
  text-align: center;
}

#basicimageRecognition p, #basicimageRecognition h2, #basicimageRecognition ul {
  padding: 0 5%;
}

#basicimageRecognition h2 {
  padding-bottom: 3px;
}

#basicimageRecognition h3 {
  padding-bottom: 2px;
}

#basicimageRecognition p, #basicimageRecognition ul {
  font-family: Arial, Calibri, sans-serif;
  font-size: 14pt;
  line-height: 1.6;
  margin: 20px;
  text-transform: none;
}

.documentation-header {
  text-align: center;
  font-size: xx-large;
  margin: 3%;
}

/* FOOTER */

footer {
  clear:both;
  background-color: black;
  text-align: center;
  width: 100%;
  
  margin-bottom: 0;
  position: relative;
  padding: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

footer a {
  text-decoration: none;
  color: white;
}






  
  /* Hide the navigation menu by default on smaller screens *
  nav.mainMenu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #222222;
      padding-top: 60px; /* Adjust this value to keep the menu below the button *
      text-align: center;
      z-index: 998; /* Ensure it's below the hamburger button *
  }

  /* Show the navigation menu when the hamburger menu button is clicked *
  nav.mainMenu.show {
      display: block;
  }

  /* Style the links in the navigation menu *
  nav.mainMenu ul {
      list-style-type: none;
      margin: 0;
      padding: 0;
  }

  nav.mainMenu ul li {
      display: block;
      margin-bottom: 20px;
  }

  nav.mainMenu ul li a {
      display: block;
      color: white;
      text-decoration: none;
      font-size: 18px;
  }

  /* Close button for the navigation menu *
  .close-menu {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 24px;
      color: white;
      cursor: pointer;
  }

  .container, .navPic, .navPic:hover, .navTitle, .social-menu, .cardContact, .name {
    display: none;
  }

  /* Hide tabs *
  
  .tablink {
    display: none;
  }

  /* Always show tabcontent blocks *
  
  .tabcontent {
    display: block !important;
  }

  /* Fix spacing between projects *
  .project-section,
  .project-section2 {
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding: 1rem;
  }

  .project-image img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }

  .project-content {
    text-align: left;
    padding: 0;
  }

  .project-content h3 {
    text-align: center;
  }

  .link-button {
    text-align: center;
  }

  /* BLOG *
 #blog,
  #from-my-blog,
  #my-blog {
    width: 100% !important;
    margin: 0 auto;
    padding: 1rem !important;
    box-sizing: border-box;
    text-align: left;
  }

  .blog-carousel {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
    overflow-x: hidden !important;
  }

  .blog-card {
    width: 100% !important;
    padding: 1rem;
    font-size: 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  }

  .link-button {
    text-align: center;
    margin: 1rem 0;
  }

  .link-button a {
    display: inline-block;
    padding: 0.8em 1.5em;
    background-color: #A95C68;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 1rem;
  }
}


  


 */


 @media (max-width: 768px) {
  /* Show hamburger */
  .hamburger-menu {
    display: block;
  }

  /* Hide tabs on mobile */
  .tablink {
    display: none;
  }

  /* Show all tab content blocks vertically */
  .tabcontent {
    display: block !important;
    padding: 0 !important;
    background-color: transparent !important;
  }

  /* Fix portfolio layout containers */
  #portfolio,
  #portfolio-page,
  .tabcontent,
  .project-section,
  .project-section2 {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 1rem !important;
    box-sizing: border-box;
  }

  .project-section,
  .project-section2 {
    flex-direction: column !important;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }

  .project-image img {
    width: 100% !important;
    height: auto;
    margin-bottom: 1rem;
  }

  .project-content {
    text-align: left;
    padding: 0;
  }

  .project-content h3 {
    text-align: center;
  }

  .link-button {
    text-align: center;
    margin: 1rem 0;
  }

  .link-button a {
    display: inline-block;
    padding: 0.8em 1.5em;
    background-color: #A95C68;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 1rem;
  }

 
  /* BLOG SECTION FIXES */

  #blog,
  #from-my-blog,
  #my-blog {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    overflow-x: hidden;
  }

  .blog-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .blog-card {
    width: 90vw;
    max-width: 600px;
    margin: 1rem auto;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }

  .link-button {
    text-align: center;
    margin: 2rem 0;
  }

  .link-button a {
    display: inline-block;
    padding: 0.8em 1.5em;
    background-color: #A95C68;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 1rem;
  }




  /* #blog,
  #from-my-blog,
  #my-blog {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 1rem !important;
    box-sizing: border-box;
    text-align: left;
  }

  .blog-carousel {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem;
    overflow-x: hidden;
  }

  .blog-card {
    width: 100% !important;
    padding: 1rem;
    font-size: 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); 
  }
*/

  /* Hide desktop-specific sections */
  .container,
  .navPic,
  .navPic:hover,
  .navTitle,
  .social-menu,
  .cardContact,
  .name {
    display: none;
  }

  /* Mobile nav */
  nav.mainMenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222222;
    padding-top: 60px;
    text-align: center;
    z-index: 998;
  }

  nav.mainMenu.show {
    display: block;
  }

  nav.mainMenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }

  nav.mainMenu ul li {
    display: block;
    margin-bottom: 20px;
  }

  nav.mainMenu ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }
}




/*BLOG GITHUB SECTION*/

/* 
.github-showcase {
  padding: 4rem 2rem;
  color: white;
}


.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  opacity: 0.7;
}

 
.rail-wrapper {
  position: relative;
}

 
.rail-wrapper::before,
.rail-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.rail-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0e0d0d, transparent);
}

.rail-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0e0d0d, transparent);
}



.github-rail {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;

  overflow-x: auto !important;

  gap: 16px !important;

  scroll-snap-type: x mandatory !important;

  width: 100% !important;
}

.github-rail::-webkit-scrollbar {
  display: none;
}



.github-card {
  flex: 0 0 280px !important;
  display: block !important;
}

 hover = Netflix lift effect 
.github-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

 text 
.github-card h3 {
  margin-bottom: 0.5rem;
}

.github-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

 link 
.github-card a {
  color: #A95C68;
  text-decoration: none;
  font-weight: bold;
}

.github-card a:hover {
  text-decoration: underline;
}

 MOBILE 
@media (max-width: 768px) {
  .github-card {
    flex: 0 0 80%;
  }
}*/






/* BLOG GITHUB SECTION */

.github-showcase {
  padding: 4rem 2rem;
  color: white;
}

/* SECTION HEADER */

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  opacity: 0.7;
}

/* RAIL WRAPPER */

.rail-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* fade edges like Netflix */

.rail-wrapper::before,
.rail-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.rail-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0e0d0d, transparent);
}

.rail-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0e0d0d, transparent);
}

/* GITHUB RAIL  */

.github-rail {
  display: flex;
  flex-wrap: nowrap;

  gap: 16px;

  overflow-x: auto;
  overflow-y: hidden;

  width: 100%;

  padding: 1rem 0;

  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;

  -webkit-overflow-scrolling: touch;

  /*scrollbar-width: none;*/
}

/* hide scrollbar */

/*.github-rail::-webkit-scrollbar {*/
/*  display: none;*/
/*}*/

.github-rail::-webkit-scrollbar {
  height: 10px;
}

.github-rail::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 20px;
}

/*  GITHUB CARDS */

  .github-card {
  flex: 0 0 420px;

  background: #151515;
  border: 1px solid #222;

  border-radius: 16px;

  padding: 1.5rem;

  scroll-snap-align: start;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* hover effect */

.github-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* CARD TEXT */

.github-card h3 {
  margin-bottom: 0.5rem;
}

.github-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* LINKS */

/*.github-card a {*/
/*  color: #A95C68;*/
/*  text-decoration: none;*/
/*  font-weight: bold;*/
/*}*/

/*.github-card a:hover {*/
/*  text-decoration: underline;*/
/*}*/

.github-card a {
  display: inline-block;

  margin-top: 10px;
  padding: 10px 14px;

  background: #A95C68;
  color: white;

  border-radius: 10px;

  text-decoration: none;
  font-weight: 600;

  transition: 0.2s ease;
}

.github-card a:hover {
  background: #c06b78;
  transform: translateY(-2px);
}

.github-card a:active {
  transform: translateY(0);
}

.github-card img {
  width: 100%;
  height: 160px;

  object-fit: cover;

  border-radius: 12px;

  margin-bottom: 12px;

  border: 1px solid #2a2a2a;
}

/*  MOBILE */

@media (max-width: 768px) {
  .github-card {
    flex: 0 0 80%;
  }
}




/*CHAT BOT */


/* button stays as-is (keep yours) */

/* DRAWER PANEL */

#chat-drawer {
  position: fixed;
  top: 0;
  left: 0;              /* 👈 changed from right to left */

  width: 340px;
  height: 100vh;

  background: #151515;
  border-right: 1px solid #333;  /* 👈 flip border side */

  display: flex;
  flex-direction: column;

  transform: translateX(-100%);  /* 👈 move OFF screen to left */
  transition: transform 0.3s ease;

  z-index: 9999;
}

/* OPEN STATE */
#chat-drawer.open {
  transform: translateX(0);
}

/*#chat-drawer {*/
/*  position: fixed;*/
/*  top: 0;*/
/*  right: 0;*/

/*  width: 340px;*/
/*  height: 100vh;*/

/*  background: #151515;*/
/*  border-left: 1px solid #333;*/

/*  display: flex;*/
/*  flex-direction: column;*/

/*  transform: translateX(100%);*/
/*  transition: transform 0.3s ease;*/

/*  z-index: 9999;*/
/*}*/

/* open state */
/*#chat-drawer.open {*/
/*  transform: translateX(0);*/
/*}*/

/* header */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px;
  background: #222;
  color: white;
}

/* chat body */
#chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  color: white;
}

/* options */
#chat-options button {
  width: 100%;
  margin: 4px 0;

  padding: 10px;
  border: none;

  background: #A95C68;
  color: white;

  cursor: pointer;
  border-radius: 6px;
}


/*CHAT BUBBLES*/

/* chat container */
.chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* base message bubble */
.msg {
  max-width: 80%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
}

/* bot message */
.msg.bot {
  background: #222;
  color: white;
  align-self: flex-start;
}

/* user message (optional future use) */
.msg.user {
  background: #A95C68;
  color: white;
  align-self: flex-end;
}

.chat-option {
  width: 100%;
  padding: 10px;

  background: #A95C68;
  color: white;

  border: none;
  border-radius: 8px;

  cursor: pointer;
  margin-top: 5px;
}

.chat-option:hover {
  opacity: 0.85;
}



