* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d4e6f1 0%, #b8d9e8 25%, #a8d5c8 50%, #b8c9e8 75%, #c5d5e6 100%);
    background-attachment: fixed;
    min-height: 100vh;
}


/* Navbar */

navbar-custom {
    background: rgba(15, 12, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    position: sticky;
    top: 0;
    z-index: 9998;
    width: 100%;
}

.navbar-custom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.navbar-custom .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-custom .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.navbar-custom .navbar-brand:hover .logo-icon {
    transform: scale(1.05);
}

.navbar-custom .brand-text {
    background: linear-gradient(135deg, #0edd0b, #08d913, #52ea07);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

.navbar-custom .brand-tagline {
    font-size: 0.55rem;
    color: #a78bfa;
    opacity: 0.7;
    display: block;
    margin-top: -2px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.navbar-custom .nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.navbar-custom .nav-links a {
    color: #c4b5fd;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.navbar-custom .nav-links a:hover {
    color: #ffffff;
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.navbar-custom .nav-links a.active {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.15));
    color: #ffffff;
}

.navbar-custom .nav-links a .icon {
    margin-right: 6px;
}


/* Dropdown */

.navbar-custom .dropdown {
    position: relative;
    display: inline-block;
}

.navbar-custom .dropdown-btn {
    color: #c4b5fd;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-custom .dropdown-btn:hover {
    color: #ffffff;
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-2px);
}

.navbar-custom .dropdown-content {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 200px;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 0.5rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
    animation: dropdownAnim 0.3s ease;
}

@keyframes dropdownAnim {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-custom .dropdown:hover .dropdown-content {
    display: block;
}

.navbar-custom .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1rem;
    color: #c4b5fd;
    text-decoration: none;
    border-radius: 0.6rem;
    transition: 0.2s;
    font-size: 0.85rem;
}

.navbar-custom .dropdown-content a:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .navbar-custom .container {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }
    .navbar-custom .navbar-brand {
        gap: 10px;
    }
    .navbar-custom .logo-icon {
        width: 40px;
        height: 40px;
    }
    .navbar-custom .brand-text {
        font-size: 1.3rem;
    }
    .navbar-custom .nav-links {
        justify-content: center;
        width: 100%;
    }
}
/* Hero Section */

.contact-hero {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: 30px;
    padding: 60px 40px;
    margin-bottom: 50px;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}


/* Contact Cards */

.info-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #2563eb;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-card i {
    font-size: 3rem;
    background: linear-gradient(135deg, #2563eb, #059669);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.info-card h4 {
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-card p {
    color: #64748b;
    margin-bottom: 5px;
}


/* Contact Form */

.contact-form-container {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 8px;
    display: block;
}

.form-control-custom {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control-custom:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control-custom.invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
}

textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
}

.error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 5px;
    display: none;
}

.btn-submit {
    background: linear-gradient(90deg, #2563eb, #059669);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}


/* Map Section */

.map-container {
    background: white;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.map-placeholder {
    background: linear-gradient(135deg, #e0f2fe, #d1fae5);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
}

.map-placeholder i {
    font-size: 4rem;
    color: #2563eb;
    margin-bottom: 15px;
}


/* FAQ Section */

.faq-section {
    margin-top: 50px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid #2563eb;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #1e3a5f;
}

.faq-answer {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

.faq-item.active .faq-answer {
    display: block;
}

footer {
    background: linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #cbd5e1;
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    .contact-form-container {
        padding: 25px;
    }
    .info-card {
        margin-bottom: 20px;
    }
}

.chat-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .8rem
}

.chat-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border: none;
    box-shadow: 0 8px 32px rgba(140, 80, 220, .5);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseGlow 2s infinite alternate;
    position: relative
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 8px 32px rgba(140, 80, 220, .4)
    }
    100% {
        box-shadow: 0 12px 48px rgba(140, 80, 220, .7)
    }
}

.chat-toggle:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 12px 48px rgba(140, 80, 220, .7)
}

.chat-toggle .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 30px
}

