html {
  font-size: 100%;
}
body {
  font-size: 15px;
  font-size: 0.9375rem;
  font-family: "Open sans", Helvetica, Arial, sans-serif;
  color: #666666;
  padding: 0;
  background-color: black !important;
}
.topspace {
  margin-top: 40px;
}
.navbar {
  border-width: 1px 0;
  -webkit-border-radius: 0;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 0;
  -moz-background-clip: padding;
  border-radius: 0;
  background-clip: padding-box;
  width: 100%;
}
.navbar.stick {
  position: fixed;
  top: 0;
  left: 0;
  opacity: .85;
}
.navbar-collapse {
  -webkit-border-radius: 0;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 0;
  -moz-background-clip: padding;
  border-radius: 0;
  background-clip: padding-box;
  font-family: "Open sans", Helvetica, Arial, sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}
.navbar-collapse .navbar-nav {
  float: none;
  margin: 0 auto;
  text-align: center;
}
.navbar-collapse .navbar-nav > li {
  float: none;
  display: inline-block;
}
.navbar-collapse .navbar-nav > li > a {
  padding: 20px 30px;
}
.dropdown ul.dropdown-menu {
  top: 85%;
  text-align: left;
}
.dropdown ul.dropdown-menu > li > a {
  padding: 5px 30px;
}
.navbar-default {
  background-color: black !important;
  border-color: #333 !important;
}
.navbar-default .navbar-nav > li > a {
  color: white !important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #ccc !important;
  background-color: #333 !important;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #000000;
  background-color: #ffffff;
}
.navbar-default .dropdown ul.dropdown-menu > li > a {
  color: #454545;
}
.navbar-default .dropdown ul.dropdown-menu > li > a:hover {
  background-color: #eeeeee;
  color: #000000;
}
.navbar-default .navbar-toggle {
  border-color: #666666;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #ffffff;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #333333;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #cccccc;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #ffffff;
  color: #000000;
}
/****************************************************************************************


                                     Sidebar special Nav


*****************************************************************************************/
.nav-side {
  font-size: 24px;
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: -0.37em;
}
.nav-side > li > a {
  padding-top: 5px;
  padding-bottom: 5px;
  color: #f392b4;
}
.nav-side > li > a:hover {
  color: #bd1550;
  background: none;
}
.nav-side > li.active > a {
  color: #bd1550;
}
/*********************************************************************


                                TYPOGRAPHY


**********************************************************************/
p {
  line-height: 1.6em;
  margin: 0 0 30px 0;
}
ul,
ol {
  line-height: 1.6em;
  margin: 0 0 30px 0;
}
blockquote {
  padding: 10px 20px;
  margin: 0 0 30px;
  border-left: 5px solid #eee;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Open sans", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: white !important;
}
h1 {
  font-size: 40px;
  font-size: 2.5rem;
}
h2 {
  font-size: 40px;
  font-size: 2.25rem;
}
h3 {
  font-size: 30px;
  font-size: 1.875rem;
}
h4 {
  font-size: 24px;
  font-size: 1.5rem;
}
h5 {
  font-size: 20px;
  font-size: 1.25rem;
}
a {
  color: #bd1550 !important;
}
a:hover {
  color: #e93675 !important;
}
.lead {
  font-weight: 300;
  font-size: 21px;
  font-size: 1.3125rem;
}
.text-msg {
  line-height: 1.7em;
  color: #b3b3b3;
  font-weight: 300;
  text-transform: capitalize;
  margin-top: -0.23em;
}
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  max-width: 100%;
  height: auto;
}
/*********************************************************************


                                HEADER


**********************************************************************/
#head {
  background: #f4f4f4 url(../images/background-pic.jpeg) top center;
  background-size: cover;
  color: #7C7C7C;
  padding: 200px 0 210px 0; /* Extra large header */
  position: relative;
  overflow: hidden;
}
#head #logo {
  text-align: left; /* or 'right' if you want it right-aligned */
}
#head img.img-circle {
  display: block;
  width: 140px;
  height: 140px;
  overflow: hidden;
  border: 9px solid rgba(0, 0, 0, 0.05);
  margin: 0; /* Remove auto margin to stop centering */
}
#head .title {
  font-family: Alice, Georgia, serif;
  font-size: 49px;
  font-size: 3.0625rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 5px;
  color: #333333;
}
#head .title a {
  text-decoration: none;
  color: #333333;
}
#head .tagline {
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.2em;
  color: #7C7C7C;
  margin: 5px 0 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 15px;
  border-radius: 3px;
  text-align: center !important; /* Force center alignment for tagline only */
}
#head .tagline b {
  font-weight: normal;
}
#head .tagline a {
  color: #5E5E5E;
}
.home #head {
  background: #f4f4f4 url(../images/background-pic.jpeg) bottom center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  padding: 50vh 0; /* 50% of viewport height on top and bottom */
  min-height: 100vh; /* Full screen height */
}
.home #head .title {
  font-size: 49px;
  font-size: 3.0625rem;
}
.home #head .tagline {
  font-size: 16px;
  font-size: 1rem;
  margin: 15px 0 0;
}
/*********************************************************************


                                CONTENT


**********************************************************************/
img {
  max-width: 100%;
}
.btn {
  font-size: 12px;
  font-size: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  -webkit-border-radius: 0px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 0px;
  -moz-background-clip: padding;
  border-radius: 0px;
  background-clip: padding-box;
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  -ms-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
  border: 0 none;
  padding: 12px 35px;
  text-shadow: 0 1px 0px #780d33;
}
.btn-primary {
  color: #fff;
  background-color: #bd1550;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  color: #fff;
  background-color: #e61f65;
}
.btn-action {
  font-weight: bold;
  background: transparent!important;
  border: 1px solid #333;
  text-shadow: none;
}
.btn-action:hover,
.btn-action:focus,
.btn-action:active,
.btn-action.active {
  color: #bd1550;
  border-color: #bd1550;
}
.btn-lg {
  padding: 15px 60px;
  font-size: 12px;
  line-height: 1.33;
  font-weight: bold;
}
.panel-cta {
  box-shadow: 0 0 0 1px #e1e1e1, 0 0 0 3px #fff, 0 0 0 4px #e1e1e1;
  background: #f3f3f3;
  -webkit-border-radius: 0;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 0;
  -moz-background-clip: padding;
  border-radius: 0;
  background-clip: padding-box;
}
.panel-cta p,
.panel-cta h3,
.panel-cta h4,
.panel-cta h5,
.panel-cta h6 {
  margin: 0;
}
.panel-cta .panel-body {
  padding: 35px;
}
.featured {
  font-size: 13px;
  font-size: 0.8125rem;
}
.featured h3 {
  font-weight: bold;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.4em;
  vertical-align: middle;
  margin: 0 0 25px 0;
}
.thumbnails {
  padding: 0;
}
.thumbnails li {
  margin-bottom: 30px;
}
.thumbnails .details {
  display: block;
  text-align: center;
  font-size: 12px;
  font-size: 0.75rem;
}
.thumbnail {
  display: block;
  -webkit-border-radius: 0;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 0;
  -moz-background-clip: padding;
  border-radius: 0;
  background-clip: padding-box;
  border: 0 none;
  margin-bottom: 10px;
  padding: 0;
  text-align: center;
  text-decoration: none;
  color: white !important;
  background-color: black !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Project thumbnail hover effects - neon glow all around image */
.thumbnail {
  position: relative;
  border: none;
  background: none;
  text-decoration: none !important;
  overflow: visible; /* Allow glow to show outside bounds */
}

.thumbnail .img {
  position: relative;
  display: block;
  overflow: hidden;
  transition: all 0.3s ease;
  border-radius: 8px; /* Rounded corners for better glow effect */
}

.thumbnail img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
  border-radius: 8px; /* Match the container */
  display: block; /* Remove any gaps */
}

