@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
  /* Colors */
  --color-primary-bg: #1C1F1D;
  --color-secondary-bg: #2C3834;
  --color-accent-1: #A8BDB0;
  --color-accent-2: #5D8E70;
  --color-highlight: #E1B96A;
  --color-text: #E8EAE7;
  --color-link-hover: #7FB68A;
  
  /* Typography */
  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'Spectral', serif;
  --fs-xl: 3rem;
  --fs-lg: 2.5rem;
  --fs-md: 1.5rem;
  --fs-sm: 1.125rem;
  --fs-xs: 0.875rem;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Other */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s ease;
  --animation-slide-up: slide-up 0.6s ease forwards;
  --animation-fade-in: fade-in 0.8s ease forwards;
  --animation-scale: scale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  --animation-float: float 8s ease-in-out infinite;
  --animation-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  --animation-shimmer: shimmer 2.5s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes slide-up {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scale {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* 3D Animation Effect */
@keyframes rotate3d {
  0% {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
  50% {
    transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
  }
  100% {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  }
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-primary-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--fs-xl);
}

h2 {
  font-size: var(--fs-lg);
}

h3 {
  font-size: var(--fs-md);
}

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
}

button, .btn {
  cursor: pointer;
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background-color: var(--color-highlight);
  color: var(--color-primary-bg);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

button:hover, .btn:hover {
  background-color: var(--color-link-hover);
  transform: translateY(-2px);
  color: white;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

section {
  padding: var(--space-lg) 0;
}

/* Header Styles */
header {
  position: absolute;
  width: 100%;
  z-index: 1000;
  transition: transform var(--transition-medium);
}

.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
}

.logo {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: var(--fs-md);
  z-index: 1100;
}

.logo a {
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  z-index: 1100;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: var(--space-md);
  list-style: none;
  position: relative;
}

.nav-menu a {
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-highlight);
  transition: width var(--transition-medium);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #09160e82;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero h1 {
  animation: var(--animation-slide-up);
  animation-delay: 0.2s;
  opacity: 0;
}

.hero p {
  animation: var(--animation-slide-up);
  animation-delay: 0.4s;
  opacity: 0;
  max-width: 600px;
  margin-bottom: var(--space-md);
}

.hero-btn {
  animation: var(--animation-slide-up);
  animation-delay: 0.6s;
  opacity: 0;
}

.hero-3d-element {
  position: absolute;
  right: -5%;
  top: 20%;
  width: 40%;
  height: 60%;
  background: linear-gradient(135deg, var(--color-accent-2), var(--color-accent-1));
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  animation: var(--animation-float), rotate3d 20s infinite alternate;
  z-index: 1;
}

/* Animated Section */
.animated-section {
  background-color: var(--color-secondary-bg);
  position: relative;
  overflow: hidden;
}

.animated-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--color-primary-bg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 50%);
}

.animated-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--color-primary-bg);
  clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}

.animated-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.animated-card {
  background-color: var(--color-primary-bg);
  border-radius: var(--border-radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-medium);
}

.animated-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.animated-card h3 {
  margin-bottom: var(--space-xs);
  color: var(--color-highlight);
}

.animated-card-icon {
  margin-bottom: var(--space-sm);
  color: var(--color-accent-1);
  font-size: 2.5rem;
}

/* Courses Section */
.courses-section {
  background-color: var(--color-primary-bg);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.course-card {
  background-color: var(--color-secondary-bg);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-medium);
  box-shadow: var(--shadow-sm);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.course-image {
  height: 200px;
  background-color: var(--color-accent-1);
  position: relative;
  overflow: hidden;
}

.course-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
}

.course-content {
  padding: var(--space-md);
}

.course-tag {
  display: inline-block;
  background-color: var(--color-accent-2);
  color: var(--color-text);
  font-size: var(--fs-xs);
  padding: 4px 8px;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--space-xs);
}

.course-price {
  font-weight: 700;
  color: var(--color-highlight);
  margin: var(--space-xs) 0;
}

/* Contact Form */
.contact-section {
  background-color: var(--color-secondary-bg);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-medium);
}

.contact-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  background-color: var(--color-primary-bg);
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-medium);
}

.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--color-accent-1);
  background-color: var(--color-secondary-bg);
  border-radius: var(--border-radius-sm);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-highlight);
}

.form-control::placeholder {
  color: rgba(232, 234, 231, 0.6);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  margin: var(--space-md) 0;
}

.form-consent input {
  margin-top: 6px;
  margin-right: var(--space-xs);
}

