﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-margin-top: 90px;
}

html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

header {
    background: #880000;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: top 0.4s ease-in-out;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}



.logo {
    font-size: 1.6rem;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-left: 0;
    flex-shrink: 0;
}


    .logo a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: white;
    }




.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow: visible;
    white-space: nowrap;
    justify-content: flex-start;
    margin-left: 0.5rem;
}

    .nav-links a {
        display: inline-flex;
        align-items: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 0.9rem;
        white-space: nowrap;
        position: relative;
        background: none !important;
    }


        .nav-links a:hover:not(.active) {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }


        .nav-links a::before,
        .nav-links a::after {
            content: none !important;
            background: none !important;
        }


        .nav-links a.active {
            color: #ffd700 !important;
            border: 2px solid #caa035;
            background: transparent !important;
            border-radius: 50px;
            padding: 0.6rem 1.2rem;
            font-weight: 600;
            box-shadow: 0 0 10px rgba(202, 160, 53, 0.6);
            transition: all 0.3s ease;
            position: relative;
            z-index: 2;
        }


            .nav-links a.active:hover {
                background: rgba(202, 160, 53, 0.1);
                transform: scale(1.05);
                box-shadow: 0 0 15px rgba(202, 160, 53, 0.8);
            }

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(202,160,53,0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(202,160,53,0.9);
    }
}

.nav-links a.active {
    animation: goldPulse 3s infinite ease-in-out;
}





.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}


.contact-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    text-align: center;
    font-size: 3rem;
    color: #8b0000;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.page-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

    .contact-info::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(45deg, #daa520, #ffd700);
    }

    .contact-info h2 {
        font-size: 2rem;
        color: #8b0000;
        margin-bottom: 2rem;
        text-align: center;
    }

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    #preloader img {
        width: 200px;
        height: auto;
    }

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, #880000, #caa035);
    z-index: 10000;
    transition: width 0.2s ease-out;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(178, 34, 34, 0.05) 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

    .contact-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

.contact-icon {
    font-size: 2rem;
    color: #daa520;
    min-width: 50px;
    text-align: center;
}

