/* ===== HERO SECTION CSS ===== */
:root {
    --hero-primary-color: #7ED321;
    --hero-secondary-color: #9c27b0;
    --hero-accent-color: #FF6B6B;
    --hero-gradient-start: #7ED321;
    --hero-gradient-end: #9c27b0;
    --hero-dark-bg: rgba(22, 22, 26, 0.95);
    --hero-text-color: #fff;
    --hero-text-muted: rgba(255, 255, 255, 0.7);
    --hero-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --hero-light-shadow: 0 10px 30px rgba(126, 211, 33, 0.2);
    --hero-dark-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
  
/* Base Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, rgba(20, 20, 24, 0.7) 0%, rgba(30, 30, 36, 0.6) 100%);
    perspective: 1000px; /* Add 3D perspective for interactive elements */
}
  
/* Hero Background Animation */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.95;
}
  
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../../../assets/images/home/hero.jpg') no-repeat center center;
    background-size: cover;
    animation: hero-zoom 30s infinite alternate ease-in-out;
    filter: brightness(0.45) contrast(1.2) saturate(1.1);
    transform-origin: center center;
}
  
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
      rgba(0, 0, 0, 0.85) 0%, 
      rgba(0, 0, 0, 0.65) 50%,
      rgba(0, 0, 0, 0.55) 100%);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}
  
@keyframes hero-zoom {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.1);
    }
}
  
/* Decorative Elements */
.hero-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.3;
    will-change: transform;
    transition: transform 0.1s ease-out;
}
  
.hero-shape-1 {
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    border-radius: 59% 41% 70% 30% / 53% 51% 49% 47%;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    filter: blur(30px);
    opacity: 0.4;
    animation: float-shape 15s infinite alternate ease-in-out, floatAnimation 8s ease-in-out infinite;
}
  
.hero-shape-2 {
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--hero-gradient-end), var(--hero-accent-color));
    filter: blur(40px);
    opacity: 0.4;
    animation: float-shape 20s infinite alternate-reverse ease-in-out, floatAnimation 12s ease-in-out infinite reverse;
}
  
@keyframes float-shape {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    33% {
      transform: translate(30px, -30px) rotate(5deg);
    }
    66% {
      transform: translate(-20px, 20px) rotate(-5deg);
    }
    100% {
      transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes floatAnimation {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px);
    }
    100% {
      transform: translateY(0);
    }
}
  
/* Hero Container */
.hero-section .container {
    position: relative;
    z-index: 5;
}
  
/* Hero Content */
.hero-content {
    position: relative;
    padding: 0 1rem;
    opacity: 1;
    z-index: 10;
    animation: subtle-pulse 8s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}
  
@keyframes fade-in-up {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}
  
/* Hero Subtitle */
.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hero-primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(126, 211, 33, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--hero-primary-color);
    opacity: 1;
    position: relative;
    overflow: hidden;
}

.hero-subtitle::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(156, 39, 176, 0.2), rgba(126, 211, 33, 0.2));
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0%);
    }
    50% {
        opacity: 0.6;
        transform: translateX(10%);
    }
}
  
/* Hero Title */
.hero-title {
  font-size: 70px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}
  
.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    will-change: transform, opacity;
    background-size: 200% 200%;
    animation: gradientAnimation 5s ease infinite;
    min-width: 180px;
}
  
.hero-title .gradient-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 5px;
    left: 0;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    border-radius: 2px;
    z-index: -1;
    opacity: 0.3;
}
  
@keyframes fade-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}

@keyframes gradientAnimation {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
}
  
/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--hero-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 1;
    position: relative;
    overflow: hidden;
}
  
/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 20px;
    opacity: 1;
}
  
.hero-cta .btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.hero-cta .btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      rgba(255, 255, 255, 0), 
      rgba(255, 255, 255, 0.2), 
      rgba(255, 255, 255, 0));
    transition: all 0.6s;
}

