/* 1. Global Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #000 !important;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* 2. Solar System Background (Fixed to back) */
#solar-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #0a1a0f 0%, #000000 100%);
}

.main-content {
    position: relative;
    z-index: 10;
}

/* 3. Solar System Animation Logic */
.sun { 
    position: absolute; top: 50%; left: 50%; width: 80px; height: 80px; 
    background: radial-gradient(circle, #fffd3b 0%, #ff8c00 70%, #ff4500 100%); 
    border-radius: 50%; box-shadow: 0 0 60px rgba(255, 140, 0, 0.5); 
    transform: translate(-50%, -50%); 
}

.orbit { 
    position: absolute; top: 50%; left: 50%; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 50%; transform: translate(-50%, -50%) rotateX(75deg); 
    transform-style: preserve-3d; 
}

.planet { position: absolute; top: 50%; left: 0; border-radius: 50%; transform-style: preserve-3d; }

/* Planet Orbits */
.mercury-orbit { width: 150px; height: 150px; animation: orbitRotate 5s linear infinite; }
.mercury { width: 8px; height: 8px; background: #a5a5a5; left: -4px; }

.venus-orbit { width: 220px; height: 220px; animation: orbitRotate 8s linear infinite; }
.venus { width: 12px; height: 12px; background: #ffbf00; left: -6px; }

.earth-orbit { width: 320px; height: 320px; animation: orbitRotate 12s linear infinite; }
.earth { width: 15px; height: 15px; background: #2f80ed; left: -7.5px; box-shadow: 0 0 15px #2f80ed; }

.mars-orbit { width: 420px; height: 420px; animation: orbitRotate 15s linear infinite; }
.mars { width: 11px; height: 11px; background: #e74c3c; left: -5.5px; }

.jupiter-orbit { width: 580px; height: 580px; animation: orbitRotate 25s linear infinite; }
.jupiter { width: 30px; height: 30px; background: #d35400; left: -15px; }

@keyframes orbitRotate { 
    from { transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg); } 
    to { transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg); } 
}

/* 4. Ikman Reload UI Elements (Image 1, 2, 3 ඇසුරෙන්) */
.text-neon { color: #25d366 !important; text-shadow: 0 0 10px rgba(37, 211, 102, 0.5); }

.btn-main {
    background-color: #25d366;
    color: #000;
    font-weight: 700;
    border-radius: 30px;
    padding: 12px 35px;
    border: none;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-main:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.card-custom {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: 0.3s;
}

.card-custom:hover {
    border-color: #25d366;
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.9);
}

.step-circle {
    width: 65px; height: 65px;
    border: 2px solid #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 15px;
    background: rgba(37, 211, 102, 0.1);
    font-weight: bold; font-size: 22px; color: #25d366;
}

/* 5. Responsive Fixes */
@media (max-width: 768px) {
    .sun { width: 50px; height: 50px; }
    .display-4 { font-size: 2.2rem; }
    .orbit { display: none; } /* Mobile වලදී animation එක නිසා content කියවන්න අමාරු නම් මේක තියන්න */
    #solar-system { opacity: 0.4; }
}
/* Features Page Specific Styles */
.feature-box {
    border-left: 4px solid #25d366;
    background: rgba(10, 10, 10, 0.9) !important;
}

.floating-anim {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.border-neon {
    border: 1px solid #25d366 !important;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.2);
}

@media (max-width: 768px) {
    .feature-box {
        text-align: center;
        border-left: none;
        border-top: 4px solid #25d366;
    }
}
.testimonial-swiper {
    padding: 20px 0 50px;
}
.swiper-button-next, .swiper-button-prev {
    background: rgba(37, 211, 102, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}
.swiper-pagination-bullet-active {
    background: #25d366 !important;
}
/* Navbar Buttons Styling */
.btn-login {
    background-color: #e2f9ee; /* පින්තූරයේ තියෙන ලා පැහැය */
    color: #000 !important;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: 0.3s;
}

.btn-login:hover {
    background-color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp-group {
    background-color: #25d366; /* WhatsApp Green */
    color: #000 !important;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: 0.3s;
}

.btn-whatsapp-group:hover {
    background-color: #1ebe57;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Active Page Highlight */
.nav-link.active {
    color: #25d366 !important;
    border-bottom: 2px solid #25d366;
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        padding-bottom: 15px;
    }
    .d-flex {
        align-items: center;
    }
}