/* Global Styles */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


/* Hero Jumbotron */
.jumbotron {
  position: relative;
  overflow: hidden;
  /* Remove the direct background image */
  /* background: url('../images/blackhole.jpg') no-repeat center bottom fixed; */
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-top: 0;
  z-index: 1;
    background-color:  rgba(8, 5, 46, 0) !important;
}

.jumbotron::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;                   /* Twice the width for seamless looping */
  height: 100%;
  
  background-size: cover;
  opacity: 0.5;                  /* Adjust opacity as needed (0 to 1) */
  z-index: -1;                   /* Place it behind the jumbotron content */
  animation: slideBackground 180s linear infinite;
}

@keyframes slideBackground {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Full‑page Animated Background */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;                /* Twice the width for seamless looping */
  height: 100vh;              /* Full viewport height */
  background: url('../images/blackhole.jpg') repeat-x center bottom;
  background-size: cover;
                /* Adjust opacity as needed */
  z-index: -1;                /* Place it behind all other content */
  animation: slideBackground 180s linear infinite;
}

@keyframes slideBackground {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.jumbotron-content {
  position: relative;
  z-index: 1;
}

/* Content Section */
.content {
  padding: 50px 0;
}

.content h4 {
  font-weight: bold;
  color: white;
}

/* Fade-In Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px); /* Initial slight movement */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Use either .active or .visible class to trigger the animation */
.fade-in.active,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.img-hover-effect {
  transition: transform 0.3s ease;
}

.img-hover-effect:hover {
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

/* Navbar Transition */
.navbar {
  transition: top 0.3s;
}

/* Media Query for Mobile */
@media (max-width: 767px) {
  .jumbotron {
    height: 350px;
    background-attachment: scroll;
    background-position: center top;
  }
  /* Adjust jumbotron text position on mobile */
  .jumbotron h1 {
   
  }
  .jumbotron h2 {
    margin-bottom: 40px;
      margin-top: 20px;
      font-size: 15px;
      width: 90%;
      padding-left: 15px;
   
  }
  
    .navbar-header  {
        margin-bottom:10px;
        
    }
  
}

.technologies-img,
.projects-img {
  display: block;
  max-width: 100%; /* Prevents image overflow */
  height: auto; /* Keeps aspect ratio */
  margin: 0 auto; /* Centers the image */
}

@media (max-width: 767px) {
  
  .projects-img, .connect {
    margin-left: 26px !important;
      width:90%;
    
 
  }
     .technologies-img
   {
    margin-left: 26px !important;
      width:90%;
       margin-bottom:-30px !important;
       
    
 
  }
}


/* Additional Page Specific Sections */
/* Services Jumbotron */


/* Contact Jumbotron */


/* Jumbotron Image & Text Elements */
.jumbotron .img-responsive {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.jumbotron h1 {
  padding: 10px;
  display: inline-block;
  border-radius: 5px;
  color: white !important;
  text-align: center;
  margin-top: 200px;
  font-weight: bolder;
    font-family: 'Audiowide', sans-serif;
}

.jumbotron h2,
.jumbotron h3,
.content h2,
.content h3 {
  color: white;
  font-weight: normal;
  margin-left: 15px;
    font-family: 'Audiowide', sans-serif;
}

/* Custom Classes */
.custom-class {
  margin-top: -19px;
  margin-left: 275px;
}

.img-bordered {
  margin-top: 10px;
  border-radius: 5px;
}

p {
  font-size: 20px;
  color: #fff;
}



/* Navbar Styles */
.navbar .navbar-default {
  background-color: #000;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-default .navbar-brand {
  font-size: 22px;
  color: #000 !important;
  font-family: "Audiowide", sans-serif;
  border-radius: 5px;
  margin-bottom: 3px;
  letter-spacing: 2px;
}

.navbar-default {
  background-color: rgb(255, 255, 255) !important;
  border-color: #e7e7e7;
}

.navbar-brand {
  margin-left: -5px !important;
}

.navbar-default .navbar-nav > li {
  margin-right: 3px;
  color: #000;
  margin-left: 2px;
}

.navbar-nav > li > a {
  color: #000 !important;
  font-weight: bolder;
    font-family: 'Audiowide', sans-serif;
}

/* Navbar Underline Animation */
.navbar-nav li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #000 !important;
}

.navbar-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff0000;
  transition: width 0.3s ease;
}

.navbar-nav li a:hover::after,
.navbar-nav li a:focus::after,
.navbar-nav li.active a::after {
  width: 100%;
}

/* Active Navbar State */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: rgba(255, 255, 255, 0.88) !important;
  color: #000 !important;
}

/* Navbar Toggle */
.navbar-toggle {
  border-color: #fff !important;
}

.navbar-toggle .icon-bar {
  background-color: white;
}

