#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  filter: blur(1px) brightness(0.5); /* soft blur + darken for readability */
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4); /* extra overlay for text clarity */
  z-index: -1;
}


.scroll-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroll-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.portfolio-scroll .scroll-track .portfolio-item,
.testimonial-scroll .scroll-track .testimonial-card {
  min-width: 280px;
  flex: 0 0 auto;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ----------  Root & Resets ---------- */
:root {
  --clr-primary: #ffffff;
  --clr-secondary: #ffbe0b;
  --clr-dark: #111111;
  --clr-bg: #000000;
  --clr-overlay: rgba(0, 0, 0, 0.55);
  --transition: 0.3s ease-in-out;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-primary);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ----------  Sidebar Navigation  ---------- */

#check {
  display: none;
  appearance: none;
}

.open-btn {
  display: inline-block;
  position: fixed;
  top: 20px;
  left: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1010;
  user-select: none;
}

.open-btn:hover {
  transform: scale(1.12);
}

.sidebar_menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(8px);
  background: rgb(0, 0, 0, 0.7);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  z-index: 1000;
}

#check:checked ~ .sidebar_menu {
  left: 0;
}

#check:checked ~ .open-btn {
  display: none;
}

.sidebar_menu .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--clr-primary);
  transition: var(--transition);
  user-select: none;
}

.sidebar_menu .close-btn:hover {
  color: var(--clr-secondary);
}

.sidebar_menu .logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.sidebar_menu nav ul li {
  margin: 3rem;
  list-style: none;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(10, 131, 8, 0.06);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.sidebar_menu nav ul li a {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.sidebar_menu nav ul li a:hover {
  color: var(--clr-secondary);
}

.sidebar_menu .social {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.sidebar_menu .social a {
  font-size: 1.2rem;
  opacity: 0.6;
  transition: var(--transition);
}

.sidebar_menu .social a:hover {
  opacity: 1;
  transform: scale(1.15);
  color: var(--clr-secondary);
}
.logo {
  user-select: none;
  font-size: 2.2rem;
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  color: #fff;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 1rem auto;
  border-radius: 8px;
  z-index: 1;
  overflow: hidden;
  background: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2);
}


.logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 2.5s infinite;
  z-index: -1;
}

.top-nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
}

.center-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10rem;
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.profile
{
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.profile img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(105, 86, 227, 0.5);
    transition: transform 0.3s ease-in-out;

}

.profile img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(105, 86, 227, 0.7);
    
}

@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 130%;
  }
}

/* Optional bounce effect */
.logo-bounce {
  animation: bounceLogo 3s ease-in-out infinite;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bounceLogo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ----------  Sections ---------- */

section {
  padding: 80px 6%;
}


.hero {
  height: 100vh;
  /* background: url("") center/cover no-repeat fixed; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: var(--clr-overlay); */
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
}

.hero-content p {
  margin: 1.2rem 0 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-inline: auto;
}

.cta {
  display: inline-block;
  padding: 12px 32px;
  background: var(--clr-secondary);
  color: var(--clr-dark);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

h2.section-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-grid p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem 1.3rem;
  text-align: center;
  transition: var(--transition);
}

.service-card i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--clr-secondary);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Portfolio */
.portfolio-grid {
  /* height: 25rem; */
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* padding-bottom: 1rem; */
}

.portfolio-item {
  flex: 0 0 280px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease;
}

.portfolio-item img {
  width: 500px;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.portfolio-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  color: var(--clr-primary);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-caption {
  opacity: 1;
}

 /* Optional: hide scrollbar for WebKit */
.portfolio-grid::-webkit-scrollbar {
  display: none;

}


/* Testimonials */
.testimonials {
  overflow-x: auto;
  display: flex;
  gap: 1.2rem;
  padding: 1rem 0;
  scroll-behavior: smooth;
}

.testimonials::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--clr-primary);
  transition: transform 0.4s ease;
  position: relative;
  width: 500px;
  /* height: 250px; */
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.testimonial-card p {
  margin-bottom: 1rem;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-secondary);
}

/* Contact */
.contact-form {
  max-width: 700px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
  color: var(--clr-primary);
  resize: vertical;
}

.contact-form button {
  padding: 14px 24px;
  border: none;
  background: var(--clr-secondary);
  color: var(--clr-dark);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Footer */
footer {
  background: #0a0a0a;
  padding: 2rem 6%;
  text-align: center;
  font-size: 0.95rem;
}

/* ----------  Media Queries ---------- */
@media (max-width: 768px) {
  section {
    padding: 60px 4%;
  }

  .open-btn {
    font-size: 1.6rem;
  }
}


.hero-content p {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.6s;
}

.hero-content .cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.9s;
}

/* Hero Heading Animation */
.hero-content h1 {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--clr-secondary);
  color: var(--clr-dark);
  font-size: 1.2rem;
  padding: 12px 18px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--clr-secondary);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* .profile {
  position: fixed;
  top: 25px;
  right: 25px;
  background-color: yellow;
  color: white;
  font-size: 1.2rem;
  padding: 12px 14px;
  border-radius: 50%;
  z-index: 999;
  cursor: pointer;
  height: 50px;
  width: 50px;
}



.top-head {
    position: absolute;
    top: 25px;
    z-index: 1000;
    width: 100%;
    height: 50px;
    background-color: rgb(190, 143, 240);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    position: absolute;
    right: 37.5%;
    z-index: 1000;
    width: 25%;
    height: 50px;
    background-color: yellow;
    display: flex;
    align-items: center;
    justify-content: center;
} */


