:root {
    --primary-neon-blue: #04d9ff;
    --background-color: #000000;
    --text-color: #FFFFFF;
    --card-background: #1a1a1a;
    --font-family: 'Orbitron', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px var(--primary-neon-blue);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-neon-blue);
    text-shadow: 0 0 15px var(--primary-neon-blue);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-neon-blue);
    text-shadow: 0 0 10px var(--primary-neon-blue);
}

/* Service Detail Styles */
.service-details {
    margin-top: 20px;
    width: 100%;
}

/* Main Content */
main {
    padding: 2rem 5%;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 60px 0;
}

#home {
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1, h2 {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-neon-blue);
    text-shadow: 0 0 15px var(--primary-neon-blue);
}

/* Services Section - Alternating Layout */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service-item {
    width: 60%;
    max-width: 690px;
    background-color: var(--card-background);
    border: 2px solid var(--primary-neon-blue);
    border-radius: 20px;
    box-shadow: 0 0 25px var(--primary-neon-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-item:nth-child(odd) { align-self: flex-start; transform: translateX(-50px); }
.service-item:nth-child(even) { align-self: flex-end; transform: translateX(50px); }
.service-item.visible { opacity: 1; transform: translateX(0); visibility: visible; }

.service-item:hover {
    box-shadow: 0 0 40px var(--primary-neon-blue);
    transform: scale(1.03) !important;
}

.service-item h3 {
    color: var(--primary-neon-blue);
    font-size: 2rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.service-item p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* Contact Page */
#contact-page h2 {
    margin-bottom: 40px;
}

.contact-details {
    text-align: center;
    font-size: 1.5rem;
    line-height: 2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.contact-details .detail-item {
    color: var(--primary-neon-blue);
    text-shadow: 0 0 10px var(--primary-neon-blue);
}

/* Responsive Mobile UI */
@media (max-width: 768px) {
    .service-item {
        width: 90%;
        align-self: center !important;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .service-item h3 {
        font-size: 1.5rem;
    }

    /* Ensure text wraps on mobile */
    .service-item,
    .service-item h3,
    .service-item p,
    .contact-details {
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
}

/* Enhanced Payment Button */
.payment-button {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-color);
    background-image: linear-gradient(45deg, #04d9ff, #ff04e5);
    background-size: 200% auto;
    border: none;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(4, 217, 255, 0.5), 0 0 20px rgba(255, 4, 229, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.payment-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(4, 217, 255, 0.8), transparent 30%);
    animation: rotate 4s linear infinite;
}

.payment-button:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(4, 217, 255, 0.8), 0 0 30px rgba(255, 4, 229, 0.8);
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
