:root {
    --primary-gradient: linear-gradient(135deg, #8b5cf6, #ec4899);
    --secondary-gradient: linear-gradient(135deg, #f59e0b, #ef4444);
    --accent-gradient: linear-gradient(135deg, #10b981, #84cc16);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: var(--primary-gradient) !important;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    padding: 1rem 0;
}

.navbar-brand,
.nav-link {
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fbbf24 !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: url('images/hero\ main.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
}
/* -----------------------------------
   HALF MOON IMAGE + GLOW + BOUNCE
----------------------------------- */
.half-moon-img {
    width: 380px;
    height: 380px;
    background: url('images/index\ hero.avif') no-repeat center/cover;
    border-radius: 50% 0 0 50%;
    box-shadow: 0 0 25px rgba(0,255,150,0.6); /* Glow */
    animation: soft-glow 4s ease-in-out infinite, bounce 4s ease-in-out infinite;
}

/* Soft Glow Animation */
@keyframes soft-glow {
    0% { box-shadow: 0 0 20px rgba(0,255,150,0.5); }
    50% { box-shadow: 0 0 40px rgba(0,255,150,0.9); }
    100% { box-shadow: 0 0 20px rgba(0,255,150,0.5); }
}

/* Soft Bounce Effect */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* -----------------------------------
   SLIDE-IN CONTENT ANIMATION
----------------------------------- */
.animated-content {
    opacity: 0;
    transform: translateX(100px);
    animation: slideIn 1.2s ease-out forwards 0.3s;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* -----------------------------------
   MOBILE OPTIMIZATION
----------------------------------- */
@media (max-width: 768px) {
    .half-moon-img {
        width: 250px;
        height: 250px;
        border-radius: 50%; /* full circle for mobile */
        margin-bottom: 25px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .half-moon-img {
        width: 200px;
        height: 200px;
    }
}

/* Services */
.services-section {
    background: var(--primary-gradient);
    padding: 100px 0;
}

.services-section h5 {
    color: black;
}

.service-card {
    background: lab(87.79% 1.7 0.59 / 0.949);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.icon-rotate {
    font-size: 3rem;
    color: #8b5cf6;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Testimonial Carousel */
.testimonial-section {
    background: var(--accent-gradient);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
}

/* Newsletter */
.newsletter {
    background: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    position: relative;
    padding: 100px 0;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: white;
}

.btn-gradient {
    background: var(--secondary-gradient);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
    color: white;
}