.chat-window {
    background: rgba(30, 12, 50, .92);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    width: 400px;
    max-width: 92vw;
    height: 540px;
    max-height: 80vh;
    display: none;
    flex-direction: column;
    border: 1px solid rgba(160, 100, 200, .15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .6);
    overflow: hidden;
    animation: slideUp .4s cubic-bezier(.34, 1.56, .64, 1)
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(.95)
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.chat-window.open {
    display: flex
}

.chat-header {
    padding: 1rem 1.5rem;
    background: rgba(40, 18, 60, .5);
    border-bottom: 1px solid rgba(160, 100, 200, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0
}

.chat-header h3 {
    color: #f0e6ff;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px
}

.chat-header h3 .online-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite
}

@keyframes blink {
    0%,
    100% {
        opacity: 1
    }
    50% {
        opacity: .3
    }
}

.chat-close {
    background: 0 0;
    border: none;
    color: #8a6e9e;
    font-size: 1.4rem;
    cursor: pointer;
    transition: .2s
}

.chat-close:hover {
    color: #fff;
    transform: rotate(90deg)
}

.chat-messages {
    flex: 1;
    padding: 1.2rem 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: .8rem
}

.chat-messages::-webkit-scrollbar {
    width: 4px
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(160, 100, 200, .05);
    border-radius: 10px
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(160, 100, 200, .3);
    border-radius: 10px
}

.chat-messages .msg {
    max-width: 88%;
    padding: .8rem 1.2rem;
    border-radius: 1.2rem;
    font-size: .92rem;
    line-height: 1.6;
    animation: msgIn .3s ease;
    white-space: pre-wrap;
    word-wrap: break-word
}

@keyframes msgIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(.95)
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.chat-messages .msg.bot {
    background: rgba(160, 100, 200, .15);
    color: #dcc8ee;
    align-self: flex-start;
    border-bottom-left-radius: 4px
}

.chat-messages .msg.user {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px
}

.chat-messages .msg.system {
    background: rgba(251, 191, 36, .1);
    color: #fef3c7;
    align-self: center;
    text-align: center;
    font-size: .82rem;
    border: 1px solid rgba(251, 191, 36, .15);
    border-radius: 2rem;
    padding: .5rem 1.2rem;
    max-width: 95%
}

.chat-footer {
    padding: .8rem 1.2rem 1.2rem;
    border-top: 1px solid rgba(160, 100, 200, .1);
    display: flex;
    gap: .6rem;
    flex-shrink: 0;
    flex-wrap: wrap
}

.chat-footer input {
    flex: 1;
    padding: .7rem 1.2rem;
    border-radius: 40px;
    border: 1px solid rgba(160, 100, 200, .15);
    background: rgba(40, 18, 60, .4);
    color: #f0e6ff;
    font-size: .95rem;
    outline: 0;
    min-width: 120px
}

.chat-footer input::placeholder {
    color: rgba(200, 170, 220, .4)
}

.chat-footer input:focus {
    border-color: #b07ad9;
    box-shadow: 0 0 0 4px rgba(160, 100, 200, .08)
}

.chat-footer .send-btn {
    padding: .7rem 1.5rem;
    border-radius: 40px;
    border: none;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: .3s
}

.chat-footer .send-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(140, 80, 220, .4)
}

.chat-footer .send-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none
}

.auth-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
    flex: 1;
    text-align: center
}

.auth-overlay.show {
    display: flex
}

.auth-overlay .auth-icon {
    font-size: 3rem;
    margin-bottom: .2rem
}

.auth-overlay h4 {
    color: #f0e6ff;
    font-size: 1.2rem
}

.auth-overlay p {
    color: #8a6e9e;
    font-size: .95rem;
    max-width: 280px
}

.auth-btns {
    display: flex;
    gap: .8rem;
    margin-top: .5rem;
    flex-wrap: wrap;
    justify-content: center
}

.auth-btns button {
    padding: .6rem 1.8rem;
    border-radius: 60px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: .3s
}

.auth-btns .login-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: #fff
}

.auth-btns .login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(140, 80, 220, .4)
}

.auth-btns .register-btn {
    background: rgba(160, 100, 200, .15);
    color: #dcc8ee;
    border: 1px solid rgba(160, 100, 200, .15)
}

.auth-btns .register-btn:hover {
    background: rgba(160, 100, 200, .25);
    transform: scale(1.05)
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .4rem 1.2rem .8rem;
    border-top: 1px solid rgba(160, 100, 200, .05);
    justify-content: center
}

.quick-replies button {
    background: rgba(160, 100, 200, .1);
    border: 1px solid rgba(160, 100, 200, .12);
    color: #c9b0e0;
    padding: .3rem .8rem;
    border-radius: 30px;
    font-size: .7rem;
    cursor: pointer;
    transition: .2s
}

.quick-replies button:hover {
    background: rgba(160, 100, 200, .2);
    border-color: #b07ad9;
    color: #fff
}

@media(max-width:700px) {
    .chat-window {
        width: 95vw;
        height: 70vh
    }
    .chat-float {
        bottom: 1rem;
        right: 1rem
    }
    .chat-toggle {
        width: 60px;
        height: 60px;
        font-size: 1.6rem
    }
}

@media(max-width:480px) {
    .chat-footer {
        flex-direction: column
    }
    .chat-footer .send-btn {
        width: 100%;
        justify-content: center
    }
    .auth-btns {
        flex-direction: column;
        width: 100%
    }
    .auth-btns button {
        width: 100%
    }
}