.submit-btn {
  width: 100%;
  padding: var(--space-xs) 0;
  background-color: var(--color-highlight);
  border: none;
  border-radius: var(--border-radius-sm);
  color: var(--color-primary-bg);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.submit-btn:hover {
  background-color: var(--color-accent-2);
}

.map-container {
  position: relative;
  margin-top: var(--space-md);
  height: clamp(260px, 45vh, 420px);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background-color: var(--color-primary-bg);
  padding: var(--space-md) 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  margin-bottom: var(--space-xs);
  font-family: var(--font-secondary);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
}

.footer-nav a {
  margin-left: var(--space-md);
}

.copyright {
  width: 100%;
  text-align: center;
  margin-top: var(--space-md);
  font-size: var(--fs-xs);
  opacity: 0.8;
}

/* Cookies Popup */
.cookie-popup {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-secondary-bg);
  padding: var(--space-md);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  max-width: 400px;
  width: 90%;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: var(--animation-scale);
}

.cookie-btns {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
}

.cookie-btns button {
  padding: var(--space-xs) var(--space-sm);
}

.cookie-accept {
  background-color: var(--color-highlight);
}

.cookie-decline {
  background-color: var(--color-accent-1);
}

/* 404 Page */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.not-found-content {
  max-width: 600px;
  padding: var(--space-md);
}

.not-found-title {
  font-size: 8rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  position: relative;
  display: inline-block;
}

.not-found-title::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 120%;
  height: 160%;
  background: linear-gradient(45deg, var(--color-accent-2) 0%, transparent 40%, transparent 60%, var(--color-highlight) 100%);
  opacity: 0.2;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
  animation: var(--animation-float);
}

.not-found-subtitle {
  margin-bottom: var(--space-md);
}

/* Thank You Page */
.thank-you {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: var(--space-md);
  position: relative;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--color-highlight);
  margin-bottom: var(--space-sm);
  animation: var(--animation-pulse);
}

.thank-you h1 {
  margin-bottom: var(--space-xs);
}

.thank-you-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-accent-2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.2;
  animation: var(--animation-pulse);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  :root {
    --fs-xl: 2.5rem;
    --fs-lg: 2rem;
    --fs-md: 1.25rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: clamp(240px, 40vh, 360px);
    margin-top: var(--space-lg);
  }
  
  .hero-3d-element {
    width: 50%;
    right: -10%;
  }

  .nav-menu li{
    margin-left: 1rem;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --fs-xl: 2.2rem;
    --fs-lg: 1.8rem;
  }
  
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    padding: 0;
    color: var(--color-text);
    font-size: 1.5rem;
    z-index: 12345;
  }
  
  .menu-toggle:hover {
    background: none;
    color: var(--color-highlight);
    transform: none;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--color-secondary-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-medium);
    padding: var(--space-lg) 0;
    display: none;
    z-index: 1234;
  }
  
  .nav-menu.active {
    display: flex;
    right: 0;
  }
  
  .nav-menu li {
    margin: var(--space-sm) 0;
  }
  
  .hero-3d-element {
    width: 70%;
    height: 40%;
    top: 60%;
    right: -20%;
  }

  .floating-element {
    opacity: 0.08;
  }

  .floating-1 {
    width: 70px;
    height: 70px;
    top: 18%;
    left: 6%;
  }

  .floating-2 {
    width: 110px;
    height: 110px;
    bottom: 12%;
    right: 12%;
  }

  .floating-3 {
    width: 55px;
    height: 55px;
    top: 62%;
    left: 14%;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --fs-xl: 2rem;
    --fs-lg: 1.6rem;
    --fs-md: 1.2rem;
    --fs-sm: 1rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    margin-top: var(--space-sm);
    justify-content: center;
  }
  
  .footer-nav a {
    margin: 0 var(--space-xs);
  }
  
  .hero-3d-element {
    width: 80%;
    height: 30%;
    top: 65%;
    right: -30%;
  }

  .floating-element {
    display: none;
  }
}

/* Animation-specific classes */
.anim-fade-in {
  animation: var(--animation-fade-in);
}

.anim-slide-up {
  animation: var(--animation-slide-up);
}

.anim-scale {
  animation: var(--animation-scale);
}

.anim-delay-1 {
  animation-delay: 0.2s;
}

.anim-delay-2 {
  animation-delay: 0.4s;
}

.anim-delay-3 {
  animation-delay: 0.6s;
}

.anim-float {
  animation: var(--animation-float);
}

/* 3D Model Animation */
.model-3d-container {
  position: relative;
  height: 300px;
  width: 100%;
  perspective: 1000px;
}

.model-3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotate3d 15s infinite ease-in-out;
}

.model-face {
  position: absolute;
  background: linear-gradient(45deg, var(--color-accent-2), var(--color-accent-1));
  border: 1px solid var(--color-accent-1);
  opacity: 0.8;
}

.model-top {
  width: 200px;
  height: 200px;
  transform: rotateX(90deg) translateZ(100px);
  left: calc(50% - 100px);
  top: calc(50% - 100px);
}

.model-bottom {
  width: 200px;
  height: 200px;
  transform: rotateX(-90deg) translateZ(100px);
  left: calc(50% - 100px);
  top: calc(50% - 100px);
}