/* White neon glow ALL AROUND the image on hover */
.thumbnail:hover .img {
  box-shadow: 
    0 0 10px #fff,   /* Inner glow */
    0 0 20px #fff,   /* Medium glow */
    0 0 30px #fff,   /* Outer glow */
    0 0 40px #fff;   /* Extended glow */
  transform: scale(1.02);
}

.thumbnail:hover img {
  filter: blur(3px);
  transform: scale(1.05);
}

/* Learn More button */
.thumbnail::after {
  content: "Learn More";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 2px solid white;
  color: black;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 
    0 0 5px #fff,
    0 0 10px #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.thumbnail:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Project title styling - bold on hover, no underline */
.thumbnail .title {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  font-weight: normal;
  color: white;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.thumbnail:hover .title {
  color: white !important;
  text-decoration: none !important;
  font-weight: bold !important; /* Make text bold on hover */
}

/* Remove any default link styling */
.thumbnail:hover {
  text-decoration: none !important;
}

.thumbnail:focus {
  text-decoration: none !important;
}

.thumbnail:active {
  text-decoration: none !important;
}
.pagination > li > a {
  color: #808080;
  border: 0 none;
  font-size: 20px;
  font-size: 1.25rem;
  font-family: Georgia, serif;
}
.pagination > li > a:hover {
  color: #000000;
  background: none;
}
.pagination > li.active > a {
  color: #333333;
  background: none;
}
.pagination > li.active > a:hover {
  color: #000000;
  background: none;
}
/*********************************************************************


                                 BLOG


**********************************************************************/
.section-title,
.entry-title {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: 0px 0 25px;
  text-align: center;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 36px;
  font-size: 2.25rem;
  letter-spacing: 1px;
}
.section-title a,
.entry-title a {
  color: #333333;
}
.section-title span,
.entry-title span {
  display: inline-block;
  position: relative;
}
.section-title span:before,
.entry-title span:before,
.section-title span:after,
.entry-title span:after {
  content: "";
  position: absolute;
  height: 4px;
  top: .53em;
  width: 400%;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
}
.section-title span:before,
.entry-title span:before {
  right: 100%;
  margin-right: 45px;
}
.section-title span:after,
.entry-title span:after {
  left: 100%;
  margin-left: 45px;
}
.entry-header .entry-meta {
  text-align: center;
  font-family: Georgia, serif;
  font-size: 18px;
  font-size: 1.125rem;
  font-style: italic;
  font-weight: normal;
  color: #a5a5a5;
  margin: 0 0 15px 0;
}
.entry-header .entry-meta a {
  color: #a5a5a5;
}
.entry-content {
  margin: 0 0 60px 0;
}
.entry-content h2 {
  line-height: 1.2;
  font-size: 30px;
  font-size: 1.875rem;
  padding-top: 20px;
  margin-bottom: 20px;
}
.meta-nav,
.more-link {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: bold;
  color: #666666;
  text-decoration: none;
}
.meta-nav:hover,
.more-link:hover {
  color: #333333;
  text-decoration: underline;
}
.more-link {
  display: block;
  width: 100%;
  text-align: right;
}
#nav-below {
  position: fixed;
  top: 48%;
}
#nav-below .meta-nav {
  display: block;
  padding: 27px 7px;
  background: #444;
  color: #fff;
  -webkit-border-radius: 3px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 3px;
  -moz-background-clip: padding;
  border-radius: 3px;
  background-clip: padding-box;
  font-family: "Open sans", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: normal;
  text-decoration: none;
  opacity: 0.2;
}
#nav-below .meta-nav:hover {
  text-decoration: none;
  color: #333;
}
#nav-below .nav-next {
  position: fixed;
  right: -3px;
}
#nav-below .nav-previous {
  position: fixed;
  left: -3px;
}
#nav-below b {
  display: none;
}
footer.entry-meta {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 0 0 35px 0;
  padding: 2px 0;
  color: #888888;
  font-size: 12px;
  font-size: 0.75rem;
}
footer.entry-meta a {
  color: #333333;
}
footer.entry-meta .meta-in {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}
.page-header {
  padding-bottom: 0;
  margin: 0;
  border-bottom: none;
  text-align: left;
}
.page-header .page-title {
  margin-top: 0;
  margin-bottom: 30px;
}
#comments {
  font-size: 13px;
  font-size: 0.8125rem;
}
#comments .comments-title {
  margin: 0 0 5px 0;
}
#comments .leave-comment {
  display: block;
  margin: 0 0 40px 0;
}
#comments ul,
#comments ol {
  margin: 0;
  padding: 0;
}
#comments .comment {
  margin: 0;
  padding: 0;
  list-style: none;
  clear: both;
}
#comments .comments-title {
  text-shadow: none;
  margin-bottom: 0;
}
#comments .avatar {
  float: left;
  width: 70px;
  height: 70px;
  margin-bottom: 30px;
  border: 5px solid #eeeeee;
  -webkit-border-radius: 50%;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 50%;
  -moz-background-clip: padding;
  border-radius: 50%;
  background-clip: padding-box;
}
#comments .children {
  margin: 0 0 0 90px;
}
#comments .comment-meta {
  margin: 0 0 0 90px;
}
#comments .comment-meta a {
  color: #333333;
}
#comments .comment-meta a:hover {
  color: #bd1550;
}
#comments .comment-meta .author {
  margin: 0 20px 0 0;
  font-weight: bold;
}
#comments .comment-meta .date {
  margin: 0 20px 0 0;
}
#comments .comment-meta .date a {
  color: #666666;
}
#comments .comment-meta .reply {
  float: right;
}
#comments .comment-body {
  margin: 0 0 35px 90px;
}
.comment-navigation {
  width: 100%;
  border-top: 1px solid #ccc;
  padding: 2px 0 0 0;
}
.comment-navigation .nav-content {
  border-top: 1px solid #ccc;
  width: 100%;
  padding: 10px 0 0 0;
}
.comment-navigation .nav-previous {
  float: left;
  width: 50%;
}
.comment-navigation .nav-next {
  float: right;
  width: 50%;
  text-align: right;
}
#respond {
  margin: 55px 0 0 0;
}
#footer {
  background: black !important;
  color: white !important;
  padding: 30px 0 0 0;
  font-size: 12px;
}
#footer a {
  color: white !important; /* Make all footer links white */
}
#footer a:hover {
  color: #ccc !important; /* Light gray on hover */
}
#footer h3.widget-title {
  font-size: 15px;
  font-size: 0.9375rem;
  text-transform: uppercase;
  color: white !important; /* Make widget titles white */
  margin: 0 0 20px;
}
.follow-me-icons {
  font-size: 30px;
}
.follow-me-icons i {
  float: left;
  margin: 0 10px 0 0;
  color: white !important; /* Force white color on icons */
}
.follow-me-icons a {
  color: white !important; /* Make icon links white */
}
.follow-me-icons a:hover {
  color: #ccc !important; /* Light gray on hover */
}
#footer .widget-body p {
  color: white !important;
}
#footer .widget-body a[href^="mailto"] {
  color: white !important;
}
#footer .widget-body a[href^="mailto"]:hover {
  color: #ccc !important;
}
#footer * {
  color: white !important;
}
#footer a * {
  color: white !important;
}
/* @media (min-width: 1200px) {
  Reduce gaps from the edges for all pages
  .container {
  padding-left: 9px !important;
  padding-right: 9px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
} } */
.photo-gallery {
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  margin: 0;
  padding: 0;
  gap: 0;
  background: #fff;
}
.gallery-item {
  flex: 1 0 0;
  min-width: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 4/3; /* Keeps all images the same height, adjust as needed */
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item .desc {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  opacity: 0;
  padding: 10px;
  text-align: center;
  transition: opacity 0.3s;
}
.gallery-item:hover .desc {
  opacity: 1;
}
/* Video container - responsive */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Meet Me text above video - larger size */
.meet-me-text {
    text-align: center;
    margin-bottom: 20px; /* Space below text, above video */
    font-family: Alice, Georgia, serif; /* Same font as KARINA KRISHNAN */
    font-size: 50px; /* Much bigger - was 36px */
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    
    /* Subtle neon glow */
    text-shadow: 
        0 0 1px #fff,
        0 0 2px #fff;
}

/* Vertically center button with video */
.button-vertical-center {
    display: flex;
    align-items: center;
    min-height: 400px; /* Match video height */
}

.button-vertical-center .projects-button-container {
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-container {
        margin-bottom: 30px;
    }
    
    .projects-button-container {
        margin-top: 20px !important;
    }
}
body {
  overflow-x: hidden;
}
.container {
  padding-left: 32px !important;
  padding-right: 32px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
}
.thumbnails .img {
  height: 300px;         /* Increase this value for more height */
  overflow: hidden;
  display: block;
}
.thumbnails .img img {
  height: 100%;
  width: 100%;
  object-fit: cover;     /* Ensures the image fills the area and is cropped if needed */
  display: block;
}
.thumbnails .img img[src*="stemspire.jpeg"] {
  object-fit: contain !important;  /* Shows full image, may have letterboxing */
  object-position: center;
}
.thumbnails .img img[src*="stemspire.jpeg"] {
  transform: scale(0.8);  /* Makes image 80% of original size */
  object-fit: cover;
}
.projects #head .title {
  text-align: center !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: black !important;
}
.projects #head .tagline {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: black !important;
}
.projects #head #logo {
  text-align: center !important;
}
.projects #head img.img-circle {
  margin: 0 auto !important; /* Center the circular image */
  display: block;
}
.projects #head {
  background: #f4f4f4 url(../images/black.jpeg) center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  padding: 80px 0 90px 0; /* Adjust height as needed */
}
.projects #head .tagline a {
  color: black !important;
}
body {
  background-color: black !important;
  color: white !important;
}
#main {
  background-color: black !important;
  color: white !important;
}
#main {
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0) 0%,           /* Completely transparent at top */
    rgba(0,0,0,0.05) 5%,        /* Very gradual start */
    rgba(0,0,0,0.1) 10%,        /* Slow fade */
    rgba(0,0,0,0.15) 15%,       /* More gradual steps */
    rgba(0,0,0,0.25) 20%,       /* Gentle increase */
    rgba(0,0,0,0.35) 25%,       /* Building opacity */
    rgba(0,0,0,0.45) 30%,       /* Continued fade */
    rgba(0,0,0,0.55) 35%,       /* More pronounced */
    rgba(0,0,0,0.65) 40%,       /* Medium fade */
    rgba(0,0,0,0.75) 45%,       /* Stronger fade */
    rgba(0,0,0,0.82) 50%,       /* Getting darker */
    rgba(0,0,0,0.88) 55%,       /* Almost there */
    rgba(0,0,0,0.92) 60%,       /* Very dark */
    rgba(0,0,0,0.95) 65%,       /* Nearly solid */
    rgba(0,0,0,0.97) 70%,       /* Almost completely solid */
    rgba(0,0,0,0.99) 75%,       /* Practically solid */
    rgba(0,0,0,1) 80%,          /* Completely solid from here */
    rgba(0,0,0,1) 100%          /* Ensure solid black at bottom */
  ) !important;
  position: relative;
  z-index: 1;
  min-height: 150vh; /* Make gradient cover more area */
  padding-top: 100px; /* Extra space for seamless transition */
}
#head::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 500px; /* Much longer gradient fade */
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.05) 10%,
    rgba(0,0,0,0.1) 15%,
    rgba(0,0,0,0.2) 25%,
    rgba(0,0,0,0.3) 35%,
    rgba(0,0,0,0.4) 45%,
    rgba(0,0,0,0.5) 55%,
    rgba(0,0,0,0.6) 65%,
    rgba(0,0,0,0.75) 75%,
    rgba(0,0,0,0.85) 85%,
    rgba(0,0,0,0.95) 95%,
    rgba(0,0,0,1) 100%
  );
  pointer-events: none;
  z-index: 1;
}
#head .projects-button-container {
  position: relative;
  z-index: 2;
}
#head {
  position: relative;
  overflow: hidden;
}
#main::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.8) 100%
  );
  z-index: 0;
  pointer-events: none;
}
#main .container {
  position: relative;
  z-index: 2;
}
.projects-button-container {
    margin-top: 60px !important;
    margin-bottom: 10px !important;
    text-align: center;
    clear: both;
    position: relative !important;
}

