/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* Logo Styles */ 
.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
} 

.logo-container a {
    width: auto;
    height: auto;
}
 
.logo { 
    height: 60px; /* Adjust as needed */ 
    width: auto; 
} 
 
.logo-text { 
    font-size: 20px; 
    font-weight: bold; 
    color: #106fff; 
} 

/* Header and Navigation */
header {
    background-color: #fcfcfc;
    color: #106fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
}

nav ul li {
    margin-left: 20px;
    position: relative;
}

nav ul li a {
    color: #414040;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: block;
}

nav ul li a:hover {
    color: #007BFF;
}

.push-right {
    margin-left: auto;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    z-index: 1000;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #1527f8;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown i.fas.fa-chevron-down {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.dropdown:hover i.fas.fa-chevron-down {
    transform: rotate(180deg);
}

/* Mobile Navigation */
#menu-toggle {
    display: none;
    margin-left: 30px !important;
    font-size: 24px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 10px;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
    font-size: 16px;
    color: #ffffff !important;
}

.name {
    display: inline-block;
    animation: bounce 2s infinite;
}

.social-links {
    margin-top: 5px;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links a:hover .fa-instagram {
    color: #e4405f;
}

.social-links a:hover .fa-whatsapp {
    color: #25d366;
}

.social-links a:hover .fa-twitter {
    color: #1da1f2;
}

.social-links a:hover .fa-facebook {
    color: #1877f2;
}

/* Chatbot Styles */
#chatbot-container {
    position: fixed;
    bottom: -500px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transition: bottom 0.3s ease-in-out;
    z-index: 9999;
    overflow: hidden;
}

#chatbot-container.active {
    bottom: 20px;
}

#chatbot-header {
    background: linear-gradient(135deg, #106fff 0%, #0033a0 100%);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    position: relative;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chatbot-info {
    flex: 1;
}

.chatbot-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chatbot-info p {
    margin: 3px 0 0;
    font-size: 12px;
    opacity: 0.8;
}

#close-chatbot {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
}

#chatbot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f5f7fb;
}

#chatbot-input {
    display: flex;
    padding: 10px;
    background-color: white;
    border-top: 1px solid #eee;
}

#chatbot-input-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}

#chatbot-input-field:focus {
    border-color: #106fff;
}

#chatbot-send-btn {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    background-color: #106fff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s;
}

#chatbot-send-btn:hover {
    background-color: #0a5bd8;
}

#chatbot-toggle-btn {
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #106fff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 9998;
}

#chatbot-toggle-btn:hover {
    background-color: #0a5bd8;
    transform: scale(1.05);
}

.end-chat-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-top: 10px;
    background-color: #ff4757;
    border: none;
    border-radius: 15px;
    text-align: center;
    font-size: 13px;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.end-chat-btn:hover {
    background-color: #e84118;
}

/* Chat Message Styles */
.message {
    max-width: 80%;
    margin-bottom: 15px;
    position: relative;
}

.message-content {
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
    font-size: 14px;
    position: relative;
    word-wrap: break-word;
    text-align: left;
    white-space: pre-line;
}

.message-time {
    font-size: 10px;
    color: #999;
    margin-top: 3px;
    text-align: right;
    padding-right: 5px;
}

.bot-message {
    align-self: flex-start;
    margin-right: auto;
    text-align: left;
}

.bot-message .message-content {
    background-color: #e6e9f0;
    color: #333;
    border-top-left-radius: 5px;
}

.user-message {
    align-self: flex-end;
    margin-left: auto;
    text-align: right;
}

.user-message .message-content {
    background-color: #106fff;
    color: white;
    border-top-right-radius: 5px;
}

.quick-questions {
    margin: 10px 0;
    text-align: left;
}

.quick-questions p {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.quick-question-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 5px;
    background-color: #e6e9f0;
    border: none;
    border-radius: 15px;
    text-align: left;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quick-question-btn:hover {
    background-color: #d6d9e0;
}

/* Call Button Styles */
#callback-btn.left-call-button {
    position: fixed;
    bottom: 10px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #073e5c;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 2px 7px 10px rgb(255 255 255 / 20%);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#callback-btn.left-call-button:hover {
    background: #0a5bd8;
    transform: scale(1.1);
}

#callback-btn.left-call-button .fa-phone-volume {
    transform: rotate(-45deg);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    background-color: #073e5c;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
    transform: translateY(10px);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


.btn:hover::after {
    left: 100%;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 10px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 7px 10px rgb(255 255 255 / 20%);
    z-index: 9999;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}


.whatsapp-btn i {
    font-size: 28px;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes typing {
    0% {
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    padding: 10px 15px;
    background-color: #e6e9f0;
    border-radius: 18px;
    width: fit-content;
    margin-bottom: 15px;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    background-color: #666;
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    opacity: 0.4;
}

.typing-indicator span:nth-child(1) {
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation: typing 1s infinite 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation: typing 1s infinite 0.4s;
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #ff4757;
    border-radius: 50%;
    border: 2px solid white;
    display: none;
}

.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 998;
}
.overlay.active {
  display: block;
}
nav.active {
  z-index: 999;
  /* Add your mobile nav styles here */
}
body.no-scroll {
  overflow: hidden;
}


/* Responsive Design */
@media (max-width: 992px) {
    nav ul li {
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    #menu-toggle {
        display: block;
    }

    nav ul li.push-right {
        margin-left: 0 !important;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        padding: 10px 20px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
    }

    #chatbot-container {
        width: 90%;
        right: 5%;
    }
}

@media (max-width: 576px) {
    header {
        padding: 10px 15px;
    }

    header .logo {
        font-size: 20px;
        margin-right: 80px;
    }

    .chatbot-info h3 {
        font-size: 14px;
        color: #fff;
        font-weight: bold;
    }

    .chatbot-info p {
        font-size: 12px;
        color: #fff;
    }

    #chatbot-container {
        width: 75%;
        height: 60%;
        bottom: -100%;
        right: 0;
        border-radius: 0;
    }
    
    #chatbot-container.active {
        bottom: 0;
    }

    #chatbot-header {
        padding: 10px;
    }

    #close-chatbot {
        margin: 0px;
    }

    .chatbot-avatar {
        width: 40px;
        height: 40px;
        margin:0;
        font-size: x-large;
    }
    
    #chatbot-toggle-btn, #callback-btn.left-call-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
    }

    #chatbot-toggle-btn {
        right: 15px;
    }

    .message-content {
        padding: 8px 12px;
        font-size: 12px;
    }

    footer {
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
  #home-alert-container {
    right: 0;
    left: 0;
    font-size: smaller;
    max-width: 70%;
    margin: 0 auto;
  }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

