@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --yellow: #ffd700;
  --black: #000000;
  --white: #ffffff;
  --transition: all 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  cursor: none;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  background-color: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  -webkit-overflow-scrolling: touch; /* Add this for better mobile scrolling */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background-color: var(--black);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--yellow);
  border-radius: 5px;
  border: 3px solid var(--black);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #e6c200; /* Slightly darker yellow on hover */
}

/* For Firefox */
* {
  scrollbar-width: auto; /* Change from thin to auto */
  scrollbar-color: var(--yellow) var(--black);
}

a:hover{
  cursor: none;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-content {
  text-align: center;
}

.loader h1 {
  font-size: 6vw;
  color: var(--yellow);
  letter-spacing: 0.2em;
  font-weight: 900;
  text-transform: uppercase;
}

.loading-bar {
  width: 60vw;
  height: 4px;
  background-color: var(--white);
  margin: 20px auto;
  position: relative;
  overflow: hidden;
}

.loading-bar::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--yellow);
  transform: translateX(-100%);
  animation: loading 2s ease forwards;
}

@keyframes loading {
  to {
    transform: translateX(0);
  }
}

#cursorDot {
  background: var(--white);
  height: 30px;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  border-radius: 100%;
  mix-blend-mode: difference;
  transition: transform 0.2s ease, height 0.2s ease;
}

/* Add a class for the expanded state */
#cursorDot.expanded {
  transform: scale(2);
  cursor: none;
  pointer-events: none;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: var(--transition);
  mix-blend-mode: difference;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  pointer-events: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--yellow);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition);
}

/* Mobile Menu Styles */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Change blend mode when mobile menu is active */
.nav-links.mobile-active + nav,
nav:has(.nav-links.mobile-active) {
  mix-blend-mode: normal;
  background-color: var(--black);
}

.nav-links.mobile-active {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--black);
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 9;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  #cursorDot {
    display: none;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--yellow);
  z-index: 0;
}

.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 90%;
}

.hero-title {
  font-size: 10vw;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  transform: translateY(50px);
  opacity: 0;
  pointer-events: none;
}

.hero-subtitle {
  pointer-events: none;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(50px);
  opacity: 0;
}

.hero-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--black);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  transform: translateY(50px);
  opacity: 0;
}

.hero-button:hover {
  background-color: var(--white);
  color: var(--black);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
}

.scroll-indicator p {
  pointer-events: none;
  color: var(--black);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Services Section */
.services {
  padding: 8rem 3rem;
  background-color: var(--black);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--black);
  border: 2px solid var(--yellow);
  padding: 2rem;
  border-radius: 10px;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(50px);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
  background-color: var(--yellow);
  color: var(--black);
}

.service-card:hover .service-icon {
  color: var(--black);
}

.service-icon {
  font-size: 3rem;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 8rem 3rem;
  background-color: var(--white);
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.about-text {
  max-width: 600px;
}

.about-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--black);
  opacity: 0;
  transform: translateX(-50px);
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-50px);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(-50px);
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
}

.about-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(50px);
  background-image: url("../assets/aboutbg.jpg"); /* Fixed path - one level up from css folder */
  background-size: cover;
  background-position: center;
}

.about-image-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffd700c9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-inner h2 {
  font-size: 3rem;
  color: var(--black);
  font-weight: 900;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.shape {
  position: absolute;
  background-color: var(--yellow);
  border-radius: 50%;
  opacity: 0.1;
}

/* Contact Section */
.contact {
  padding: 8rem 3rem;
  background-color: var(--black);
  position: relative;
  overflow: visible;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: center;
}

.contact-info {
  max-width: 500px;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.contact-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--yellow);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--black);
  font-size: 1.2rem;
}

.contact-text {
  font-size: 1rem;
  color: var(--white);
}

.contact-form {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(30px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #eee;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--yellow);
  outline: none;
}

.form-submit {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  
  transition: var(--transition);
}

.form-submit:hover {
  background-color: var(--black);
  color: var(--white);
}

/* Footer */
.footer {
  padding: 3rem;
  background-color: var(--black);
  text-align: center;
  position: relative;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.footer-text {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--black);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--yellow);
  transform: translateY(-5px);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  nav {
    padding: 1.2rem 2rem;
  }

  .hero-title {
    font-size: 12vw;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    gap: 3rem;
  }

  .nav-links.active {
    right: 0;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .services,
  .about,
  .contact {
    padding: 6rem 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 14vw;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .services,
  .about,
  .contact {
    padding: 5rem 1.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 3rem 1.5rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.parallax-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translateY(0);
  z-index: -1;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--yellow);
  z-index: 9999;
}
/* Modify these CSS rules to allow animations */
.section-title,
.section-subtitle,
.service-card,
.about-title,
.about-description,
.about-stats,
.about-image,
.contact-title,
.contact-description,
.contact-details,
.contact-form {
  /* Remove !important to allow animations to work */
  opacity: 1;
  transform: none;
}
