@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pixelify Sans', cursive;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cat-icon {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    margin-bottom: 30px;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    margin-bottom: 20px;
}

.buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #ffffff;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.login-btn {
    padding: 10px 25px;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 5px;
    font-family: 'Pixelify Sans', cursive;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.login-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

/* Profile Dropdown Styles - Global */
.profile-dropdown {
    position: relative;
    z-index: 1000;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.profile-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-username {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-arrow {
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.profile-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(5, 5, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.profile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    cursor: pointer;
}

.profile-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.profile-menu-item svg {
    flex-shrink: 0;
    color: rgba(139, 92, 246, 0.8);
}

.profile-menu-item:last-child {
    color: rgba(239, 68, 68, 0.8);
}

.profile-menu-item:last-child:hover {
    background: rgba(239, 68, 68, 0.1);
    color: rgba(239, 68, 68, 1);
}

.profile-menu-item:last-child svg {
    color: rgba(239, 68, 68, 0.8);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.closing {
    animation: fadeOut 0.3s ease;
}

.modal-content {
    background: rgba(10, 10, 10, 0.95);
    margin: 10% auto;
    padding: 50px 40px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.4s ease;
}

.modal.closing .modal-content {
    animation: slideUp 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.close {
    color: #ffffff;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 35px;
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Pixelify Sans', cursive;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-family: 'Pixelify Sans', cursive;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.submit-btn:active {
    transform: scale(0.98);
}

.error-msg {
    color: #ff5555;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .cat-icon {
        width: 200px;
        height: 200px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .modal-content {
        margin: 15% auto;
        padding: 40px 25px;
        max-width: 90%;
    }

    .modal-content h2 {
        font-size: 1.8rem;
    }

    .form-group input {
        padding: 12px 15px;
    }

    .submit-btn {
        padding: 12px;
    }
}

/* Global Coverage Section */
.global-section {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.global-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.global-text {
    text-align: left;
}

.global-pretitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.global-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.global-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 500px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.globe-container {
    position: relative;
    min-height: 500px;
    width: 100%;
    cursor: grab;
}

.globe-container:active {
    cursor: grabbing;
}

/* Globe SVG Styles */
.globe-path {
    fill: rgba(255, 255, 255, 0.1);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 0.5px;
    transition: fill 0.3s ease;
}

.globe-water {
    fill: rgba(0, 0, 0, 0.3);
}

.pin-group .marker-pin {
    fill: #ffffff;
    stroke: rgba(0, 0, 0, 0.5);
    stroke-width: 1.5px;
    transition: fill 0.2s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.pin-group:hover .marker-pin {
    fill: rgba(255, 255, 255, 1);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
}

.pin-group .marker-label {
    fill: #ffffff;
    font-family: 'Pixelify Sans', cursive;
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.globe-tooltip {
    position: fixed;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    font-family: 'Pixelify Sans', cursive;
    min-width: 220px;
}

.globe-tooltip strong {
    color: #ffffff;
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.globe-tooltip div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.globe-tooltip div svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
    stroke: currentColor;
}

/* Responsive */
@media (max-width: 992px) {
    .global-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .global-text {
        text-align: center;
    }

    .global-title {
        font-size: 2rem;
    }

    .global-description {
        margin: 0 auto;
    }

    .globe-container {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .global-section {
        margin: 60px auto;
        padding: 0 20px;
    }

    .global-title {
        font-size: 1.8rem;
    }

    .global-description {
        font-size: 1rem;
    }

    .globe-container {
        min-height: 350px;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 100px auto;
    padding: 0 40px 100px 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-choose-us.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    margin-bottom: 60px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding: 40px 40px 30px 40px;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .why-choose-us {
        padding: 0 20px 80px 20px;
        margin: 60px auto;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 30px 20px 20px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

/* Custom Scrollbar - Grey */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6b7280 0%, #4b5563 100%);
    border-radius: 10px;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9ca3af 0%, #6b7280 100%);
    box-shadow: 0 0 10px rgba(107, 114, 128, 0.5);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #6b7280 rgba(0, 0, 0, 0.3);
}
