/* ===== CSS RESET & BASE STYLES ===== */
*, 
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

 
  
/* ===== HERO SECTION - JLC TECH ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../Images/headerbackgroung.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    z-index: 1;
  }

  .hero-header {
    text-align: center;
    z-index: 2;
    position: relative;
  }

  .hero-header h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .hero-line {
    width: 8rem;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    margin: 0 auto 1.5rem auto;
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 0.1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out 0.5s forwards;
  }

  @keyframes pulse {
    0%, 100% {
      transform: scaleX(1);
      opacity: 1;
    }
    50% {
      transform: scaleX(1.1);
      opacity: 0.8;
    }
  }

/* ===== SECTION BASE STYLES ===== */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 5rem 2rem;
}
    

/* ===== NAVIGATION MENU ===== */
.menu {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.menu ul {
  display: flex;
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.menu li {
  display: flex;
  justify-content: center;
}

.menu li a {
  display: block;
  padding: 15px 25px;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.menu li a:hover,
.menu li a.active {
  color: #4ecdc4;
  background-color: rgba(255, 255, 255, 0.1);
}


/* ===== HOME SECTION ===== */
.home-section {
  background: linear-gradient(180deg, #000 0%, #1a1a1a 100%);
}

.home-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.home.animate {
  opacity: 1;
  transform: translateY(0);
}

.home-line {
  width: 12rem;
  height: 3px;
  background-color: #fff;
  margin: 1rem auto 2rem auto;
  transform: scaleX(0.3);
  transform-origin: center;
  transition: transform 0.8s ease-in-out;
  border-radius: 2px;
}

.home-section.animate .home-line {
  transform: scaleX(1);
}

.home-tagline {
  font-size: 2.5rem;
  line-height: 3rem;
  margin-bottom: 3rem;
  letter-spacing: 0.1rem;
  font-weight: 300;
  color: #fff;
}

/* ===== BUTTONS SECTION ===== */
.button {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5rem;
  justify-content: center;
  max-width: 800px;
  width: 100%;
  padding: 0 2rem;
}

.glow-on-hover {
  width: 110%;
  min-width: 250px;
  height: 60px;
  border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-on-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

  .glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
      border-radius: 10px;
  }

  .glow-on-hover:active {
    color: #000
  }

  .glow-on-hover:active:after {
    background: transparent;
  }

  .glow-on-hover:hover:before {
    opacity: 1;
  }

  .glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
  }

  @keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
  }
  .glow-on-hover a{
    align-items: center;
    justify-content: center;
    width: 100%;
    height:100%;
    border:5px; 
  }

/*-----About-------*/
  .about-header {
    padding: 10px;
    width: auto;
    position: relative;
    align-items: center;
    color: white;
  }

  .about h3{
    text-align: center;
    color: #469746;
  }
  .about p{
    color: white; 
    padding:0px; 
    width: auto;
    font-weight: lighter;
    text-align: left;
  }

  .about a{
    color: #777;
  }

  .about a:hover{
    color: #8777;
  }


  /*--------Contact-------*/ 
  #contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
  }

  .nav{
    max-width: 80rem;
    display: flex;
    align-items: center;
    pointer-events: none;
    flex-direction: column;
    text-align: center;
  }

  .nav:hover{
    pointer-events: auto;
  }

  .sm-header{
    font-size:2.2rem; 
    text-transform: uppercase;
    cursor: pointer;
    pointer-events: auto;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
  }

  .line{
    width:12rem;
    height: 3px;
    background-color: #fff;
    margin: 0 auto 2rem auto;
    transform: scaleX(0.3);
    transform-origin: center;
    transition: transform 0.5s ease-in-out;
    border-radius: 2px;
  }

  .nav:hover .line{
    transform: scaleX(1);
  }

  .nav-list{
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    align-items: center;
  }

  .nav-item{
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s; 
    display: flex;
  }

  .nav-item:nth-child(odd){
    transform:translateY(5rem);
  }

  .nav-item:nth-child(even){
    transform:translateY(-5rem); 
  }

  .nav:hover .nav-item{
    opacity:1;
    transform: translateY(0);
  }

  .nav-link{
    font-size:3rem;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .nav-link:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-link i{
    transition: color 0.5s ease;
  }

  .nav-link:hover i.fa-google-plus-square{
    color:#ea4335;
  }

  .nav-link:hover i.fa-github-square{
    color: #333;
  }

  .nav-link:hover i.fa-linkedin{
    color:#0077b5;
  }


  /* Quick-Link-Header*/ 
 .ql ul li  {
    text-align: center;
    display:flex;
    flex-direction: column; 
    align-items: center;
    /* flex-wrap: nowrap; 
    max-width: -moz-fit-content;
    max-width: fit-content;
    /* max-width: fit-content;*/
    list-style: none;
    justify-content: center;
    /* margin: 10px;*/
  }

  .Quick-Link-Header
  {
    color: white;
    display:inline-flexbox;
  }

  .ql-images{
    /* text-align: center; */
    align-items: center;
    display: flex;
    /* max-width:fit-content; */
    justify-content: center;
    flex-direction: column;
  }

  .ql-images img {
    width: 200px;
    height: 100px;
    object-fit: contain;
    margin: 10px;
  }

  .bg-white {
    background-color: white;
    padding: 5px;
    border-radius: 4px;
  }

  /* Style the footer */
  .footer{
    background-color: rgba(119, 119, 119, 0.95);
    padding: 8px 5px;
    text-align: center;
    color: white;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
  }
  .footer a
  {
    color:blue;
  }
  
/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
  @media (max-width: 600px) {
    section {
      -webkit-flex-direction: column;
      flex-direction: column;
      height: 100%;
    }
    
    .hero-header h1 {
      font-size: 2.5rem;
    }
    
    .hero-subtitle {
      font-size: 1.1rem;
    }
    
    .home-tagline {
      font-size: 2rem;
      line-height: 2.5rem;
    }
  }