.contact-details h3 {
    font-size: 1.2rem;
    color: #8b0000;
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.contact-details a {
    color: #daa520;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .contact-details a:hover {
        color: #8b0000;
    }

.map-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

    .map-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(45deg, #daa520, #ffd700);
    }

    .map-container h2 {
        font-size: 2rem;
        color: #8b0000;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.map-frame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}


.full-map-section {
    background: white;
    padding: 4rem 0;
    margin-top: 2rem;
}

.full-map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.full-map-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 2rem;
}

.full-map-frame {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    margin-top: 0.3rem;
    animation: fadeInUp 1s ease 0.6s both;
}

    .breadcrumb a {
        color: #666;
        text-decoration: none;
        font-weight: 500;
    }

        .breadcrumb a:hover {
            color: #666;
        }

    .breadcrumb i {
        color: #666;
        margin: 0 8px;
    }

    .breadcrumb span {
        color: #666;
        font-weight: 600;
    }


.cta-section {
    background: #caa035;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #8b0000, #a50000);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin: 0 10px;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(218, 165, 32, 0.6);
    }

    .cta-button.secondary {
        background: linear-gradient(45deg, #f1c40f, #f39c12);
        color: white;
        box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
    }

        .cta-button.secondary:hover {
            background: rgba(255,255,255,0.3);
        }


footer {
    background: #8b0000;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding: 25px 15px;
    background: #8b1c10;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.4px;
    color: #f1f1f1;
}


.footer-tagline {
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 8px;
    color: #ffd7a0;
}


.footer-text span {
    font-weight: 600;
    color: #ffffff;
}



.footer-text a {
    color: gold;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .footer-text a:hover {
        color: #ffd700;
        text-decoration: underline;
    }


.chat-container {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    max-height: 500px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.3);
    animation: fadeUp 0.4s ease;
    z-index: 99999999;
}

    .chat-container.show {
        display: flex;
    }

/* Smooth open animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== HEADER ===== */

.chat-header {
    background: linear-gradient(135deg, #7a0000, #a40000);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.contact-icons a {
    color: #ffd700;
    margin-right: 15px;
    font-size: 18px;
    transition: 0.3s ease;
}

    .contact-icons a:hover {
        transform: scale(1.2);
        color: white;
    }

/* ===== MESSAGES AREA ===== */

.chat-messages {
    padding: 18px;
    height: 300px;
    overflow-y: auto;
    font-size: 14px;
    scroll-behavior: smooth;
}

    /* Custom Scrollbar */
    .chat-messages::-webkit-scrollbar {
        width: 6px;
    }

    .chat-messages::-webkit-scrollbar-thumb {
        background: linear-gradient(#caa035, #880000);
        border-radius: 10px;
    }

/* ===== BOT MESSAGE ===== */

.bot-message {
    background: linear-gradient(145deg, #ffffff, #f1f1f1);
    color: #2b2b2b; /* Dark readable text */
    padding: 14px 18px;
    border-radius: 18px 18px 18px 6px;
    margin-bottom: 12px;
    max-width: 85%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    font-weight: 500;
    line-height: 1.6;
}

/* ===== USER MESSAGE ===== */

.user-message {
    background: linear-gradient(135deg, #caa035, #e6b325);
    color: white;
    padding: 12px 16px;
    border-radius: 18px 18px 6px 18px;
    margin-bottom: 12px;
    margin-left: auto;
    max-width: 80%;
    box-shadow: 0 5px 15px rgba(202,160,53,0.4);
    animation: messageFade 0.3s ease;
}

@keyframes messageFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== INPUT SECTION ===== */

.chat-input {
    display: flex;
    padding: 12px;
    background: white;
    border-top: 1px solid #eee;
}

    .chat-input input {
        flex: 1;
        padding: 12px 14px;
        border-radius: 30px;
        border: 1px solid #ddd;
        outline: none;
        transition: 0.3s;
    }

        .chat-input input:focus {
            border-color: #caa035;
            box-shadow: 0 0 0 3px rgba(202,160,53,0.2);
        }

    .chat-input button {
        margin-left: 10px;
        background: linear-gradient(135deg, #880000, #a40000);
        color: white;
        border: none;
        padding: 12px 20px;
        border-radius: 30px;
        cursor: pointer;
        transition: 0.3s ease;
    }

        .chat-input button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(136,0,0,0.3);
        }

/* ===== FLOATING BUTTON ===== */

.chat-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #caa035, #ffd700);
    color: #880000;
    border: none;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(202,160,53,0.5);
    transition: 0.3s ease;
    z-index: 100000;
}

    .chat-toggle:hover {
        transform: scale(1.1) rotate(8deg);
        box-shadow: 0 15px 40px rgba(202,160,53,0.6);
    }

.back-to-top {
    position: fixed;
    left: 30px;
    top: -80px;
    width: 50px;
    height: 50px;
    background-color: #b30000;
    color: #ffd700;
    border: 1px solid #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    z-index: 999;
    transition: top 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

    .back-to-top.show {
        top: calc(100vh - 80px);
    }


    .back-to-top:hover {
        background-color: transparent;
        color: var(--primary);
        transform: translateY(-5px);
    }


.mobile-nav-header,
.close-menu {
    display: none;
}

.brand span {
    display: none;
}

.menu-toggle {
    width: 34px;
    height: 26px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    position: relative;
}

    .menu-toggle span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: #ffd700;
        border-radius: 3px;
        transition: all 0.35s cubic-bezier(0.77, 0, 0.18, 1);
    }

        .menu-toggle span:nth-child(1) {
            top: 0;
        }

        .menu-toggle span:nth-child(2) {
            top: 11px;
            width: 70%;
        }

        .menu-toggle span:nth-child(3) {
            bottom: 0;
        }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg);
        top: 11px;
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 11px;
    }


@media (max-width: 1024px) {
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 12px;
    }

        .brand img {
            height: 48px;
            border-radius: 50%;
        }

        .brand span {
            display: inline-block;
            font-size: 1.4rem;
            font-weight: 600;
            color: #fff;
            letter-spacing: 0.5px;
        }

    nav {
        padding: 0 1rem;
        justify-content: space-between;
    }

    .logo {
        margin-left: 0;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

        .logo img {
            height: 35px;
            margin-right: 8px;
        }

    .nav-links {
        gap: 0.1rem;
        overflow-x: auto !important;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.5rem;
    }

        .nav-links::-webkit-scrollbar {
            display: none;
        }

        .nav-links a {
            padding: 0.4rem 0.8rem;
            font-size: 0.85rem;
            flex-shrink: 0;
        }
}

@media (max-width: 992px) {

    .chat-container {
        width: 330px;
        right: 20px;
        bottom: 95px;
        max-height: 480px;
    }

    .chat-messages {
        height: 260px;
    }

    .chat-toggle {
        width: 60px;
        height: 60px;
        font-size: 22px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1101;
    }

    body.menu-open {
        overflow: hidden;
    }

    .menu-toggle {
        display: block;
        z-index: 1100;
    }


    .nav-links {
        position: fixed;
        top: 0;
        left: -120%;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(160deg, #8b0000, #5c0000);
        flex-direction: column;
        padding: 2.5rem 2rem;
        transition: left 0.45s cubic-bezier(0.77, 0, 0.18, 1);
        z-index: 1050;
    }


        .nav-links.active {
            left: 0;
        }


    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 3rem;
    }

        .mobile-nav-header img {
            height: 50px;
            border-radius: 50%;
        }

    .close-menu {
        background: none;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
    }


    .nav-links li {
        list-style: none;
        margin-bottom: 1.4rem;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideFade 0.5s ease forwards;
        margin-top: -5px;
    }


    .nav-links.active li:nth-child(2) {
        animation-delay: 0.1s;
    }

    .nav-links.active li:nth-child(3) {
        animation-delay: 0.15s;
    }

    .nav-links.active li:nth-child(4) {
        animation-delay: 0.2s;
    }

    .nav-links.active li:nth-child(5) {
        animation-delay: 0.25s;
    }

    .nav-links.active li:nth-child(6) {
        animation-delay: 0.3s;
    }

    .nav-links.active li:nth-child(7) {
        animation-delay: 0.35s;
    }

    .nav-links.active li:nth-child(8) {
        animation-delay: 0.4s;
    }

    .nav-links.active li:nth-child(9) {
        animation-delay: 0.45s;
    }

    .nav-links a {
        font-size: 1.25rem;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        letter-spacing: 0.5px;
        display: inline-block;
        position: relative;
    }


        .nav-links a::after {
            content: "";
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0%;
            height: 2px;
            background: gold;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }



    @keyframes slideFade {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info, .map-container {
        padding: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .full-map-frame {
        height: 300px;
    }

    .chat-container {
        width: 94%;
        right: 3%;
        bottom: 85px;
        max-height: 80vh;
        border-radius: 18px;
    }

    .chat-header {
        padding: 14px;
    }

    .contact-icons a {
        font-size: 16px;
        margin-right: 12px;
    }

    .chat-messages {
        height: 55vh;
        padding: 16px;
        font-size: 14px;
    }

    .chat-input input {
        font-size: 14px;
    }

    .chat-input button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .chat-toggle {
        width: 55px;
        height: 55px;
        font-size: 20px;
        bottom: 18px;
        right: 18px;
    }
}

@media (max-width: 600px) {
    #preloader img {
        width: 100px;
    }

    .contact-widget {
        bottom: 15px;
        right: 15px;
    }

    .contact-main-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }

    .contact-option {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 48px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info, .map-container {
    animation: fadeInUp 1s ease-out;
}

@media (max-width: 480px) {

    .chat-container {
        width: 96%;
        right: 2%;
        bottom: 75px;
        max-height: 85vh;
        border-radius: 16px;
    }

    .chat-messages {
        height: 58vh;
        padding: 14px;
        font-size: 13px;
    }

    .bot-message,
    .user-message {
        font-size: 13px;
        max-width: 92%;
    }

    .chat-input {
        padding: 10px;
    }

        .chat-input input {
            padding: 9px 12px;
            font-size: 13px;
        }

        .chat-input button {
            padding: 9px 14px;
            font-size: 13px;
        }

    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 18px;
        bottom: 15px;
        right: 15px;
    }

    /* Prevent overlap with back-to-top */
    .back-to-top {
        left: 15px;
    }
}
