﻿html {
    font-size: 14px;


    font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
}

}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
   
    font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
}



:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6600;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
}


body {
    overflow-x: hidden;
}


/* Navbar */
.navbar {
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    background-color: #0A1A2F;
    transition: all 0.3s ease;
}



    .navbar.scrolled {
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

.navbar-brand {
    padding: 15px 0;
}

    .navbar-brand img {
        height: 100px;
        width: auto;
    }

.navbar-toggler {
    border: none;
    padding: 10px;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 26, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
    padding: 15px 0;
}

    .navbar-nav .nav-link {
        color: #fff;
        font-weight: 600;
        margin: 0 15px;
        padding: 8px 0;
        position: relative;
        transition: all 0.3s;
    }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: var(--gradient-secondary);
            transition: width 0.3s;
        }

        .navbar-nav .nav-link:hover::after,
        .navbar-nav .nav-link.active::after {
            width: 100%;
        }

        .navbar-nav .nav-link:hover {
            color: var(--secondary-color) !important;
        }

.nav-cta {
    background: var(--gradient-secondary);
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    margin-left: 20px;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

    .nav-cta:hover {
        background: linear-gradient( to bottom right, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08) );
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
    }

    .nav-cta::after {
        display: none;
    }

.navbar-nav .nav-link.active {
    color: #ffc107 !important;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}


/*  Footer */
.site-footer {
    background-color: #0A1A2F;
    color: white;
    padding: 80px 20px 0;
    position: relative;
    overflow: hidden;
}

    .site-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-secondary);
    }

.footer-widget {
    margin-bottom: 40px;
}

    .footer-widget h4 {
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 15px;
    }

        .footer-widget h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-secondary);
        }

.footer-logo img {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

    .footer-widget ul li {
        margin-bottom: 12px;
    }

        .footer-widget ul li a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
        }

            .footer-widget ul li a::before {
                content: '→';
                color: var(--secondary-color);
                transition: transform 0.3s;
            }

            .footer-widget ul li a:hover {
                color: white;
                padding-left: 10px;
            }

                .footer-widget ul li a:hover::before {
                    transform: translateX(5px);
                }

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.7);
}

    .footer-contact-item i {
        color: var(--secondary-color);
        font-size: 1.2rem;
        margin-top: 3px;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;

}

    .social-links a {
        width: 45px;
        height: 45px;
        background: var(--gradient-secondary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: all 0.3s;
        border: 2px solid transparent;
    }

        .social-links a:hover {
            background: rgba(255,255,255,0.05);
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
        }

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    margin-top: 50px;
}

    .footer-bottom p {
        margin: 0;
        font-size: 0.95rem;
    }

/* Newsletter */
.newsletter-box {
/*    background: linear-gradient( to bottom right, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08) );
    border-radius: 12px;*/
    transition: all 0.3s ease;
}

    .newsletter-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .newsletter-box input {
        border-radius: 8px 0 0 8px !important;
    }

    .newsletter-box button {
        border-radius: 0 8px 8px 0 !important;
    }

/* 
   CHAT ICON (Floating Button)
 */
#chat-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #004aad;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s ease;
}

    #chat-icon:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 25px rgba(0,0,0,0.35);
    }


/* 
    CHAT WINDOW BOX
 */
#chatbox {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    height: 500px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

/* window animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}


/* 
    HEADER
 */
#chatbox-header {
    background: #004aad;
    color: white;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}


/* 
    MESSAGE AREA
 */
#chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f7f9fc;
    scrollbar-width: thin;
}

    #chat-messages::-webkit-scrollbar {
        width: 6px;
    }

    #chat-messages::-webkit-scrollbar-thumb {
        background: #d0d0d0;
        border-radius: 10px;
    }


/* 
    USER & BOT MESSAGES
 */
.user-msg {
    background: #004aad;
    color: #fff;
    padding: 10px 14px;
    margin: 8px 0;
    max-width: 80%;
    border-radius: 18px 18px 0 18px;
    float: right;
    clear: both;
    animation: slideUser 0.2s ease;
}

.bot-msg {
    background: #e9edf3;
    color: #000;
    padding: 10px 14px;
    margin: 8px 0;
    max-width: 80%;
    border-radius: 18px 18px 18px 0;
    float: left;
    clear: both;
    animation: slideBot 0.2s ease;
}

/* animations */
@keyframes slideUser {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideBot {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/*    INPUT AREA
*/

#chat-input-area {
    padding: 10px;
    display: flex;
    border-top: 1px solid #ddd;
    background: #fff;
}

#chat-input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 14px;
}

#chat-send-btn {
    margin-left: 8px;
    padding: 0 18px;
    border: none;
    background: #004aad;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s ease;
}

    #chat-send-btn:hover {
        background: #00357c;
    }


/*
    MOBILE RESPONSIVE 
 */
@media (max-width: 480px) {
    #chatbox {
        width: 85%; 
        height: 60%;
        right: 7%;
        bottom: 90px;
        border-radius: 18px;
        transform: scale(0.9); 
    }

    #chat-icon {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    #chat-input {
        font-size: 13px;
        padding: 8px 10px;
    }

    #chat-send-btn {
        padding: 0 14px;
        font-size: 13px;
    }

    .user-msg, .bot-msg {
        font-size: 13px;
        padding: 8px 12px;
        max-width: 85%;
    }
}


/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .animate-on-scroll.animated {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive Styles */
@@media (max-width: 991px) {
    .navbar-nav {
        padding: 20px 0;
    }

        .navbar-nav .nav-link {
            margin: 10px 0;
            padding: 10px 15px;
        }

    .nav-cta {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .top-contact-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-top {
        margin-top: 10px;
    }
}

@@media (max-width: 768px) {
    .top-contact-bar {
        font-size: 12px;
        padding: 8px 0;
    }

    .contact-item {
        font-size: 12px;
    }

    .navbar-brand img {
        height: 25px;
    }

    .site-footer {
        padding: 50px 15px 0;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

        .footer-widget h4 {
            font-size: 1.25rem;
        }

    .footer-logo img {
        height: 45px;
    }

    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form input {
            width: 100%;
            min-width: 100%;
        }

        .newsletter-form button {
            width: 100%;
        }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

@@media (max-width: 576px) {
    .top-contact-bar {
        display: none;
    }

    .navbar {
        padding: 5px 0;
    }

    .footer-widget h4::after {
        width: 30px;
    }

    .social-links {
        justify-content: flex-start;
    }

        .social-links a {
            width: 40px;
            height: 40px;
        }
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .page-loader .loader {
        width: 60px;
        height: 60px;
        border: 6px solid #f3f3f3;
        border-top: 6px solid #f59f00; /* Yellow */
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