.projects-button-container .btn {
    background: white !important;
    border: 2px solid white !important;
    color: black !important;
    padding: 20px 40px;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    
    /* Subtle white neon glow */
    box-shadow: 
        0 0 1px #fff,
        0 0 3px #fff,
        0 0 5px #fff;
}

.projects-button-container .btn:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.05);
    text-decoration: none;
    color: black !important;
    
    /* Slightly enhanced but still subtle glow on hover */
    box-shadow: 
        0 0 2px #fff,
        0 0 4px #fff,
        0 0 6px #fff,
        0 0 8px #fff;
}

.projects-button-container .btn-primary {
    color: black !important;
}

.projects-button-container .btn-primary:hover,
.projects-button-container .btn-primary:focus,
.projects-button-container .btn-primary:active {
    color: black !important;
}

/* Projects page header styling with white text and neon effect */
.projects #header {
  background-color: black !important;
  color: #ffffff !important;
  padding: 60px 0;
}

.projects #head {
  background-color: black !important;
}

.projects #logo .title {
  display: block;
  font-family: Alice, Georgia, serif;
  font-size: 48px;
  font-weight: bold;
  color: #ffffff !important;
  margin: 20px 0 10px 0;
  background: none !important;
  padding: 0 !important;
  
  /* Subtle neon glow */
  text-shadow: 
    0 0 1px #fff,
    0 0 2px #fff;
}

