/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen / Opening Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1a2e 50%, #0f0c29 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
    visibility: visible;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
}

.loading-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: flyIn 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(-200px) scale(0.5) rotate(-45deg);
    filter: drop-shadow(0 20px 40px rgba(255, 255, 255, 0.3));
}

@keyframes flyIn {
    0% {
        opacity: 0;
        transform: translateY(-200px) translateX(-100px) scale(0.3) rotate(-45deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(20px) translateX(10px) scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    }
}

.loading-text {
    margin-top: 2rem;
}

.loading-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 1s forwards;
    opacity: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.loading {
    overflow: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1a2e 50%, #0f0c29 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 80px - 150px);
}

/* Space/Starfield Animation */
.space {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #0a0e27 0%, #1a1a2e 50%, #0f0c29 100%);
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

/* Small stars */
.star:nth-child(1),
.star:nth-child(2),
.star:nth-child(3),
.star:nth-child(4),
.star:nth-child(5) {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 4px white, 0 0 8px rgba(255, 255, 255, 0.8);
}

.star:nth-child(1) {
    left: 5%;
    top: 10%;
    animation-delay: 0s;
    animation-duration: 2s;
}

.star:nth-child(2) {
    left: 15%;
    top: 25%;
    animation-delay: 0.5s;
    animation-duration: 2.5s;
}

.star:nth-child(3) {
    left: 25%;
    top: 15%;
    animation-delay: 1s;
    animation-duration: 3s;
}

.star:nth-child(4) {
    left: 35%;
    top: 30%;
    animation-delay: 1.5s;
    animation-duration: 2.2s;
}

.star:nth-child(5) {
    left: 45%;
    top: 20%;
    animation-delay: 0.8s;
    animation-duration: 2.8s;
}

/* Medium stars */
.star:nth-child(6),
.star:nth-child(7),
.star:nth-child(8),
.star:nth-child(9),
.star:nth-child(10) {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 5px white, 0 0 10px rgba(255, 255, 255, 0.9);
}

.star:nth-child(6) {
    left: 55%;
    top: 35%;
    animation-delay: 0.3s;
    animation-duration: 3.2s;
}

.star:nth-child(7) {
    left: 65%;
    top: 25%;
    animation-delay: 1.2s;
    animation-duration: 2.6s;
}

.star:nth-child(8) {
    left: 75%;
    top: 40%;
    animation-delay: 0.7s;
    animation-duration: 2.9s;
}

.star:nth-child(9) {
    left: 85%;
    top: 30%;
    animation-delay: 1.8s;
    animation-duration: 3.1s;
}

.star:nth-child(10) {
    left: 95%;
    top: 18%;
    animation-delay: 0.4s;
    animation-duration: 2.4s;
}

/* More stars scattered */
.star:nth-child(11),
.star:nth-child(12),
.star:nth-child(13),
.star:nth-child(14),
.star:nth-child(15) {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 2px white, 0 0 4px rgba(255, 255, 255, 0.5);
}

.star:nth-child(11) {
    left: 10%;
    top: 50%;
    animation-delay: 1.1s;
    animation-duration: 2.7s;
}

.star:nth-child(12) {
    left: 30%;
    top: 55%;
    animation-delay: 0.6s;
    animation-duration: 3s;
}

.star:nth-child(13) {
    left: 50%;
    top: 60%;
    animation-delay: 1.4s;
    animation-duration: 2.5s;
}

.star:nth-child(14) {
    left: 70%;
    top: 65%;
    animation-delay: 0.9s;
    animation-duration: 2.8s;
}

.star:nth-child(15) {
    left: 90%;
    top: 70%;
    animation-delay: 1.6s;
    animation-duration: 3.3s;
}

/* Additional stars for depth */
.star:nth-child(16),
.star:nth-child(17),
.star:nth-child(18),
.star:nth-child(19),
.star:nth-child(20) {
    width: 1.5px;
    height: 1.5px;
    box-shadow: 0 0 1px white, 0 0 3px rgba(255, 255, 255, 0.4);
    opacity: 0.7;
}

.star:nth-child(16) {
    left: 20%;
    top: 45%;
    animation-delay: 2s;
    animation-duration: 3.5s;
}

.star:nth-child(17) {
    left: 40%;
    top: 50%;
    animation-delay: 0.2s;
    animation-duration: 2.3s;
}

.star:nth-child(18) {
    left: 60%;
    top: 45%;
    animation-delay: 1.3s;
    animation-duration: 2.9s;
}

.star:nth-child(19) {
    left: 80%;
    top: 55%;
    animation-delay: 0.5s;
    animation-duration: 3.1s;
}

.star:nth-child(20) {
    left: 12%;
    top: 65%;
    animation-delay: 1.7s;
    animation-duration: 2.6s;
}

/* Extra stars (21-30) */
.star:nth-child(21),
.star:nth-child(22),
.star:nth-child(23),
.star:nth-child(24),
.star:nth-child(25) {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 2px white, 0 0 4px rgba(255, 255, 255, 0.5);
}

.star:nth-child(21) {
    left: 8%;
    top: 75%;
    animation-delay: 0.3s;
    animation-duration: 2.9s;
}

.star:nth-child(22) {
    left: 22%;
    top: 80%;
    animation-delay: 1.1s;
    animation-duration: 3.2s;
}

.star:nth-child(23) {
    left: 42%;
    top: 75%;
    animation-delay: 0.7s;
    animation-duration: 2.4s;
}

.star:nth-child(24) {
    left: 62%;
    top: 80%;
    animation-delay: 1.5s;
    animation-duration: 3.1s;
}

.star:nth-child(25) {
    left: 82%;
    top: 75%;
    animation-delay: 0.9s;
    animation-duration: 2.7s;
}

.star:nth-child(26),
.star:nth-child(27),
.star:nth-child(28),
.star:nth-child(29),
.star:nth-child(30) {
    width: 1.5px;
    height: 1.5px;
    box-shadow: 0 0 1px white, 0 0 3px rgba(255, 255, 255, 0.4);
    opacity: 0.6;
}

.star:nth-child(26) {
    left: 18%;
    top: 85%;
    animation-delay: 1.3s;
    animation-duration: 3.4s;
}

.star:nth-child(27) {
    left: 38%;
    top: 90%;
    animation-delay: 0.5s;
    animation-duration: 2.8s;
}

.star:nth-child(28) {
    left: 58%;
    top: 85%;
    animation-delay: 1.8s;
    animation-duration: 3s;
}

.star:nth-child(29) {
    left: 78%;
    top: 90%;
    animation-delay: 0.4s;
    animation-duration: 2.5s;
}

.star:nth-child(30) {
    left: 92%;
    top: 85%;
    animation-delay: 1.2s;
    animation-duration: 3.3s;
}

/* Twinkling animation */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Shooting stars animation */
@keyframes shoot {
    0% {
        transform: translateY(-100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(300px);
        opacity: 0;
    }
}

.shooting-star {
    position: fixed;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, white, transparent);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.shooting-star:nth-child(1) {
    left: 10%;
    animation: shoot 3s infinite;
    animation-delay: 0s;
}

.shooting-star:nth-child(2) {
    left: 30%;
    animation: shoot 4s infinite;
    animation-delay: 1s;
}

.shooting-star:nth-child(3) {
    left: 50%;
    animation: shoot 3.5s infinite;
    animation-delay: 2s;
}

.shooting-star:nth-child(4) {
    left: 70%;
    animation: shoot 4.5s infinite;
    animation-delay: 0.5s;
}

.shooting-star:nth-child(5) {
    left: 90%;
    animation: shoot 3.8s infinite;
    animation-delay: 1.5s;
}

/* Navigation Menu */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    gap: 1rem;
}

.nav-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}

.nav-right {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-section:hover {
    transform: translateX(5px);
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.company-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding: 0;
    font-weight: 400;
}



.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.nav-link:nth-child(1):hover {
    color: #667eea;
}

.nav-link:nth-child(2):hover {
    color: #f093fb;
}

.nav-link:nth-child(3):hover {
    color: #4facfe;
}

.nav-link:nth-child(4):hover {
    color: #43e97b;
}

.nav-link:nth-child(5):hover {
    color: #fa709a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.content-wrapper {
    max-width: 1400px;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    overflow: visible;
    background: transparent;
}

/* Text Content */
.text-content {
    flex: 1;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slogan-container {
    position: relative;
    min-height: 150px;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.cta-button {
    display: inline-block;
    background: #dc2626;
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    margin-top: 1rem;
}

.cta-desktop {
    margin-top: 3.5rem;
}

.cta-button:hover {
    background: #b91c1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.cta-mobile {
    display: none;
}

.cta-desktop {
    display: inline-block;
    margin-top: 3.5rem;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 auto;
    line-height: 1.1;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    opacity: 0;
    visibility: hidden;
    display: none;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    text-align: center;
    padding: 0 1rem;
    box-sizing: border-box;
}

.main-title.active {
    opacity: 1;
    visibility: visible;
    display: block;
    position: absolute;
    color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
}


/* Image Container */
.image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.image-container img {
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.2));
    max-height: 600px;
}

.animated-image {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

/* Animation for Image - Floating Effect */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(2deg);
    }
    50% {
        transform: translate(-10px, -20px) rotate(-2deg);
    }
    75% {
        transform: translate(-15px, -10px) rotate(1deg);
    }
}

/* Footer */
.footer {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 1rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.footer p {
    font-size: 0.85rem;
    margin: 1rem 0 0 0;
    padding: 0;
    word-wrap: break-word;
    line-height: 1.5;
    max-width: 100%;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
}

.social-link {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 11;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link svg {
    width: 26px;
    height: 26px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-wrapper {
        flex-direction: column;
        padding: 2rem 2rem;
        gap: 2rem;
    }
    
    .main-content {
        min-height: calc(100vh - 80px - 120px);
    }
    
    .cta-mobile {
        display: inline-block;
        margin-top: 2rem;
    }
    
    .cta-desktop {
        display: none;
    }
    
    .image-container {
        margin-top: 0;
    }
    
    .slogan-container {
        min-height: 100px;
        width: 100%;
        text-align: center;
    }
    
    .main-title {
        font-size: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        padding: 0 1rem;
    }
    
    .main-title.active {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-container {
        flex-wrap: wrap;
        padding: 0 1rem;
    }
    
    .logo-section {
        gap: 0.75rem;
    }
    
    .company-name {
        font-size: 1.1rem;
    }
    
    .company-tagline {
        font-size: 0.75rem;
    }
    
    .nav-logo {
        height: 40px;
    }
    
    .nav-container {
        grid-template-columns: 1fr auto 1fr;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .nav-left {
        justify-content: flex-end;
        padding-right: 0.5rem;
    }
    
    .nav-right {
        justify-content: flex-start;
        padding-left: 0.5rem;
    }
    
    .logo-section {
        gap: 0.5rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .company-tagline {
        font-size: 0.7rem;
    }
    
    .nav-logo {
        height: 35px;
    }
}

@media (max-width: 640px) {
    .slogan-container {
        min-height: 100px;
        width: 100%;
        text-align: center;
    }
    
    .main-title {
        font-size: 2.5rem;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        padding: 0 1rem;
    }
    
    .main-title.active {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .nav-logo {
        height: 35px;
    }
    
    .nav-container {
        grid-template-columns: 1fr auto 1fr;
        gap: 0.3rem;
        padding: 0 0.5rem;
    }
    
    .nav-left {
        padding-right: 0.3rem;
        justify-content: flex-end;
    }
    
    .nav-right {
        padding-left: 0.3rem;
        justify-content: flex-start;
    }
    
    .logo-section {
        gap: 0.4rem;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    .company-name {
        font-size: 0.85rem;
    }
    
    .company-tagline {
        font-size: 0.6rem;
    }
    
    .star {
        width: 1.5px;
        height: 1.5px;
    }
    
    .footer {
        padding: 1rem 0.75rem;
        margin-top: 0.5rem;
    }
    
    .footer p {
        font-size: 0.75rem;
        margin: 0.75rem 0 0 0;
    }
    
    .main-content {
        min-height: calc(100vh - 80px - 100px);
    }
    
    .content-wrapper {
        padding: 1.5rem 1.5rem;
    }
}

