:root {
  --primary-purple: #7f00ff;
  --primary-yellow: #ffc72c;
  --dark-color: #1a1a1a;
  --light-color: #ffffff;
  --text-color: #333;
  --font-family: "Poppins", sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  background-color: var(--light-color);
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header and Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--dark-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.7rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo img {
  height: 45px;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2.5rem;
}

.nav-links a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-purple),
    var(--primary-yellow)
  );
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--primary-purple);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--dark-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-background video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(21 3 39 / 70%);
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--light-color);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section .subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero-section .tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(to right, var(--primary-purple), #9c42f5);
  color: var(--light-color);
  padding: 1rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--primary-yellow), #ffd769);
  transition: all 0.3s ease;
  z-index: -1;
}

.cta-button:hover {
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.cta-button:hover::before {
  left: 0;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--light-color);
}

.about-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 3px solid var(--primary-purple);
  border-radius: 10px;
  z-index: -1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
  color: var(--dark-color);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-purple),
    var(--primary-yellow)
  );
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.8;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.services-section .section-title {
  text-align: center;
}

.services-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--light-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-yellow)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -30px auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(127, 0, 255, 0.3);
}

.service-icon i {
  color: white;
  font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(127, 0, 255, 0.03),
    rgba(255, 199, 44, 0.03)
  );
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-yellow)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.2rem;
}

.contact-text {
  color: #555;
}

.contact-text h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: var(--light-color);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark-color);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(127, 0, 255, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(to right, var(--primary-purple), #9c42f5);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(127, 0, 255, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(to right, var(--primary-yellow), #ffd769);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(127, 0, 255, 0.4);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--primary-purple),
    var(--primary-yellow)
  );
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-yellow);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: linear-gradient(
    135deg,
    var(--primary-purple),
    var(--primary-yellow)
  );
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--light-color);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1.2rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-section h1 {
    font-size: 2.3rem;
  }

  .hero-section .subtitle {
    font-size: 1.2rem;
  }

  .about-content,
  .contact-container {
    flex-direction: column;
  }

  .about-image,
  .about-text,
  .contact-info,
  .contact-form {
    min-width: 100%;
  }

  .service-icon {
    margin: -30px auto 20px;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-col {
    min-width: 100%;
  }
}

/* Responsive */
/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 100px 2rem 2rem;
    transition: all 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 1.2rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-section h1 {
    font-size: 2.3rem;
  }

  .hero-section .subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .navbar .container {
    padding: 0 1.5rem;
  }
}