.projects #logo .tagline {
  display: block;
  font-size: 16px;
  color: #ffffff !important;
  line-height: 1.4;
  background: none !important;
  padding: 0 !important;
}

.projects #logo .tagline a {
  color: #ffffff !important;
  text-decoration: none;
}

/* MY PROJECTS section title with same neon effect as KARINA KRISHNAN */
.section-title span {
  font-family: Alice, Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: white !important;
  text-transform: uppercase;
  
  /* Subtle neon glow */
  text-shadow: 
    0 0 1px #fff,
    0 0 2px #fff;
    
  display: block;
  margin: 0 auto;
}

/* Scroll-triggered text animation - KARINA KRISHNAN on index page */
.scroll-text {
  position: fixed;
  top: 65%;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  font-family: Alice, Georgia, serif;
  font-size: 80px;
  font-weight: bold;
  color: white;
  opacity: 0;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
  pointer-events: none;
  
  /* Much more subtle neon glow */
  text-shadow: 
    0 0 1px #fff,
    0 0 2px #fff;
}

.scroll-text.animate-in {
  opacity: 1;
  transform: translateX(-50%) translateY(-65%);
}

.scroll-text.fly-up {
  transform: translateX(-50%) translateY(-300px);
  opacity: 0;
}

.scroll-text.static-above {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  font-size: 60px;
  z-index: 5;
  transition: opacity 0.5s ease;
}