.hero-cta .btn:hover::before {
    left: 100%;
}
  
/* Bubble Button Effect */
.hero-cta .btn .bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: bubble-rise var(--duration, 4s) ease-in infinite var(--delay, 0s);
    z-index: 1;
    transform: translateY(100%);
    opacity: 0;
    width: var(--size, 15px);
    height: var(--size, 15px);
    left: var(--left, 50%);
    bottom: 0;
}
  
@keyframes bubble-rise {
    0% {
        transform: translateY(100%) scale(0.2);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-100%) scale(0.5);
        opacity: 0;
    }
}
  
.hero-cta .btn span {
    position: relative;
    z-index: 2;
}
  
.hero-cta .btn i {
    position: relative;
    z-index: 2;
    margin-left: 8px;
    transition: transform 0.3s ease;
}
  
.hero-cta .btn:hover i {
    transform: translateX(5px);
}
  
.hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    border: none;
    color: #fff;
}
  
.hero-cta .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hero-gradient-end), var(--hero-gradient-start));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}
  
.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
  
.hero-cta .btn-primary:hover::before {
    opacity: 1;
}
  
.hero-cta .btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
  
.hero-cta .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transition: all 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}
  
.hero-cta .btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
  
.hero-cta .btn-outline:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
  
/* Hero Floating Element */
.hero-floating-element {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 350px;
    height: 350px;
    z-index: 2;
    opacity: 1;
    transform-style: preserve-3d;
}
  
.hero-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(22, 22, 28, 0.75);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 
                0 0 30px rgba(156, 39, 176, 0.1), 
                0 0 10px rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.15);
    animation: smooth-float 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}
  

  
.hero-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, 
                rgba(30, 30, 35, 0.85) 0%,
                rgba(30, 30, 35, 0.95) 50%,
                rgba(25, 25, 30, 0.9) 100%);
    border-radius: 17px;
    z-index: -1;
}
  
/* New Hero Card Elements */
.hero-card-seal {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 80px;
    height: 80px;
    z-index: 10;
    animation: smooth-pulse-seal 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.seal-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #7ed321, #ffffff);
    animation: rotate-slow 10s linear infinite;
}

.seal-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: #9c27b0;
  text-shadow: 0 0 10px rgb(0 0 0 / 50%);
}

.hero-card-badge {
    position: absolute;
    top: 20px;
    left: 0;
    background: linear-gradient(90deg, rgba(156, 39, 176, 0.9), rgba(126, 211, 33, 0.9));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 20px 5px 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.hero-card-divider {
    width: 80%;
    margin: 15px 0;
    height: 1px;
    background: linear-gradient(90deg, 
                transparent 0%, 
                rgba(255, 215, 0, 0.3) 20%, 
                rgba(255, 215, 0, 0.8) 50%, 
                rgba(255, 215, 0, 0.3) 80%, 
                transparent 100%);
    position: relative;
}

.divider-diamond {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1e1e23;
    padding: 5px;
    border-radius: 50%;
    color: rgba(255, 215, 0, 0.9);
    font-size: 0.7rem;
}

.hero-card-pattern {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.07;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><path d="M0 20 L20 0 L40 20 L20 40 Z" fill="none" stroke="gold" stroke-width="1"/></svg>');
    background-size: 40px 40px;
    z-index: -1;
}

.hero-card-pattern.top-left {
    top: 0;
    left: 0;
    transform: rotate(15deg);
}

.hero-card-pattern.bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(-15deg);
}

@keyframes smooth-pulse-seal {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.03);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-stats {
    font-size: 5.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(218, 165, 32, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 5px;
    transition: transform 0.2s ease-out;
    backface-visibility: hidden;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
    letter-spacing: -2px;
}

.hero-stats-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: transform 0.2s ease-out;
    backface-visibility: hidden;
    margin-bottom: 10px;
}

