
html, body {
    background: #00132d;
    color: #fff;
    scroll-behavior: smooth;
}

.three-container {
    position: relative;
    overflow: hidden;
}

canvas.three-bg {
    width: 100%;
    height: 100%;
    display: block;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .three-container {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .three-container {
        height: 240px;
    }
}


.content {
    position: absolute;
    top: 35%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
}

.content h1 {
    display: block;
    width: 100%;
    font-size: 2.8rem;
    font-weight: 700; 
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.content p {
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);

}

.btn {
    background: #7623bf;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    box-shadow: 0 6px 20px #7623bf;
}

  .logo-text {
        font-family: 'Righteous', sans-serif;
        font-size: 2rem;
        font-weight: bold;
        color: white;
      }

      
/* Responsive tweaks */
@media (max-width: 768px) {
    .content {
        max-width: 90%;
        padding: 25px 15px;
    }
    .content h1 {
        font-size: 2.2rem;
    }
    .content p {
        font-size: 1rem;
    }
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .content {
        max-width: 95%;
        padding: 20px 12px;
    }
    .content h1 {
        font-size: 1.8rem;
    }
    .content p {
        font-size: 0.9rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}
.text-gradient {
  background: linear-gradient(to right, #ffd700, #b872ff, #7623bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradient-flow 6s ease infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.adv-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 40px;
    background: #521885;
    backdrop-filter: blur(10px);
    border: 1px solid rgb(125, 12, 177);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}



/* Icon Styling */
.btn-icon {
    transition: transform 0.3s ease;
    stroke: #a855f7;
}

/* Background Glow */
.btn-glow {
    position: absolute;
    width: 40px;
    height: 100%;
    top: 0;
    left: -100px;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-45deg);
    transition: 0.5s;
}

.adv-btn:hover .btn-glow {
    left: 150%;
}

/* Keeps elements hidden until GSAP kicks in */
.hero-title, .hero-p, .hero-btn {
    opacity: 0;
    will-change: transform, opacity;
}

.adv-card-wrapper {
    perspective: 1000px; /* For 3D Tilt */
}

.adv-card {
    position: relative;
    background: rgba(40, 2, 71, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(118, 35, 191, 0.3);
    border-radius: 2rem;
    padding: 3rem 2rem;
    height: 100%;
    transition: transform 0.1s ease-out, border-color 0.4s ease;
    overflow: hidden;
}

.adv-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
}

/* The Glow Overlay */
.card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(255, 215, 0, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.adv-card:hover .card-glow {
    opacity: 1;
}

/* Icon Styling */
.icon-box {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #7623bf, #280247);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: #ffd700;
    font-size: 1.5rem;
    z-index: 2;
}

.icon-pulse {
    position: absolute;
    inset: -4px;
    border: 2px solid #ffd700;
    border-radius: 1.2rem;
    opacity: 0;
    transition: 0.5s;
}

.adv-card:hover .icon-pulse {
    opacity: 0.3;
    transform: scale(1.1);
}

/* Learn More Link */
.learn-more {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffd700;
    font-weight: 600;
    transition: 0.3s;
}

.learn-more svg {
    transition: transform 0.3s;
}

.learn-more:hover svg {
    transform: translateX(-5px); /* Moves left because of RTL */
}