.model-left {
  width: 200px;
  height: 200px;
  transform: rotateY(-90deg) translateZ(100px);
  left: calc(50% - 100px);
  top: calc(50% - 100px);
}

.model-right {
  width: 200px;
  height: 200px;
  transform: rotateY(90deg) translateZ(100px);
  left: calc(50% - 100px);
  top: calc(50% - 100px);
}

.model-front {
  width: 200px;
  height: 200px;
  transform: translateZ(100px);
  left: calc(50% - 100px);
  top: calc(50% - 100px);
}

.model-back {
  width: 200px;
  height: 200px;
  transform: rotateY(180deg) translateZ(100px);
  left: calc(50% - 100px);
  top: calc(50% - 100px);
}

/* Cursor Animation */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-highlight);
  opacity: 0.6;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  display: none;
}

.custom-cursor.active {
  display: block;
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  opacity: 0.4;
  background-color: var(--color-accent-2);
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: var(--color-highlight);
  z-index: 9999;
  width: 0;
  transition: width var(--transition-fast);
}

/* Page Transition */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
  transform: translateY(100%);
}

.page-transition.active {
  transform: translateY(0);
}

.page-transition-logo {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: var(--fs-xl);
  color: var(--color-highlight);
  animation: var(--animation-pulse);
}

/* Text Animation */
.text-animated {
  display: inline-block;
  position: relative;
}

.text-animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-highlight);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.text-animated.visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Section Reveal */
.reveal-section {
  position: relative;
  overflow: hidden;
}

.reveal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary-bg);
  transform: translateX(-100%);
  z-index: 1;
}

.reveal-section.animating::before {
  animation: reveal-section 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.reveal-section > * {
  opacity: 0;
  transition: opacity 0.3s;
}

.reveal-section.revealed > * {
  opacity: 1;
}

@keyframes reveal-section {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Number Counter Animation */
.counter-animation {
  display: inline-block;
  font-weight: 700;
  color: var(--color-highlight);
}

/* Image Hover Effects */
.image-hover-effect {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.image-hover-effect img {
  transition: transform var(--transition-medium);
}

.image-hover-effect:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(28, 31, 29, 0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.course-image img{
  width: 100%;
  height: 100%;
}

.image-hover-effect:hover .image-overlay {
  opacity: 1;
}

/* Interactive Card Flip */
.flip-card {
  perspective: 1000px;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.flip-card-front {
  background-color: var(--color-secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-back {
  background-color: var(--color-accent-2);
  color: var(--color-text);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

/* Floating Elements Animation */
.floating-element {
  position: absolute;
  background-color: var(--color-accent-1);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
  animation: var(--animation-float);
}

.floating-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-duration: 6s;
}

.floating-2 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 15%;
  animation-duration: 8s;
}

.floating-3 {
  width: 70px;
  height: 70px;
  top: 70%;
  left: 20%;
  animation-duration: 7s;
}

/* 3D Button Animation */
.btn-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform var(--transition-fast);
}

.btn-3d::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent-2);
  z-index: -1;
  border-radius: var(--border-radius-sm);
  transform: translateZ(-1px);
}

.btn-3d:hover {
  transform: translateY(3px) translateZ(0);
}

/* Mouse Trail Effect */
.mouse-trail {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-highlight);
  opacity: 0.6;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s;
}

/* Loading Animation */
.loading-animation {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.loading-animation div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--color-highlight);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.loading-animation div:nth-child(1) {
  left: 8px;
  animation: loading-animation1 0.6s infinite;
}

.loading-animation div:nth-child(2) {
  left: 8px;
  animation: loading-animation2 0.6s infinite;
}

.loading-animation div:nth-child(3) {
  left: 32px;
  animation: loading-animation2 0.6s infinite;
}

.loading-animation div:nth-child(4) {
  left: 56px;
  animation: loading-animation3 0.6s infinite;
}

@keyframes loading-animation1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes loading-animation3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes loading-animation2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* SVG Animation */
.svg-animation path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 2s linear forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* Scroll-Triggered Animation Classes */
.scroll-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-medium);
}

.scroll-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-anim-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--transition-medium);
}

.scroll-anim-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-anim-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all var(--transition-medium);
}

.scroll-anim-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-anim-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all var(--transition-medium);
}

.scroll-anim-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.scroll-anim-delay-1 {
  transition-delay: 0.1s;
}

.scroll-anim-delay-2 {
  transition-delay: 0.2s;
}

.scroll-anim-delay-3 {
  transition-delay: 0.3s;
}

.scroll-anim-delay-4 {
  transition-delay: 0.4s;
}

.scroll-anim-delay-5 {
  transition-delay: 0.5s;
}


@media (max-width: 480px) {
.page-transition-logo{
  font-size: 1.5rem;
}
}

#body.nav-menu.active{
  overflow: hidden Im !important;
}