/* Only show on home page */
body:not(.home) .scroll-text {
  display: none;
}

/* Much smaller gradient for projects page */
.projects #main {
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0) 0%,           /* Transparent at top */
    rgba(0,0,0,0.4) 30%,        /* Light fade */
    rgba(0,0,0,0.7) 50%,        /* Medium fade */
    rgba(0,0,0,1) 70%,          /* Solid black quickly */
    rgba(0,0,0,1) 100%          /* Solid black */
  ) !important;
  min-height: 40vh !important; /* Much shorter gradient area */
  padding-top: 20px !important; /* Less padding */
}

/* Smaller header gradient for projects page */
.projects #head::after {
  height: 100px !important; /* Much shorter - was 200px */
  background: linear-gradient(to bottom, 
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.7) 100%
  ) !important;
}

/* Remove the additional overlay for projects page */
.projects #main::before {
  display: none !important;
}

/* Reduce overall height of gradient effect */
.projects #header {
  min-height: 300px !important; /* Much smaller header */
}

/* Fix KK.png favicon - prevent squishing */
link[rel="shortcut icon"] {
  width: 32px !important;
  height: 32px !important;
}

/* Alternative favicon formats for better browser support */
link[rel="icon"] {
  width: 32px !important;
  height: 32px !important;
}