.hero-achievement {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-top: 15px;
    transition: transform 0.2s ease-out;
    backface-visibility: hidden;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-achievement-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    transition: transform 0.2s ease-out;
    backface-visibility: hidden;
    font-style: italic;
}
  
.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--hero-text-muted);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
  
.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}
  
.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scroll-animation 2s infinite;
}
  
@keyframes scroll-animation {
    0% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
    50% {
      opacity: 0.3;
      transform: translateX(-50%) translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
}

/* Particles canvas styling */
.particles-canvas {
  opacity: 0.8;
  filter: blur(0.5px);
}
  
/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
      font-size: 3.5rem;
    }
    
    .hero-floating-element {
      width: 300px;
      height: 300px;
      right: 3%;
    }
    
    .hero-shape-1 {
      width: 250px;
      height: 250px;
    }
}
  
@media (max-width: 992px) {
    .hero-title {
      font-size: 3rem;
    }
    
    .hero-description {
      font-size: 1.1rem;
    }
    
    .hero-floating-element {
      width: 300px;
      height: 300px;
      position: relative;
      right: auto;
      top: auto;
      transform: none;
      margin: -100px auto 0;
    }
    
    .hero-shape-1 {
      top: 5%;
      right: 5%;
    }
    
    .hero-shape-2 {
      bottom: 5%;
      left: 5%;
    }
}
  
@media (max-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
    }
    
    .hero-subtitle {
      font-size: 0.85rem;
    }
    
    .hero-description {
      font-size: 1rem;
    }
    
    .hero-content {
      padding-top: 3rem; 
    }
    
    .hero-cta {
      flex-direction: column;
      gap: 0px;
      margin-bottom: -10px;
    }
    
    .hero-cta .btn {
      width: 100%;
      padding: 12px 20px;
      margin-top: 20px;
    }
    
    .hero-floating-element {
      width: 100%;
      height: 100%;
    }
    
    .hero-shape-1 {
      width: 150px;
      height: 150px;
    }
    
    .hero-shape-2 {
      width: 120px;
      height: 120px;
    }
    
    .hero-card {
      padding: 30px 20px;
      min-height: 220px;
      max-height: 300px;
      margin: 0 auto;
      max-width: 350px;
      animation: none;
      transform: translateY(0) !important;
      transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .hero-stats {
      font-size: 4rem;
      transform: none !important;
    }
    
    .hero-stats-label {
      font-size: 1rem;
      transform: none !important;
    }
    
    .hero-achievement {
      font-size: 1.1rem;
      margin-top: 20px;
      padding-top: 15px;
      transform: none !important;
    }
    
    .hero-achievement-text {
      transform: none !important;
    }
    
    .particles-canvas {
      opacity: 0.4;
    }
}
  
@media (max-width: 576px) {
    .hero-section {
      min-height: 600px;
    }
    
    .hero-title {
      font-size: 26px!important;
    }
    
    .hero-subtitle {
      font-size: 0.8rem;
      padding: 6px 12px;
    }
    
    .hero-description {
      font-size: 0.95rem;
      margin-bottom: 2rem;
    }
    
    .hero-shape-1, .hero-shape-2 {
      opacity: 0.2;
    }
}
  
/* For smaller mobile devices */
@media (max-width: 360px) {
    .hero-title {
      font-size: 1.8rem;
    }
    
    .hero-subtitle {
      font-size: 0.75rem;
      margin-bottom: 1rem;
    }
    
    .hero-description {
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
    }
}
  
/* For larger screens - laptops and above */
@media (min-width: 769px) {
    .hero-content {
      padding: 0 1rem;
    }
}

.hero-section .container .row {
    align-items: center;
}

@keyframes rotate-gradient {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
  
@keyframes smooth-float {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}

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

@keyframes fade-in-right {
    from {
      opacity: 0;
      transform: translate(30px, -50%);
    }
    to {
      opacity: 1;
      transform: translate(0, -50%);
    }
} 