/* Footer, Portfolio, Services, Contact, Container */
.footer {
  background-color: rgba(0, 0, 0, 0);
  padding: 20px;
  padding-top: 20px;
  margin-top: 100px;
  text-align: center;
  color: black;
  border-top: 2px solid #fff;
}

.portfolio {
  background-color: #505050;
  padding: 20px;
  padding-top: 20px;
  margin-top: 100px;
  text-align: center;
  color: white;
}

.services {
  background-color: #505050;
  padding: 20px;
  padding-top: 20px;
  margin-top: 500px;
  text-align: center;
  color: white;
}

.contact {
  background-color: #505050;
  padding: 20px;
  padding-top: 20px;
  margin-top: 200px;
  text-align: center;
  color: white;
}

.container {
  margin-top: 5px;
  margin-bottom: -10px;
    
    
}

/* Feature Styles */
.feature {
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 24px;
  font-weight: bold;
}

.feature-description {
  font-size: 16px;
}

/* About Page Styles */
.about-section {
  margin-bottom: 30px;
}

.about-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-description {
  font-size: 16px;
}

.about-team {
  margin-bottom: 30px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.team-member-name {
  font-size: 18px;
  font-weight: bold;
}

.team-member-role {
  font-size: 14px;
  color: #888;
}

/* Services Page Styles */
.service {
  margin-bottom: 30px;
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-title {
  font-size: 24px;
  font-weight: bold;
}

.service-description {
  font-size: 16px;
}

/* Portfolio Page Styles */
.portfolio-project {
  margin-bottom: 30px;
}

.portfolio-project img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.portfolio-project-title {
  font-size: 24px;
  font-weight: bold;
}

.portfolio-project-description {
  font-size: 16px;
}

/* Contact Page Styles */
.contact-section {
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
}

.contact-form textarea {
  height: 150px;
}

.contact-form button {
  padding: 10px 20px;
}

.contact-info {
  font-size: 16px;
}

/* Panel Styles */
.panel-title {
  text-align: center;
  font-size: 18px;
  font-weight: bolder;
}

.panel-heading a {
  text-decoration: none;
  color: #fff;
  background-color: #1a1111ad;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
}

/* Contact Icons - Horizontal Layout and Sequential Slide-In Animation */
.contact-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

/* Initial state: hidden and shifted left */
.contact-item {
  opacity: 0;
  transform: translateX(-100%);
}

/* Define keyframes for slide-in animation */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* When the container receives the 'animate' class, animate the icons */
.contact-icons.animate .contact-item {
  animation: slideIn 0.5s forwards;
}

.contact-icons.animate .contact-item:nth-child(1) {
  animation-delay: 0.2s;
}

.contact-icons.animate .contact-item:nth-child(2) {
  animation-delay: 0.4s;
}

.contact-icons.animate .contact-item:nth-child(3) {
  animation-delay: 0.6s;
}

.contact-icons.animate .contact-item:nth-child(4) {
  animation-delay: 0.8s;
}

.contact-item:not(:last-child) {
  margin-right: 20px;
}

  /* Custom styling for the contact form */
    .contact-form {
      background:  rgba(23, 33, 67, 0.79);
      padding: 30px;
      border-radius: 10px;
      margin-bottom: 50px;
    }
    .contact-form .form-control {
      background-color: transparent;
      border: 1px solid #fff;
      color: #fff;
    }
    .contact-form .form-control::placeholder {
      color: #ccc;
    }
    .contact-form label {
      font-weight: bold;
      color: #fff;
    }
    .contact-form button {
      background-color: #ff0000;
      border: none;
    }


#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: -2;
  pointer-events: none;
    
}

.glow-border {
  border: 2px solid #fff; /* Base border color */
  border-radius: 5px; /* Optional rounded corners */
  padding: 10px; /* Adjust as needed */
  animation: glow 1.5s infinite alternate;
   margin-left: 70px;
    margin-right:70px;
    margin-top:80px;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff00ff, 0 0 20px #ff0000;
  }
  to {
    box-shadow: 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00ff, 0 0 50px #ff00ff;
  }
}

/* Initial state: off-screen left and hidden */
.slide-on-scroll {
  opacity: 0;
  transform: translateX(-100%);
}

/* Slide-in animation keyframes */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Trigger the slide-in animation */
.slide-in-left {
  animation: slideInFromLeft 1s ease forwards;
}

.footer {
  background: #08052E; /* Dark background that fits your theme */
  color: #fff;
  padding: 40px 0;
}

.footer h4 {
  margin-bottom: 20px;
  font-family: 'Audiowide', sans-serif;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer a {
  color: #ff0000;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer ul {
  padding: 0;
}

.footer ul li {
  list-style: none;
  margin-bottom: 10px;
}

.footer ul.list-inline li {
  margin-right: 15px;
}

.footer hr {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 30px 0;
}