/* If KK.png appears as an actual image element anywhere */
img[src*="KK.png"] {
  width: auto !important;
  height: auto !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
  aspect-ratio: 1/1 !important; /* Force square aspect ratio */
}

/* Specifically target any logo images that might be getting squished */
#logo img[src*="KK.png"],
.logo img[src*="KK.png"] {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  aspect-ratio: 1/1 !important;
}

/* Override any existing img styling that might be causing issues */
img[src*="KK.png"] {
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
}

/* Remove gap at top of projects page */
.projects body {
  margin: 0 !important;
  padding: 0 !important;
}

.projects #header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.projects #head {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ensure no default browser margins/padding */
.projects * {
  margin-top: 0;
}

.projects html,
.projects body {
  margin: 0;
  padding: 0;
}

/* Remove any top spacing on the logo container */
.projects #logo {
  margin-top: 0 !important;
  padding-top: 20px !important; /* Add some internal padding instead */
}

/* Projects page fly-in animations */
.projects .section-title {
  opacity: 0;
  transform: translateY(-50px);
  animation: flyInDown 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.projects .thumbnail {
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  animation: flyInUp 0.6s ease-out forwards;
}

/* Stagger the animation delays for each project */
.projects .thumbnail:nth-child(1) {
  animation-delay: 0.4s;
}

.projects .thumbnail:nth-child(2) {
  animation-delay: 0.6s;
}

.projects .thumbnail:nth-child(3) {
  animation-delay: 0.8s;
}

.projects .thumbnail:nth-child(4) {
  animation-delay: 1.0s;
}

.projects .thumbnail:nth-child(5) {
  animation-delay: 1.2s;
}

.projects .thumbnail:nth-child(6) {
  animation-delay: 1.4s;
}

/* Header elements fly in from different directions */
.projects #logo img {
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
  animation: flyInRotate 0.8s ease-out forwards;
  animation-delay: 0s;
}

