/* Lunar Theme Homepage Design */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1e1e1e 100%);
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Lunar Navbar */
.navbar {
    background: rgba(26, 26, 26, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-20px);
    animation: navbarSlideIn 1s ease forwards;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    opacity: 0;
    transform: translateX(-20px);
    animation: brandSlideIn 1.2s ease forwards;
    animation-delay: 0.3s;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(20px);
    animation: navLinkSlideIn 1s ease forwards;
}

.nav-link:nth-child(1) {
    animation-delay: 0.5s;
}

.nav-link:nth-child(2) {
    animation-delay: 0.7s;
}

.nav-link:hover {
    color: #cccccc !important;
    transform: translateY(-1px) scale(1.05);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero-section {
    background: transparent;
    color: white;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Topography Lines */
.topography-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    height: 2px;
    opacity: 0;
    animation: topographyFlow 8s ease-in-out infinite;
}

.line-1 {
    top: 20%;
    left: -100%;
    width: 60%;
    animation-delay: 0s;
}

.line-2 {
    top: 35%;
    right: -100%;
    width: 45%;
    animation-delay: 1.5s;
}

.line-3 {
    top: 55%;
    left: -100%;
    width: 70%;
    animation-delay: 3s;
}

.line-4 {
    top: 75%;
    right: -100%;
    width: 50%;
    animation-delay: 4.5s;
}

.line-5 {
    top: 90%;
    left: -100%;
    width: 40%;
    animation-delay: 6s;
}


.hero-section h1 {
    font-weight: 800;
    font-size: 4rem;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(50px);
    animation: titleSlideIn 1.5s ease forwards;
}

.service-name {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.service-description {
    opacity: 0;
    transform: translateX(-30px);
    animation: descriptionSlideIn 1.8s ease forwards;
    animation-delay: 0.5s;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #cccccc;
    line-height: 1.6;
    font-weight: 300;
}

.hero-content {
    padding-right: 40px;
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: buttonSlideIn 1.2s ease forwards;
    animation-delay: 1s;
}

.hero-content .btn:nth-child(2) {
    animation-delay: 1.2s;
}

/* Lunar Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 0;
    padding: 20px;
}

.feature-card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.3);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    animation: cardFlyIn 1.2s ease forwards;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: #f8f8f8;
    box-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.4);
    border-color: #e0e0e0;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #000000;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: #333333;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
}

.feature-card:nth-child(1) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.5s;
}

/* Lunar Cards Section */
.card {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 25px;
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    color: #000000;
    padding: 50px 40px;
}

.card:hover {
    transform: translateY(-10px);
    background: #f8f8f8;
    box-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.4);
    border-color: #e0e0e0;
}

.card-title {
    color: #000000;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.card-text {
    color: #333333;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Lunar Buttons */
.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #f0f0f0;
    color: #000000;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-secondary {
    border: 2px solid #ffffff;
    border-radius: 12px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #cccccc;
    padding: 40px 0;
    margin-top: 80px;
}

/* Lunar Decorative Rectangles */
.decorative-rect {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    opacity: 0;
    animation: lunarFadeIn 2s ease forwards, floatAnimation 6s ease-in-out infinite;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.decorative-rect.corner-top-left {
    width: 200px;
    height: 140px;
    top: -40px;
    left: -30px;
    animation-delay: 0.5s;
}

.decorative-rect.corner-top-right {
    width: 180px;
    height: 120px;
    top: -30px;
    right: -20px;
    animation-delay: 1s;
}


@keyframes lunarFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.7) rotate(-10deg) translateX(-20px) translateY(-20px);
    }
    100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg) translateX(0) translateY(0);
    }
}

@keyframes cardFlyIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

@keyframes descriptionSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Detailed Information Section */
.detailed-info-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #0f0f0f 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background Animation for Info Section */
.bg-animation-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.line-info-1 {
    top: 10%;
    left: -100%;
    width: 50%;
    animation-delay: 0s;
}

.line-info-2 {
    top: 50%;
    right: -100%;
    width: 60%;
    animation-delay: 2s;
}

.line-info-3 {
    top: 80%;
    left: -100%;
    width: 40%;
    animation-delay: 4s;
}


.info-content {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: infoSectionSlideIn 1.5s ease forwards;
    animation-delay: 0.5s;
}

.info-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: infoTitleSlideIn 1.2s ease forwards;
    animation-delay: 1s;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: infoCardSlideIn 1s ease forwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-card:nth-child(1) { animation-delay: 1.2s; }
.info-card:nth-child(2) { animation-delay: 1.4s; }
.info-card:nth-child(3) { animation-delay: 1.6s; }
.info-card:nth-child(4) { animation-delay: 1.8s; }

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

.info-card p {
    color: #cccccc;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

@keyframes infoSectionSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes infoTitleSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes infoCardSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes navbarSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes brandSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes navLinkSlideIn {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

@keyframes topographyFlow {
    0% {
        opacity: 0;
        transform: translateX(0);
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100vw);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .hero-section {
        padding: 80px 0;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .decorative-rect {
        display: none;
    }
    
    .card {
        padding: 40px 30px;
    }
    
    .feature-card {
        padding: 40px 30px;
        min-height: 150px;
    }
}