.projects #logo .title {
  opacity: 0;
  transform: translateX(-100px);
  animation: flyInLeft 0.8s ease-out forwards;
  animation-delay: 0.3s;
}

.projects #logo .tagline {
  opacity: 0;
  transform: translateX(100px);
  animation: flyInRight 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

.projects .projects-button-container {
  opacity: 0;
  transform: translateY(30px);
  animation: flyInUp 0.6s ease-out forwards;
  animation-delay: 1.6s;
}

/* Animation keyframes */
@keyframes flyInUp {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flyInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flyInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes flyInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes flyInRotate {
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Scroll-triggered animations for elements that come into view */
.projects .scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.projects .scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth entrance for the entire page */
.projects body {
  animation: pageEntry 0.3s ease-out;
}

@keyframes pageEntry {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Static KARINA KRISHNAN above main text - identical to animated version */
.static-name-text {
  font-family: Alice, Georgia, serif;
  font-size: 80px;
  font-weight: bold;
  color: white;
  text-align: center;
  margin: 40px 0 30px 0;
  
  /* Same neon glow effect as the animated version */
  text-shadow: 
    0 0 1px #fff,
    0 0 2px #fff;
}

/* Responsive sizing for mobile */
@media (max-width: 768px) {
  .static-name-text {
    font-size: 50px;
    margin: 20px 0 15px 0;
  }
}

/* Force favicon to maintain proper aspect ratio */
link[rel="shortcut icon"],
link[rel="icon"] {
  width: auto !important;
  height: auto !important;
}

/* Ensure favicons are not distorted */
head link[rel="shortcut icon"],
head link[rel="icon"] {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
